Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.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.005568/0.005568, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001185/0.001185, allocations: 193.5 kB / 16.67 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.503/1.503, 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.001232/0.001232, allocations: 50.78 kB / 326.5 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1121, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006611/0.1188, allocations: 4.918 MB / 378.1 MB, free: 12.35 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002804/0.1216, allocations: 1.332 MB / 379.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.122, allocations: 11.94 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004336/0.1225, allocations: 170.5 kB / 379.6 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006326/0.1231, allocations: 329.2 kB / 379.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.1236, allocations: 227.6 kB / 380.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1248, allocations: 1.16 MB / 381.3 MB, free: 9.117 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.1253, allocations: 325.9 kB / 381.6 MB, free: 8.785 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005532/0.1259, allocations: 446.5 kB / 382.1 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005603/0.1265, allocations: 0.5019 MB / 382.6 MB, free: 7.844 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001389/0.1266, allocations: 108 kB / 382.7 MB, free: 7.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000145/0.1268, allocations: 104 kB / 382.8 MB, free: 7.637 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.1269, allocations: 215.2 kB / 383 MB, free: 7.426 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004672/0.1274, allocations: 0.5133 MB / 383.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1285, allocations: 1.18 MB / 384.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.1286, allocations: 4 kB / 384.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1286, allocations: 0 / 384.7 MB, free: 5.723 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.1286, allocations: 0 / 384.7 MB, free: 5.723 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.002188/0.1308, allocations: 1.306 MB / 386 MB, free: 4.348 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1308, allocations: 12.03 kB / 386 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001891/0.131, allocations: 107.7 kB / 386.1 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008837/0.1319, allocations: 0.5513 MB / 386.7 MB, free: 3.637 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/0.1321, allocations: 147 kB / 386.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.1323, allocations: 68.22 kB / 386.9 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.1337, allocations: 0.8394 MB / 387.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1337, allocations: 4 kB / 387.7 MB, free: 2.465 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.58e-05/0.1338, allocations: 28 kB / 387.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1338, allocations: 12 kB / 387.7 MB, free: 2.426 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001182/0.135, allocations: 0.5594 MB / 388.3 MB, free: 1.863 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.003299/0.1383, allocations: 2.096 MB / 390.4 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001778/0.1401, allocations: 0.9606 MB / 391.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006738/0.1407, allocations: 370.7 kB / 391.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.024e-05/0.1408, allocations: 12.72 kB / 391.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/0.1409, allocations: 59.19 kB / 391.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.705e-06/0.1409, allocations: 0 / 391.8 MB, free: 14.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004778/0.1457, allocations: 1.738 MB / 393.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003846/0.1461, allocations: 0.8234 MB / 394.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008175/0.1469, allocations: 0.6371 MB / 395 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.147, allocations: 41.7 kB / 395 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.1472, allocations: 329.1 kB / 395.4 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.1474, allocations: 256.2 kB / 395.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.1477, allocations: 146.7 kB / 395.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.1479, allocations: 390.7 kB / 396.1 MB, free: 9.523 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005381/0.1484, allocations: 245.9 kB / 396.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007693/0.1492, allocations: 0.5311 MB / 396.9 MB, free: 8.648 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001181/0.1504, allocations: 0.6388 MB / 397.5 MB, free: 7.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1504, allocations: 7.938 kB / 397.5 MB, free: 7.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002484/0.1529, allocations: 1.047 MB / 398.6 MB, free: 6.891 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/0.153, allocations: 81.11 kB / 398.7 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.153, allocations: 0 / 398.7 MB, free: 6.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/0.1538, allocations: 235.3 kB / 398.9 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005679/0.1543, allocations: 135.8 kB / 399 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00784/0.1622, allocations: 6.923 MB / 406 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008961/0.1631, allocations: 91.28 kB / 406 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.1632, allocations: 24 kB / 406.1 MB, free: 14.82 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.0003811/0.1636, allocations: 221.7 kB / 406.3 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001459/0.1637, allocations: 87.06 kB / 406.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001732/0.1639, allocations: 91.33 kB / 406.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.1639, allocations: 11.94 kB / 406.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1639, allocations: 0 / 406.5 MB, free: 14.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002275/0.1662, allocations: 1.182 MB / 407.7 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003467/0.1697, allocations: 1.863 MB / 409.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.1697, allocations: 3.984 kB / 409.5 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/0.1704, allocations: 123.9 kB / 409.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005731/0.171, allocations: 206.5 kB / 409.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.092e-05/0.171, allocations: 12 kB / 409.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006093/0.1771, allocations: 5.307 MB / 415.2 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.1771, allocations: 7.875 kB / 415.2 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002932/0.1801, allocations: 1.32 MB / 416.5 MB, free: 3.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000418/0.1805, allocations: 235.9 kB / 416.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.1806, allocations: 20 kB / 416.7 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006284/0.1813, allocations: 43.97 kB / 416.8 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001741/0.1815, allocations: 64.44 kB / 416.8 MB, free: 3.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-05/0.1815, allocations: 20 kB / 416.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005907/0.1821, allocations: 463 kB / 417.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.1821, allocations: 0 / 417.3 MB, free: 2.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008976/0.183, allocations: 283.6 kB / 417.6 MB, free: 2.621 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.0001785/0.1832, allocations: 127.2 kB / 417.7 MB, free: 2.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.1852, allocations: 1.297 MB / 419 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1853, allocations: 0 / 419 MB, free: 1.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009331/0.1862, allocations: 0.6871 MB / 419.7 MB, free: 384 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009858/0.1872, allocations: 231.7 kB / 419.9 MB, free: 152 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.1902, allocations: 1.603 MB / 421.5 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005909/0.1908, allocations: 0.9362 MB / 422.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004156/0.1912, allocations: 106.4 kB / 422.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001708/0.1914, allocations: 67.42 kB / 422.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1914, allocations: 0 / 422.6 MB, free: 13.37 MB / 366.1 MB Notification: Performance of Templates: time 0.02913/0.2205, allocations: 18.09 MB / 440.7 MB, free: 11.25 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)