Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001424/0.001424, allocations: 109.8 kB / 17.06 MB, free: 6.02 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.001405/0.001405, allocations: 191 kB / 18 MB, free: 5.105 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.444/1.444, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.001194/0.001194, allocations: 44.41 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09152/0.09273, allocations: 46.62 MB / 374.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.2189/0.3116, allocations: 5.175 MB / 379.7 MB, free: 9.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003149/0.3148, allocations: 1.378 MB / 381 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005617/0.3154, allocations: 12.41 kB / 381 MB, free: 9.629 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005552/0.3161, allocations: 177 kB / 381.2 MB, free: 9.543 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008355/0.3169, allocations: 328.8 kB / 381.5 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006513/0.3176, allocations: 241.7 kB / 381.8 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.319, allocations: 1.226 MB / 383 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005498/0.3196, allocations: 343.2 kB / 383.3 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005911/0.3202, allocations: 476.9 kB / 383.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006/0.3208, allocations: 0.5233 MB / 384.3 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000164/0.321, allocations: 108.6 kB / 384.4 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.3211, allocations: 110.7 kB / 384.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001799/0.3213, allocations: 235.8 kB / 384.8 MB, free: 8.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004817/0.3218, allocations: 0.5439 MB / 385.3 MB, free: 8.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001501/0.3233, allocations: 1.253 MB / 386.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.3233, allocations: 1.469 kB / 386.6 MB, free: 7.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3233, allocations: 4 kB / 386.6 MB, free: 7.562 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.3234, allocations: 0 / 386.6 MB, free: 7.562 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.00282/0.3262, allocations: 1.383 MB / 388 MB, free: 6.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.097e-05/0.3263, allocations: 9.438 kB / 388 MB, free: 6.621 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002512/0.3265, allocations: 112.9 kB / 388.1 MB, free: 6.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.3277, allocations: 0.5963 MB / 388.7 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.3279, allocations: 145.2 kB / 388.8 MB, free: 6.039 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.3281, allocations: 68.75 kB / 388.9 MB, free: 6.012 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.3297, allocations: 0.8909 MB / 389.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.3298, allocations: 0.6094 kB / 389.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.628e-05/0.3299, allocations: 28.34 kB / 389.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.3299, allocations: 14.28 kB / 389.8 MB, free: 5.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.3316, allocations: 0.627 MB / 390.4 MB, free: 5.246 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.003953/0.3355, allocations: 2.174 MB / 392.6 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.3373, allocations: 1 MB / 393.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009718/0.3383, allocations: 419 kB / 394 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-05/0.3384, allocations: 11.7 kB / 394 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.3385, allocations: 50.27 kB / 394.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=77): time 2.775e-06/0.3385, allocations: 1.469 kB / 394.1 MB, free: 3.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=77): time 0.005478/0.3439, allocations: 1.83 MB / 395.9 MB, free: 2.363 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.3441, allocations: 0.8312 MB / 396.8 MB, free: 1.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009978/0.3451, allocations: 0.6709 MB / 397.4 MB, free: 1.055 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.3453, allocations: 46.61 kB / 397.5 MB, free: 1.012 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002683/0.3455, allocations: 349.3 kB / 397.8 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002582/0.3458, allocations: 264.6 kB / 398.1 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.3461, allocations: 149 kB / 398.2 MB, free: 472 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3462, allocations: 330.3 kB / 398.5 MB, free: 152 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007128/0.3469, allocations: 286.7 kB / 398.8 MB, free: 52 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.348, allocations: 0.571 MB / 399.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.3495, allocations: 0.7012 MB / 400.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.3496, allocations: 1.031 kB / 400.1 MB, free: 15.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003117/0.3527, allocations: 1.122 MB / 401.2 MB, free: 14.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.09e-05/0.3528, allocations: 86.16 kB / 401.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3528, allocations: 0 / 401.3 MB, free: 14.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007936/0.3536, allocations: 238.4 kB / 401.5 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007223/0.3543, allocations: 151.6 kB / 401.7 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008448/0.3628, allocations: 6.935 MB / 408.6 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/0.3643, allocations: 103.8 kB / 408.7 MB, free: 7.973 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.69e-05/0.3644, allocations: 29.08 kB / 408.7 MB, free: 7.961 MB / 334.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.0004752/0.3648, allocations: 238.5 kB / 409 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001847/0.365, allocations: 94.59 kB / 409.1 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001859/0.3652, allocations: 100.1 kB / 409.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.3652, allocations: 7.406 kB / 409.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.303e-05/0.3653, allocations: 0 / 409.2 MB, free: 7.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002705/0.368, allocations: 1.26 MB / 410.4 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004733/0.3727, allocations: 1.991 MB / 412.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3727, allocations: 0 / 412.4 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007405/0.3735, allocations: 145.7 kB / 412.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005639/0.3741, allocations: 196.4 kB / 412.8 MB, free: 5.207 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.131e-05/0.3741, allocations: 20.77 kB / 412.8 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006313/0.3805, allocations: 5.339 MB / 418.1 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.3805, allocations: 0.875 kB / 418.1 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003656/0.3842, allocations: 1.434 MB / 419.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/0.3847, allocations: 250.4 kB / 419.8 MB, free: 15.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002187/0.385, allocations: 19.28 kB / 419.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.3858, allocations: 56.11 kB / 419.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.386, allocations: 71.17 kB / 419.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-05/0.386, allocations: 18.91 kB / 420 MB, free: 15.03 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006983/0.3867, allocations: 480.3 kB / 420.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3867, allocations: 0 / 420.4 MB, free: 14.76 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001081/0.3878, allocations: 288.2 kB / 420.7 MB, free: 14.72 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.0001965/0.388, allocations: 122.1 kB / 420.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.3905, allocations: 1.389 MB / 422.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.3905, allocations: 4 kB / 422.2 MB, free: 13.3 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001434/0.3919, allocations: 0.7809 MB / 423 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/0.3931, allocations: 240.3 kB / 423.2 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/0.3959, allocations: 1.658 MB / 424.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.3964, allocations: 0.9519 MB / 425.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004558/0.3969, allocations: 106.7 kB / 425.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/0.397, allocations: 67.42 kB / 426 MB, free: 9.418 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3971, allocations: 0 / 426 MB, free: 9.418 MB / 350.1 MB Notification: Performance of Templates: time 0.03369/0.4308, allocations: 18.87 MB / 444.9 MB, free: 6.527 MB / 366.1 MB make -j1 -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile (rm -f Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1)