Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.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.007267/0.007267, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001251/0.001251, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.485/1.485, allocations: 205.1 MB / 222.6 MB, free: 4.492 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.001117/0.001117, allocations: 50.55 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09795/0.09908, allocations: 46.62 MB / 373.2 MB, free: 1.328 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.006367/0.1055, allocations: 5.184 MB / 378.4 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002639/0.1081, allocations: 1.371 MB / 379.7 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005137/0.1087, allocations: 11.94 kB / 379.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004834/0.1092, allocations: 174.5 kB / 379.9 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007086/0.1099, allocations: 345.1 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000478/0.1104, allocations: 247.6 kB / 380.5 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.1117, allocations: 1.219 MB / 381.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004487/0.1121, allocations: 354.1 kB / 382 MB, free: 8.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004854/0.1126, allocations: 470.3 kB / 382.5 MB, free: 7.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.1132, allocations: 0.5291 MB / 383 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.1133, allocations: 108 kB / 383.1 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.1135, allocations: 112 kB / 383.3 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000176/0.1137, allocations: 235.1 kB / 383.5 MB, free: 6.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005036/0.1142, allocations: 0.5444 MB / 384 MB, free: 6.406 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00112/0.1153, allocations: 1.25 MB / 385.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1153, allocations: 0 / 385.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1153, allocations: 0 / 385.3 MB, free: 5.152 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1153, allocations: 4 kB / 385.3 MB, free: 5.148 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.002386/0.1177, allocations: 1.383 MB / 386.7 MB, free: 3.695 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1178, allocations: 8.031 kB / 386.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001873/0.118, allocations: 119.7 kB / 386.8 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009827/0.119, allocations: 0.5948 MB / 387.4 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.1192, allocations: 147 kB / 387.5 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.709e-05/0.1193, allocations: 64.28 kB / 387.6 MB, free: 2.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.1207, allocations: 0.8823 MB / 388.5 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.1207, allocations: 3.984 kB / 388.5 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.795e-05/0.1208, allocations: 32 kB / 388.5 MB, free: 1.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.1208, allocations: 12 kB / 388.5 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001383/0.1222, allocations: 0.6258 MB / 389.1 MB, free: 1.051 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.003586/0.1258, allocations: 2.174 MB / 391.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.1274, allocations: 1.008 MB / 392.3 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007938/0.1282, allocations: 411.3 kB / 392.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-05/0.1283, allocations: 16.64 kB / 392.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.1284, allocations: 51.22 kB / 392.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=77): time 2.936e-06/0.1284, allocations: 3.938 kB / 392.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=77): time 0.004977/0.1334, allocations: 1.839 MB / 394.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004609/0.1339, allocations: 0.8233 MB / 395.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00093/0.1348, allocations: 0.6647 MB / 396.1 MB, free: 9.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001006/0.1349, allocations: 45.7 kB / 396.2 MB, free: 9.531 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.1352, allocations: 349 kB / 396.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002925/0.1355, allocations: 272 kB / 396.8 MB, free: 8.918 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002574/0.1358, allocations: 146.7 kB / 396.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.136, allocations: 334 kB / 397.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006365/0.1366, allocations: 277.8 kB / 397.5 MB, free: 8.164 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00091/0.1375, allocations: 0.5681 MB / 398.1 MB, free: 7.496 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.1388, allocations: 0.709 MB / 398.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.1389, allocations: 0 / 398.8 MB, free: 6.758 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002528/0.1414, allocations: 1.122 MB / 399.9 MB, free: 5.602 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.531e-05/0.1415, allocations: 81.11 kB / 400 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.1415, allocations: 4 kB / 400 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007123/0.1422, allocations: 239.2 kB / 400.2 MB, free: 5.254 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006447/0.1429, allocations: 139.8 kB / 400.4 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007776/0.1506, allocations: 6.935 MB / 407.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009634/0.1516, allocations: 107.3 kB / 407.4 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.1517, allocations: 24.19 kB / 407.4 MB, free: 13.49 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.0003717/0.1521, allocations: 233.7 kB / 407.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.1523, allocations: 98.91 kB / 407.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001771/0.1524, allocations: 92.53 kB / 407.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1525, allocations: 4 kB / 407.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1525, allocations: 4 kB / 407.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002437/0.1549, allocations: 1.268 MB / 409.1 MB, free: 11.67 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.1587, allocations: 1.982 MB / 411.1 MB, free: 9.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1587, allocations: 7.984 kB / 411.1 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007085/0.1594, allocations: 139.8 kB / 411.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005149/0.1599, allocations: 198.6 kB / 411.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.16, allocations: 19.98 kB / 411.5 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005997/0.166, allocations: 5.338 MB / 416.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.166, allocations: 0 / 416.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.1691, allocations: 1.442 MB / 418.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003495/0.1695, allocations: 243.8 kB / 418.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.949e-05/0.1696, allocations: 20 kB / 418.5 MB, free: 1.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/0.1702, allocations: 55.89 kB / 418.6 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/0.1704, allocations: 68.56 kB / 418.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.1704, allocations: 16 kB / 418.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005536/0.171, allocations: 483 kB / 419.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.171, allocations: 0 / 419.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008692/0.1719, allocations: 287.7 kB / 419.4 MB, free: 0.8633 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.000174/0.1721, allocations: 131.1 kB / 419.5 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002303/0.1744, allocations: 1.375 MB / 420.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.1744, allocations: 4 kB / 420.9 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.1758, allocations: 0.7925 MB / 421.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000957/0.1767, allocations: 246.9 kB / 421.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002928/0.1797, allocations: 1.642 MB / 423.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005634/0.1803, allocations: 0.952 MB / 424.5 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003999/0.1807, allocations: 110.7 kB / 424.6 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.1809, allocations: 67.44 kB / 424.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1809, allocations: 0 / 424.7 MB, free: 11.36 MB / 366.1 MB Notification: Performance of Templates: time 0.03389/0.2148, allocations: 18.88 MB / 443.6 MB, free: 8.441 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)