Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem") translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007636/0.007636, allocations: 165.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.432/1.432, allocations: 170.8 MB / 186.6 MB, free: 1.141 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001566/0.001566, allocations: 106.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003198, allocations: 8 kB / 274.1 MB, free: 10.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2366/0.2369, allocations: 38.77 MB / 312.9 MB, free: 38.72 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.183/6.42, allocations: 2.515 GB / 2.821 GB, free: 61.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/6.42, allocations: 89.84 kB / 2.821 GB, free: 61.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.552/8.972, allocations: 0.685 GB / 3.506 GB, free: 29.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.725e-06/8.972, allocations: 0 / 3.506 GB, free: 29.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.846e-05/8.973, allocations: 40.72 kB / 3.506 GB, free: 29.66 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 307 * Number of variables: 307 Notification: Performance of Generate backend data structure: time 0.01094/8.983, allocations: 2.778 MB / 3.508 GB, free: 28.33 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/8.984, allocations: 11.08 kB / 3.508 GB, free: 28.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004424/8.988, allocations: 0.5209 MB / 3.509 GB, free: 28.25 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002757/8.991, allocations: 0.9793 MB / 3.51 GB, free: 27.93 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/8.991, allocations: 185.7 kB / 3.51 GB, free: 27.83 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002209/8.991, allocations: 120 kB / 3.51 GB, free: 27.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003993/8.995, allocations: 2.01 MB / 3.512 GB, free: 27.46 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.78e-05/8.995, allocations: 4.781 kB / 3.512 GB, free: 27.46 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001578/8.995, allocations: 49.53 kB / 3.512 GB, free: 27.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.403e-05/8.995, allocations: 82.41 kB / 3.512 GB, free: 27.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003331/8.999, allocations: 1.742 MB / 3.514 GB, free: 27.44 MB / 394.7 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.01339/9.012, allocations: 9.344 MB / 3.523 GB, free: 22.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/9.015, allocations: 1.48 MB / 3.525 GB, free: 22.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1167/9.132, allocations: 63.32 MB / 3.586 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00336/9.135, allocations: 1.074 MB / 3.587 GB, free: 13.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=110): time 8.666e-06/9.135, allocations: 0.8438 kB / 3.587 GB, free: 13.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=121): time 0.01973/9.155, allocations: 6.506 MB / 3.594 GB, free: 12.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002037/9.155, allocations: 298.1 kB / 3.594 GB, free: 12.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/9.157, allocations: 0.9152 MB / 3.595 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/9.157, allocations: 52.45 kB / 3.595 GB, free: 11.84 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005429/9.158, allocations: 0.5675 MB / 3.596 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004369/9.158, allocations: 417.7 kB / 3.596 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/9.158, allocations: 29.69 kB / 3.596 GB, free: 11.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/9.158, allocations: 367.2 kB / 3.596 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/9.16, allocations: 0.6283 MB / 3.597 GB, free: 11.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001372/9.161, allocations: 1.03 MB / 3.598 GB, free: 10.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/9.162, allocations: 0.7384 MB / 3.599 GB, free: 10.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.835e-05/9.162, allocations: 7.469 kB / 3.599 GB, free: 10.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.004065/9.166, allocations: 2.129 MB / 3.601 GB, free: 10.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001657/9.168, allocations: 4.363 MB / 3.605 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.004e-05/9.168, allocations: 11.5 kB / 3.605 GB, free: 5.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006751/9.175, allocations: 0.9987 MB / 3.606 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/9.176, allocations: 291.7 kB / 3.606 GB, free: 5.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2963/9.473, allocations: 4.026 MB / 3.61 GB, free: 59.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/9.475, allocations: 127 kB / 3.61 GB, free: 59.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000438/9.476, allocations: 77.75 kB / 3.61 GB, free: 59.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/9.476, allocations: 3.156 kB / 3.61 GB, free: 59.1 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00419/9.48, allocations: 1.813 MB / 3.612 GB, free: 59.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/9.48, allocations: 17.88 kB / 3.612 GB, free: 59.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005942/9.486, allocations: 0.7436 MB / 3.613 GB, free: 59.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/9.488, allocations: 313.6 kB / 3.613 GB, free: 59.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005573/9.493, allocations: 6.76 MB / 3.62 GB, free: 54.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/9.495, allocations: 124.5 kB / 3.62 GB, free: 54.01 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/9.495, allocations: 69.23 kB / 3.62 GB, free: 54.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 24 (pipe.flowModel.states[2].phase,pipe.flowModel.states[1].phase,$whenCondition2,$whenCondition1,reservoir.regularFlow[1],reservoir.regularFlow[2],reservoir.regularFlow[3],reservoir.inFlow[1],reservoir.inFlow[2],reservoir.inFlow[3],$PRE.controller.y,controller.y,PumpRPMGenerator.endValue,PumpRPMGenerator.rate,PumpRPMGenerator.T,sink.state.phase,sink.medium.phase,userValve.state_b.phase,userValve.state_a.phase,reservoir.medium.phase,pumps.medium.phase,pumps.monitoring.state_in.phase,source.state.phase,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 1,1 6,2 7,1 1,2 3,2 1} Notification: Performance of prepare postOptimizeDAE: time 0.00114/9.496, allocations: 455.9 kB / 3.62 GB, free: 53.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002723/9.497, allocations: 143.5 kB / 3.621 GB, free: 53.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006245/9.503, allocations: 4.934 MB / 3.625 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/9.503, allocations: 54.09 kB / 3.625 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/9.503, allocations: 0 / 3.625 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.715e-05/9.503, allocations: 11.05 kB / 3.625 GB, free: 53.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01044/9.513, allocations: 6.73 MB / 3.632 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.129e-05/9.513, allocations: 1.188 kB / 3.632 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008407/9.514, allocations: 177.6 kB / 3.632 GB, free: 52.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005156/9.519, allocations: 1.374 MB / 3.634 GB, free: 52.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005632/9.52, allocations: 35.78 kB / 3.634 GB, free: 52.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005125/9.525, allocations: 4.46 MB / 3.638 GB, free: 49.78 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/9.525, allocations: 2 kB / 3.638 GB, free: 49.78 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009341/9.535, allocations: 4.925 MB / 3.643 GB, free: 49.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001622/9.536, allocations: 0.5516 MB / 3.643 GB, free: 49.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005826/9.537, allocations: 31.05 kB / 3.643 GB, free: 49.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/9.539, allocations: 105.5 kB / 3.643 GB, free: 49.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/9.539, allocations: 122.8 kB / 3.644 GB, free: 49.03 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/9.539, allocations: 49.17 kB / 3.644 GB, free: 49.03 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001885/9.541, allocations: 0.9873 MB / 3.645 GB, free: 48.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 3e-07/9.541, allocations: 0 / 3.645 GB, free: 48.92 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01052/9.551, allocations: 2.08 MB / 3.647 GB, free: 48.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (pumps.medium.p,pumps.medium.T,reservoir.medium.T,reservoir.level,PT1.y) * Number of discrete variables: 36 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition2,$whenCondition1,reservoir.regularFlow[1],reservoir.regularFlow[2],reservoir.regularFlow[3],reservoir.inFlow[1],reservoir.inFlow[2],reservoir.inFlow[3],controller.y,PumpRPMGenerator.endValue,PumpRPMGenerator.rate,PumpRPMGenerator.T) * Number of discrete states: 2 (controller.y,PumpRPMGenerator.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 1,1 1,1 6,2 9,2 3,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01328/9.565, allocations: 2.322 MB / 3.649 GB, free: 48.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008813/9.574, allocations: 3.397 MB / 3.652 GB, free: 48.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/9.574, allocations: 0 / 3.652 GB, free: 48.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003454/9.577, allocations: 1.511 MB / 3.654 GB, free: 48.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004028/9.581, allocations: 0.6502 MB / 3.654 GB, free: 48.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009668/9.591, allocations: 5.204 MB / 3.659 GB, free: 46.24 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001618/9.593, allocations: 1.535 MB / 3.661 GB, free: 45.51 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003355/9.596, allocations: 1.4 MB / 3.662 GB, free: 45.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005206/9.597, allocations: 120.7 kB / 3.662 GB, free: 45.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.664e-06/9.597, allocations: 1.688 kB / 3.662 GB, free: 45.48 MB / 426.7 MB Notification: Performance of Templates: time 0.1066/9.703, allocations: 67.87 MB / 3.729 GB, free: 38.8 MB / 426.7 MB make -j1 -f Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem.makefile (rm -f Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem.pipe ; mkfifo Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem.pipe >> ../files/Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem.sim & ./Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Fluid.Examples.PumpingSystem.pipe 2>&1)