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.005893/0.005893, 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.001221/0.001221, 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.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 4.512 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.001131/0.001131, allocations: 57.12 kB / 326.5 MB, free: 14.55 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1063, allocations: 46.63 MB / 373.2 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006053/0.1124, allocations: 4.929 MB / 378.1 MB, free: 12.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003385/0.1158, allocations: 1.325 MB / 379.4 MB, free: 11.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.1162, allocations: 8 kB / 379.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005113/0.1168, allocations: 166.5 kB / 379.6 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007147/0.1175, allocations: 337.2 kB / 379.9 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004485/0.118, allocations: 227.6 kB / 380.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001164/0.1191, allocations: 1.153 MB / 381.3 MB, free: 9.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004534/0.1196, allocations: 329.9 kB / 381.6 MB, free: 8.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004309/0.12, allocations: 450.4 kB / 382.1 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000547/0.1206, allocations: 0.5057 MB / 382.6 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.1207, allocations: 104 kB / 382.7 MB, free: 7.859 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001601/0.1209, allocations: 104 kB / 382.8 MB, free: 7.758 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.1211, allocations: 211.3 kB / 383 MB, free: 7.551 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004902/0.1216, allocations: 0.5133 MB / 383.5 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1227, allocations: 1.18 MB / 384.7 MB, free: 5.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1227, allocations: 4 kB / 384.7 MB, free: 5.848 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1227, allocations: 4 kB / 384.7 MB, free: 5.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.1227, allocations: 0 / 384.7 MB, free: 5.844 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.00218/0.1249, allocations: 1.302 MB / 386 MB, free: 4.473 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.125, allocations: 12.03 kB / 386 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.1252, allocations: 111.7 kB / 386.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008187/0.126, allocations: 0.5514 MB / 386.7 MB, free: 3.758 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/0.1262, allocations: 139 kB / 386.8 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.295e-05/0.1263, allocations: 68.22 kB / 386.9 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.1276, allocations: 0.8432 MB / 387.7 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.1277, allocations: 4 kB / 387.7 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.356e-05/0.1278, allocations: 32 kB / 387.7 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.1278, allocations: 12 kB / 387.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.129, allocations: 0.5556 MB / 388.3 MB, free: 1.988 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.0035/0.1325, allocations: 2.092 MB / 390.4 MB, free: 15.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.1344, allocations: 0.9608 MB / 391.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006755/0.135, allocations: 378.6 kB / 391.7 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.598e-05/0.1351, allocations: 16.62 kB / 391.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.1352, allocations: 51.22 kB / 391.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.024e-06/0.1352, allocations: 0 / 391.8 MB, free: 14.31 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004765/0.1399, allocations: 1.73 MB / 393.5 MB, free: 12.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003795/0.1403, allocations: 0.8234 MB / 394.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007905/0.1411, allocations: 0.6332 MB / 395 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.984e-05/0.1412, allocations: 45.7 kB / 395 MB, free: 10.78 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002777/0.1415, allocations: 337.1 kB / 395.4 MB, free: 10.44 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.1417, allocations: 252.2 kB / 395.6 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002254/0.142, allocations: 146.7 kB / 395.7 MB, free: 10.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1422, allocations: 390.6 kB / 396.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/0.1427, allocations: 245.9 kB / 396.4 MB, free: 9.41 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008042/0.1435, allocations: 0.5312 MB / 396.9 MB, free: 8.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.1447, allocations: 0.6427 MB / 397.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.1448, allocations: 0 / 397.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002448/0.1472, allocations: 1.047 MB / 398.6 MB, free: 7.023 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.314e-05/0.1473, allocations: 85.11 kB / 398.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1473, allocations: 0 / 398.7 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000755/0.1481, allocations: 243.2 kB / 398.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.1486, allocations: 123.8 kB / 399 MB, free: 6.551 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008402/0.1571, allocations: 6.931 MB / 406 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.1582, allocations: 95.28 kB / 406 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.1583, allocations: 20 kB / 406.1 MB, free: 14.95 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.0005002/0.1588, allocations: 225.7 kB / 406.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002663/0.1591, allocations: 87.05 kB / 406.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002069/0.1593, allocations: 91.34 kB / 406.5 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.1593, allocations: 11.94 kB / 406.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.1593, allocations: 0 / 406.5 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00233/0.1617, allocations: 1.182 MB / 407.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.1656, allocations: 1.863 MB / 409.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.1656, allocations: 0 / 409.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006213/0.1662, allocations: 131.8 kB / 409.6 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000564/0.1668, allocations: 198.6 kB / 409.8 MB, free: 10.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.1669, allocations: 16 kB / 409.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006456/0.1733, allocations: 5.303 MB / 415.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.1734, allocations: 3.938 kB / 415.2 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003205/0.1766, allocations: 1.316 MB / 416.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000524/0.1771, allocations: 231.9 kB / 416.7 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.1773, allocations: 24 kB / 416.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/0.178, allocations: 39.97 kB / 416.8 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.1782, allocations: 68.44 kB / 416.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.137e-05/0.1782, allocations: 16 kB / 416.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000626/0.1789, allocations: 459 kB / 417.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1789, allocations: 4 kB / 417.3 MB, free: 3.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001053/0.1799, allocations: 279.7 kB / 417.6 MB, free: 2.762 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.0002437/0.1802, allocations: 131.3 kB / 417.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002709/0.1829, allocations: 1.301 MB / 419 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/0.1829, allocations: 0 / 419 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.184, allocations: 0.6913 MB / 419.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/0.1853, allocations: 235 kB / 419.9 MB, free: 280 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003293/0.1886, allocations: 1.603 MB / 421.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.1892, allocations: 0.944 MB / 422.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.1897, allocations: 98.42 kB / 422.6 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.1899, allocations: 71.42 kB / 422.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of SimCode: time 1.052e-06/0.1899, allocations: 4 kB / 422.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of Templates: time 0.03218/0.2221, allocations: 18.07 MB / 440.7 MB, free: 11.38 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)