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.001006/0.001006, allocations: 107.6 kB / 16.51 MB, free: 6.707 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.00113/0.00113, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.613/1.613, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.001454/0.001454, allocations: 52.3 kB / 279.3 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09768, allocations: 46.62 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005456/0.1032, allocations: 4.936 MB / 330.9 MB, free: 15.92 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1054, allocations: 1.329 MB / 332.2 MB, free: 14.58 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002586/0.1056, allocations: 11.94 kB / 332.2 MB, free: 14.57 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003797/0.106, allocations: 127.1 kB / 332.4 MB, free: 14.45 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004918/0.1065, allocations: 285.7 kB / 332.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.1069, allocations: 199.8 kB / 332.8 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009173/0.1078, allocations: 1.094 MB / 333.9 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003694/0.1082, allocations: 302.5 kB / 334.2 MB, free: 12.56 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.1086, allocations: 414.5 kB / 334.6 MB, free: 12.16 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004388/0.109, allocations: 489.9 kB / 335.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.1092, allocations: 72 kB / 335.2 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001508/0.1093, allocations: 72 kB / 335.2 MB, free: 11.54 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.1095, allocations: 191.3 kB / 335.4 MB, free: 11.35 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004004/0.1099, allocations: 493.6 kB / 335.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008298/0.1107, allocations: 1.141 MB / 337.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1107, allocations: 0 / 337.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.1107, allocations: 0 / 337.1 MB, free: 9.719 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.244e-05/0.1108, allocations: 0 / 337.1 MB, free: 9.719 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.002204/0.113, allocations: 1.317 MB / 338.4 MB, free: 8.328 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.113, allocations: 8.031 kB / 338.4 MB, free: 8.32 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001751/0.1132, allocations: 107.8 kB / 338.5 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007652/0.114, allocations: 0.5474 MB / 339 MB, free: 7.625 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001916/0.1142, allocations: 142.9 kB / 339.2 MB, free: 7.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.1143, allocations: 60.38 kB / 339.2 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001308/0.1156, allocations: 0.8433 MB / 340.1 MB, free: 6.465 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1156, allocations: 7.984 kB / 340.1 MB, free: 6.457 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/0.1157, allocations: 28 kB / 340.1 MB, free: 6.43 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1157, allocations: 12 kB / 340.1 MB, free: 6.418 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001194/0.1169, allocations: 0.5478 MB / 340.7 MB, free: 5.871 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.003275/0.1202, allocations: 2.123 MB / 342.8 MB, free: 3.637 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.1219, allocations: 0.9669 MB / 343.8 MB, free: 2.605 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/0.1225, allocations: 374.6 kB / 344.1 MB, free: 2.238 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.605e-05/0.1226, allocations: 12.66 kB / 344.1 MB, free: 2.223 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.1226, allocations: 43.22 kB / 344.2 MB, free: 2.172 MB / 286.1 MB Notification: Performance of pre-optimization done (n=73): time 2.074e-06/0.1227, allocations: 0 / 344.2 MB, free: 2.172 MB / 286.1 MB Notification: Performance of matching and sorting (n=73): time 0.004656/0.1273, allocations: 1.746 MB / 345.9 MB, free: 344 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005636/0.1279, allocations: 0.8289 MB / 346.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009936/0.1289, allocations: 0.6372 MB / 347.4 MB, free: 14.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.129, allocations: 41.7 kB / 347.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.1293, allocations: 333 kB / 347.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001967/0.1295, allocations: 248.3 kB / 348 MB, free: 14.04 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002413/0.1297, allocations: 150.6 kB / 348.1 MB, free: 13.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.1299, allocations: 390.7 kB / 348.5 MB, free: 13.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005121/0.1304, allocations: 249.9 kB / 348.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007687/0.1312, allocations: 0.5273 MB / 349.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001123/0.1323, allocations: 0.6271 MB / 349.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.1323, allocations: 0 / 349.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002526/0.1349, allocations: 1.051 MB / 351 MB, free: 10.88 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.384e-05/0.1349, allocations: 85.11 kB / 351.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.135, allocations: 0 / 351.1 MB, free: 10.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/0.1357, allocations: 235.3 kB / 351.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005716/0.1363, allocations: 131.7 kB / 351.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007947/0.1442, allocations: 6.37 MB / 357.8 MB, free: 3.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009533/0.1452, allocations: 103.3 kB / 357.9 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.397e-05/0.1453, allocations: 24 kB / 357.9 MB, free: 3.383 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.0004451/0.1458, allocations: 217.9 kB / 358.1 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001993/0.146, allocations: 87.06 kB / 358.2 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.1462, allocations: 91.33 kB / 358.3 MB, free: 2.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.1462, allocations: 11.94 kB / 358.3 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.1462, allocations: 0 / 358.3 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002259/0.1485, allocations: 1.186 MB / 359.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00387/0.1524, allocations: 1.864 MB / 361.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1524, allocations: 0 / 361.4 MB, free: 15.73 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006341/0.153, allocations: 132 kB / 361.5 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/0.1536, allocations: 198.6 kB / 361.7 MB, free: 15.4 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.645e-05/0.1537, allocations: 12 kB / 361.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006091/0.1597, allocations: 4.891 MB / 366.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1598, allocations: 0 / 366.6 MB, free: 10.1 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00296/0.1627, allocations: 1.311 MB / 367.9 MB, free: 8.754 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.1632, allocations: 236 kB / 368.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/0.1634, allocations: 20 kB / 368.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006871/0.1641, allocations: 43.97 kB / 368.2 MB, free: 8.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/0.1643, allocations: 68.44 kB / 368.3 MB, free: 8.375 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.14e-05/0.1643, allocations: 20 kB / 368.3 MB, free: 8.355 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005898/0.1649, allocations: 459 kB / 368.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1649, allocations: 0 / 368.7 MB, free: 7.914 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008833/0.1658, allocations: 279.7 kB / 369 MB, free: 7.641 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.0001601/0.166, allocations: 119.2 kB / 369.1 MB, free: 7.516 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001897/0.1679, allocations: 1.289 MB / 370.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1679, allocations: 128 / 370.4 MB, free: 6.137 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009397/0.1689, allocations: 0.6949 MB / 371.1 MB, free: 5.406 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.1699, allocations: 218.9 kB / 371.3 MB, free: 5.191 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.1729, allocations: 1.883 MB / 373.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.1734, allocations: 0.94 MB / 374.1 MB, free: 2.301 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004511/0.1739, allocations: 106.4 kB / 374.2 MB, free: 2.191 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001676/0.1741, allocations: 63.42 kB / 374.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1741, allocations: 0 / 374.3 MB, free: 2.129 MB / 318.1 MB Notification: Performance of Templates: time 0.1755/0.3496, allocations: 16.67 MB / 391 MB, free: 47.62 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)