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.009078/0.009078, allocations: 102.7 kB / 15.73 MB, free: 6.035 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.002168/0.002168, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.51/1.51, 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.00114/0.00114, allocations: 61.56 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0996/0.1008, allocations: 46.61 MB / 373.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005752/0.1065, allocations: 4.929 MB / 378.1 MB, free: 12.37 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002279/0.1089, allocations: 1.328 MB / 379.4 MB, free: 11.03 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000288/0.1092, allocations: 15.94 kB / 379.4 MB, free: 11.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.1096, allocations: 166.5 kB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005712/0.1102, allocations: 309.3 kB / 379.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.1106, allocations: 235.6 kB / 380.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00115/0.1118, allocations: 1.16 MB / 381.3 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004407/0.1122, allocations: 333.9 kB / 381.6 MB, free: 8.809 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.1127, allocations: 442.5 kB / 382.1 MB, free: 8.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005755/0.1133, allocations: 0.498 MB / 382.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.1134, allocations: 104 kB / 382.7 MB, free: 7.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001554/0.1136, allocations: 104 kB / 382.8 MB, free: 7.672 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.1137, allocations: 219.3 kB / 383 MB, free: 7.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004621/0.1142, allocations: 0.5133 MB / 383.5 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.1153, allocations: 1.176 MB / 384.7 MB, free: 5.762 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1153, allocations: 3.938 kB / 384.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.1153, allocations: 0 / 384.7 MB, free: 5.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.295e-05/0.1153, allocations: 0 / 384.7 MB, free: 5.758 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.002255/0.1176, allocations: 1.314 MB / 386 MB, free: 4.375 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1177, allocations: 8.031 kB / 386 MB, free: 4.367 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.1178, allocations: 115.7 kB / 386.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/0.1187, allocations: 0.5474 MB / 386.6 MB, free: 3.664 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.1189, allocations: 146.9 kB / 386.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.946e-05/0.1191, allocations: 64.28 kB / 386.8 MB, free: 3.441 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.1204, allocations: 0.8433 MB / 387.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.1204, allocations: 0 / 387.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.551e-05/0.1205, allocations: 28 kB / 387.7 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/0.1205, allocations: 20 kB / 387.7 MB, free: 2.449 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.1217, allocations: 0.5517 MB / 388.3 MB, free: 1.895 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.003505/0.1252, allocations: 2.096 MB / 390.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.127, allocations: 0.9684 MB / 391.4 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006972/0.1277, allocations: 370.7 kB / 391.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.496e-05/0.1278, allocations: 8.656 kB / 391.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.1278, allocations: 51.22 kB / 391.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 3.466e-06/0.1278, allocations: 4 kB / 391.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004824/0.1327, allocations: 1.738 MB / 393.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003865/0.1331, allocations: 0.8195 MB / 394.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008348/0.1339, allocations: 0.6449 MB / 395 MB, free: 10.72 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-05/0.134, allocations: 45.7 kB / 395 MB, free: 10.67 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000274/0.1343, allocations: 325.1 kB / 395.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002172/0.1345, allocations: 256.2 kB / 395.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.1347, allocations: 146.7 kB / 395.7 MB, free: 9.941 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.135, allocations: 390.7 kB / 396.1 MB, free: 9.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005638/0.1355, allocations: 249.8 kB / 396.4 MB, free: 9.305 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00079/0.1363, allocations: 0.5195 MB / 396.9 MB, free: 8.684 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.1375, allocations: 0.6388 MB / 397.5 MB, free: 8.016 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.1375, allocations: 4 kB / 397.5 MB, free: 8.012 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002368/0.1399, allocations: 1.047 MB / 398.6 MB, free: 6.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.144e-05/0.14, allocations: 89.09 kB / 398.7 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.14, allocations: 4 kB / 398.7 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/0.1407, allocations: 231.2 kB / 398.9 MB, free: 6.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.1413, allocations: 131.8 kB / 399 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008426/0.1497, allocations: 6.923 MB / 405.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009864/0.1508, allocations: 95.28 kB / 406 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-05/0.1508, allocations: 27.98 kB / 406.1 MB, free: 14.85 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.0003728/0.1512, allocations: 213.7 kB / 406.3 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.1513, allocations: 87.06 kB / 406.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001801/0.1515, allocations: 91.34 kB / 406.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1515, allocations: 8.172 kB / 406.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.1516, allocations: 3.938 kB / 406.5 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002204/0.1538, allocations: 1.186 MB / 407.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/0.1573, allocations: 1.871 MB / 409.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1574, allocations: 0 / 409.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005844/0.158, allocations: 127.9 kB / 409.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005476/0.1585, allocations: 194.5 kB / 409.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.726e-05/0.1586, allocations: 19.98 kB / 409.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005908/0.1645, allocations: 5.303 MB / 415.1 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1645, allocations: 7.969 kB / 415.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/0.1674, allocations: 1.32 MB / 416.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004652/0.1678, allocations: 243.9 kB / 416.7 MB, free: 3.512 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.1679, allocations: 16 kB / 416.7 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006041/0.1686, allocations: 47.91 kB / 416.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/0.1687, allocations: 56.58 kB / 416.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.094e-05/0.1688, allocations: 19.98 kB / 416.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005359/0.1693, allocations: 459.1 kB / 417.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1693, allocations: 0 / 417.3 MB, free: 2.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008173/0.1702, allocations: 283.7 kB / 417.6 MB, free: 2.656 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.0001574/0.1703, allocations: 127.1 kB / 417.7 MB, free: 2.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001818/0.1721, allocations: 1.293 MB / 419 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1722, allocations: 4 kB / 419 MB, free: 1.137 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009015/0.1731, allocations: 0.691 MB / 419.7 MB, free: 416 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009138/0.174, allocations: 235.3 kB / 419.9 MB, free: 180 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002639/0.1766, allocations: 1.611 MB / 421.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.1771, allocations: 0.9323 MB / 422.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003752/0.1775, allocations: 110.4 kB / 422.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001575/0.1777, allocations: 59.44 kB / 422.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1777, allocations: 0 / 422.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of Templates: time 0.02873/0.2064, allocations: 18.64 MB / 441.3 MB, free: 10.72 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)