Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005849/0.005849, allocations: 103.5 kB / 15.74 MB, free: 6.488 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 195.2 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.496/1.496, allocations: 205.1 MB / 222.6 MB, free: 4.492 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 57.59 kB / 326.5 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1058, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006027/0.1118, allocations: 4.933 MB / 378.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.1145, allocations: 1.325 MB / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004076/0.1149, allocations: 11.94 kB / 379.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.1155, allocations: 170.5 kB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007338/0.1162, allocations: 329.3 kB / 379.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.1168, allocations: 223.6 kB / 380.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001194/0.118, allocations: 1.16 MB / 381.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004801/0.1184, allocations: 333.9 kB / 381.6 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004884/0.1189, allocations: 446.5 kB / 382.1 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005757/0.1195, allocations: 0.4941 MB / 382.6 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.1197, allocations: 104 kB / 382.7 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.1198, allocations: 104 kB / 382.8 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001748/0.12, allocations: 223.2 kB / 383 MB, free: 7.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000447/0.1205, allocations: 0.5172 MB / 383.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.1215, allocations: 1.172 MB / 384.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1216, allocations: 0 / 384.7 MB, free: 5.742 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1216, allocations: 4 kB / 384.7 MB, free: 5.738 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.1216, allocations: 0 / 384.7 MB, free: 5.738 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002317/0.1239, allocations: 1.31 MB / 386 MB, free: 4.359 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.124, allocations: 12.03 kB / 386 MB, free: 4.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001845/0.1242, allocations: 107.7 kB / 386.1 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008524/0.125, allocations: 0.5591 MB / 386.7 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/0.1252, allocations: 139 kB / 386.8 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.1253, allocations: 64.22 kB / 386.9 MB, free: 3.426 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.1268, allocations: 0.8394 MB / 387.7 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.402e-05/0.1268, allocations: 8 kB / 387.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.59e-05/0.1269, allocations: 28 kB / 387.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.1269, allocations: 12 kB / 387.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.1281, allocations: 0.5594 MB / 388.3 MB, free: 1.875 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003429/0.1315, allocations: 2.088 MB / 390.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.1334, allocations: 0.9684 MB / 391.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000666/0.134, allocations: 374.7 kB / 391.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-05/0.1341, allocations: 12.64 kB / 391.7 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.1342, allocations: 51.22 kB / 391.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.655e-06/0.1342, allocations: 0 / 391.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004502/0.1387, allocations: 1.738 MB / 393.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004641/0.1392, allocations: 0.8195 MB / 394.3 MB, free: 11.36 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008041/0.14, allocations: 0.641 MB / 395 MB, free: 10.71 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.518e-05/0.1401, allocations: 41.7 kB / 395 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002644/0.1403, allocations: 333.1 kB / 395.4 MB, free: 10.33 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.1406, allocations: 256.2 kB / 395.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002498/0.1408, allocations: 146.7 kB / 395.7 MB, free: 9.926 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001849/0.141, allocations: 386.7 kB / 396.1 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005266/0.1415, allocations: 245.9 kB / 396.4 MB, free: 9.297 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/0.1423, allocations: 0.5312 MB / 396.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.1435, allocations: 0.6427 MB / 397.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.1435, allocations: 0 / 397.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002394/0.1459, allocations: 1.051 MB / 398.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.081e-05/0.146, allocations: 86.19 kB / 398.7 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.146, allocations: 0 / 398.7 MB, free: 6.805 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007456/0.1468, allocations: 235.3 kB / 398.9 MB, free: 6.562 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.1474, allocations: 127.8 kB / 399 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007997/0.1554, allocations: 6.931 MB / 406 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/0.1563, allocations: 91.28 kB / 406 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.971e-05/0.1564, allocations: 27.98 kB / 406.1 MB, free: 14.83 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004435/0.1568, allocations: 221.7 kB / 406.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.1571, allocations: 83.3 kB / 406.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.1573, allocations: 91.34 kB / 406.5 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.1573, allocations: 19.91 kB / 406.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.1573, allocations: 0 / 406.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002231/0.1595, allocations: 1.178 MB / 407.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003559/0.1631, allocations: 1.863 MB / 409.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.1631, allocations: 0 / 409.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.1638, allocations: 127.9 kB / 409.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005454/0.1643, allocations: 198.4 kB / 409.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-05/0.1644, allocations: 19.98 kB / 409.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00623/0.1706, allocations: 5.307 MB / 415.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1707, allocations: 3.938 kB / 415.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/0.1738, allocations: 1.316 MB / 416.5 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005645/0.1744, allocations: 239.9 kB / 416.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002081/0.1746, allocations: 20 kB / 416.7 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007184/0.1753, allocations: 39.97 kB / 416.8 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.1756, allocations: 60.52 kB / 416.8 MB, free: 3.383 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.892e-05/0.1756, allocations: 19.98 kB / 416.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007248/0.1763, allocations: 459.1 kB / 417.3 MB, free: 2.922 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1764, allocations: 3.938 kB / 417.3 MB, free: 2.918 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001294/0.1777, allocations: 283.7 kB / 417.6 MB, free: 2.641 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002429/0.1779, allocations: 127.2 kB / 417.7 MB, free: 2.508 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002521/0.1804, allocations: 1.293 MB / 419 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.1805, allocations: 0 / 419 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.1815, allocations: 0.6951 MB / 419.7 MB, free: 400 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.1826, allocations: 231.2 kB / 419.9 MB, free: 168 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.1859, allocations: 1.603 MB / 421.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.1865, allocations: 0.9401 MB / 422.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004546/0.187, allocations: 102.4 kB / 422.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001654/0.1872, allocations: 71.44 kB / 422.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1872, allocations: 0 / 422.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of Templates: time 0.03325/0.2204, allocations: 18.09 MB / 440.7 MB, free: 11.26 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)