Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008359/0.0008361, allocations: 92.34 kB / 16.65 MB, free: 6.535 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.0008445/0.0008445, allocations: 172.6 kB / 17.56 MB, free: 6.184 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.533/1.533, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.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.0004765/0.0004765, allocations: 12 kB / 280.7 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1077, allocations: 47.58 MB / 328.3 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005123/0.1129, allocations: 4.547 MB / 332.9 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002732/0.1156, allocations: 1.259 MB / 334.1 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003568/0.116, allocations: 11.94 kB / 334.1 MB, free: 13.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003853/0.1164, allocations: 127.1 kB / 334.2 MB, free: 13.79 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006019/0.117, allocations: 277.8 kB / 334.5 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.1174, allocations: 199.8 kB / 334.7 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1185, allocations: 1.102 MB / 335.8 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.1189, allocations: 298.5 kB / 336.1 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004291/0.1194, allocations: 398.4 kB / 336.5 MB, free: 11.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005082/0.1199, allocations: 466 kB / 337 MB, free: 11.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.12, allocations: 64 kB / 337 MB, free: 11 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001264/0.1201, allocations: 68 kB / 337.1 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.1203, allocations: 187.2 kB / 337.3 MB, free: 10.75 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.1207, allocations: 0.4916 MB / 337.8 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009183/0.1216, allocations: 1.113 MB / 338.9 MB, free: 9.137 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.1217, allocations: 4 kB / 338.9 MB, free: 9.133 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.1217, allocations: 0 / 338.9 MB, free: 9.133 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1217, allocations: 0 / 338.9 MB, free: 9.133 MB / 286.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.002088/0.1238, allocations: 1.162 MB / 340 MB, free: 7.898 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.1238, allocations: 12.03 kB / 340 MB, free: 7.887 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.124, allocations: 107.8 kB / 340.2 MB, free: 7.781 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.1247, allocations: 0.5396 MB / 340.7 MB, free: 7.199 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.125, allocations: 155 kB / 340.8 MB, free: 7.031 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.1251, allocations: 60.38 kB / 340.9 MB, free: 6.973 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.1264, allocations: 0.8511 MB / 341.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.1264, allocations: 0 / 341.8 MB, free: 6.02 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.811e-05/0.1265, allocations: 28 kB / 341.8 MB, free: 5.992 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.1265, allocations: 16 kB / 341.8 MB, free: 5.977 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001322/0.1278, allocations: 0.5829 MB / 342.4 MB, free: 5.395 MB / 286.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.003088/0.1309, allocations: 2.116 MB / 344.5 MB, free: 3.168 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001736/0.1327, allocations: 1.007 MB / 345.5 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006488/0.1334, allocations: 378.6 kB / 345.9 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-05/0.1334, allocations: 24.7 kB / 345.9 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.1335, allocations: 47.22 kB / 345.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 3.677e-06/0.1335, allocations: 112 / 345.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004852/0.1383, allocations: 1.89 MB / 347.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004262/0.1388, allocations: 0.8234 MB / 348.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008681/0.1397, allocations: 0.6449 MB / 349.3 MB, free: 13.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.451e-05/0.1397, allocations: 45.7 kB / 349.3 MB, free: 13.93 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/0.14, allocations: 321.1 kB / 349.7 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001915/0.1402, allocations: 264.1 kB / 349.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.1403, allocations: 57.69 kB / 350 MB, free: 13.29 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001747/0.1405, allocations: 386.7 kB / 350.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/0.141, allocations: 265.9 kB / 350.6 MB, free: 12.65 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008113/0.1418, allocations: 0.5351 MB / 351.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.143, allocations: 0.6661 MB / 351.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.143, allocations: 0 / 351.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002547/0.1456, allocations: 1.118 MB / 352.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.1457, allocations: 81.11 kB / 353 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.1457, allocations: 4 kB / 353 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007747/0.1465, allocations: 243.3 kB / 353.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/0.1471, allocations: 135.8 kB / 353.4 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007558/0.1547, allocations: 6.511 MB / 359.9 MB, free: 2.637 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009563/0.1557, allocations: 107.4 kB / 360 MB, free: 2.531 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.273e-05/0.1557, allocations: 28 kB / 360 MB, free: 2.504 MB / 302.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.0003729/0.1561, allocations: 205.8 kB / 360.2 MB, free: 2.293 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/0.1563, allocations: 94.91 kB / 360.3 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.1565, allocations: 91.33 kB / 360.4 MB, free: 2.105 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.477e-06/0.1565, allocations: 11.94 kB / 360.4 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.1565, allocations: 4 kB / 360.4 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002215/0.1587, allocations: 1.245 MB / 361.7 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/0.1624, allocations: 1.934 MB / 363.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.1624, allocations: 0 / 363.6 MB, free: 14.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.163, allocations: 131.9 kB / 363.7 MB, free: 14.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005915/0.1636, allocations: 214.5 kB / 363.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.1637, allocations: 15.94 kB / 364 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0061/0.1698, allocations: 4.997 MB / 369 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1698, allocations: 0 / 369 MB, free: 8.965 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.1729, allocations: 1.393 MB / 370.3 MB, free: 7.539 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.1733, allocations: 240 kB / 370.6 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.1734, allocations: 20 kB / 370.6 MB, free: 7.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006106/0.174, allocations: 51.88 kB / 370.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001721/0.1742, allocations: 64.5 kB / 370.7 MB, free: 7.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.1743, allocations: 16 kB / 370.7 MB, free: 7.137 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005828/0.1748, allocations: 459 kB / 371.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1749, allocations: 0 / 371.2 MB, free: 6.695 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008747/0.1757, allocations: 279.8 kB / 371.5 MB, free: 6.422 MB / 318.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.0001804/0.1759, allocations: 127.1 kB / 371.6 MB, free: 6.289 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002036/0.178, allocations: 1.309 MB / 372.9 MB, free: 4.891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.178, allocations: 4 kB / 372.9 MB, free: 4.887 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009134/0.1789, allocations: 0.699 MB / 373.6 MB, free: 4.152 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.1801, allocations: 231.1 kB / 373.8 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.183, allocations: 2.002 MB / 375.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.1836, allocations: 0.9361 MB / 376.8 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003966/0.184, allocations: 106.4 kB / 376.9 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.1842, allocations: 59.44 kB / 376.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1842, allocations: 0 / 376.9 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of Templates: time 0.1859/0.3701, allocations: 16.54 MB / 393.5 MB, free: 46.08 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1)