Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008572/0.008572, allocations: 101.8 kB / 15.73 MB, free: 6.031 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.001665/0.001665, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.471/1.471, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.001161/0.001161, allocations: 47.73 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0972/0.09837, allocations: 46.63 MB / 373.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006502/0.1049, allocations: 5.176 MB / 378.4 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.108, allocations: 1.375 MB / 379.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004252/0.1085, allocations: 11.94 kB / 379.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004999/0.109, allocations: 170.5 kB / 379.9 MB, free: 10.65 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007139/0.1097, allocations: 329.1 kB / 380.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005687/0.1103, allocations: 247.6 kB / 380.5 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001264/0.1116, allocations: 1.223 MB / 381.7 MB, free: 8.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005545/0.1122, allocations: 350.1 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005537/0.1127, allocations: 474.3 kB / 382.5 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.1133, allocations: 0.5252 MB / 383 MB, free: 7.516 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001515/0.1134, allocations: 108 kB / 383.1 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.1136, allocations: 112 kB / 383.2 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.1138, allocations: 235.2 kB / 383.5 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005511/0.1144, allocations: 0.5405 MB / 384 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001164/0.1155, allocations: 1.246 MB / 385.3 MB, free: 5.277 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1156, allocations: 3.938 kB / 385.3 MB, free: 5.273 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1156, allocations: 3.984 kB / 385.3 MB, free: 5.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.1156, allocations: 4 kB / 385.3 MB, free: 5.266 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002506/0.1181, allocations: 1.38 MB / 386.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.1181, allocations: 19.95 kB / 386.7 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.1183, allocations: 115.7 kB / 386.8 MB, free: 3.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.1194, allocations: 0.5871 MB / 387.4 MB, free: 3.051 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.1196, allocations: 151 kB / 387.5 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.1197, allocations: 64.28 kB / 387.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.1212, allocations: 0.8901 MB / 388.5 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.1213, allocations: 7.938 kB / 388.5 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.66e-05/0.1214, allocations: 28 kB / 388.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1214, allocations: 12 kB / 388.5 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.1229, allocations: 0.6258 MB / 389.1 MB, free: 1.16 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.003612/0.1265, allocations: 2.17 MB / 391.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.1283, allocations: 1.008 MB / 392.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008964/0.1292, allocations: 415.3 kB / 392.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.77e-05/0.1293, allocations: 16.64 kB / 392.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.321e-05/0.1294, allocations: 47.22 kB / 392.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 3.918e-06/0.1294, allocations: 0 / 392.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.005426/0.1348, allocations: 1.832 MB / 394.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006349/0.1355, allocations: 0.8311 MB / 395.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.1365, allocations: 0.6647 MB / 396.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.1367, allocations: 45.7 kB / 396.2 MB, free: 9.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.137, allocations: 353 kB / 396.5 MB, free: 9.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000264/0.1373, allocations: 268 kB / 396.8 MB, free: 9.035 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002665/0.1375, allocations: 150.7 kB / 396.9 MB, free: 8.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1377, allocations: 334 kB / 397.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007326/0.1384, allocations: 279.7 kB / 397.5 MB, free: 8.277 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.1396, allocations: 0.5624 MB / 398.1 MB, free: 7.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001468/0.141, allocations: 0.7091 MB / 398.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.1411, allocations: 0 / 398.8 MB, free: 6.875 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002964/0.144, allocations: 1.125 MB / 399.9 MB, free: 5.715 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.947e-05/0.1441, allocations: 85.11 kB / 400 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1441, allocations: 0 / 400 MB, free: 5.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000717/0.1449, allocations: 231.3 kB / 400.2 MB, free: 5.375 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006764/0.1455, allocations: 147.8 kB / 400.4 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008372/0.1539, allocations: 6.935 MB / 407.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001088/0.1551, allocations: 107.3 kB / 407.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.745e-05/0.1551, allocations: 24 kB / 407.4 MB, free: 13.61 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 (73): * Single equations (assignments): 66 * 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.0004791/0.1556, allocations: 225.8 kB / 407.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001593/0.1558, allocations: 94.91 kB / 407.7 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001915/0.156, allocations: 100.5 kB / 407.8 MB, free: 13.18 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.899e-06/0.156, allocations: 8 kB / 407.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.156, allocations: 0 / 407.8 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002663/0.1587, allocations: 1.268 MB / 409.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004035/0.1627, allocations: 1.986 MB / 411.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.1628, allocations: 0 / 411.1 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.1635, allocations: 143.8 kB / 411.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005414/0.164, allocations: 198.5 kB / 411.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.1641, allocations: 15.98 kB / 411.4 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00651/0.1706, allocations: 5.345 MB / 416.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1707, allocations: 0 / 416.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003478/0.1741, allocations: 1.434 MB / 418.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004392/0.1746, allocations: 247.8 kB / 418.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.1747, allocations: 16 kB / 418.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006711/0.1754, allocations: 59.89 kB / 418.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000161/0.1756, allocations: 60.56 kB / 418.6 MB, free: 1.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.1756, allocations: 24 kB / 418.6 MB, free: 1.727 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005555/0.1762, allocations: 475 kB / 419.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1762, allocations: 0 / 419.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008597/0.1771, allocations: 287.7 kB / 419.4 MB, free: 0.9883 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (65): * Single equations (assignments): 62 * 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.0001774/0.1772, allocations: 131.3 kB / 419.5 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002343/0.1796, allocations: 1.379 MB / 420.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1796, allocations: 4 kB / 420.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/0.181, allocations: 0.7886 MB / 421.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.1821, allocations: 242.7 kB / 421.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.1849, allocations: 1.658 MB / 423.6 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.1854, allocations: 0.952 MB / 424.5 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004288/0.1858, allocations: 106.7 kB / 424.6 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.186, allocations: 67.44 kB / 424.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.186, allocations: 0 / 424.7 MB, free: 11.47 MB / 366.1 MB Notification: Performance of Templates: time 0.03066/0.2167, allocations: 18.88 MB / 443.6 MB, free: 8.562 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)