Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem") translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001177/0.001177, allocations: 182.7 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.438/1.438, allocations: 194.3 MB / 208.4 MB, free: 6.703 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001581/0.001581, allocations: 122.3 kB / 253.5 MB, free: 9.574 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.355e-05/2.359e-05, allocations: 4 kB / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07913/0.07917, allocations: 44.51 MB / 349.4 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.762/6.841, allocations: 2.625 GB / 2.966 GB, free: 90.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/6.841, allocations: 76.97 kB / 2.966 GB, free: 90.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.119/9.961, allocations: 0.7009 GB / 3.667 GB, free: 23.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/9.961, allocations: 0 / 3.667 GB, free: 23.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001171/9.961, allocations: 38.59 kB / 3.667 GB, free: 23.16 MB / 426.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.01336/9.974, allocations: 2.71 MB / 3.669 GB, free: 20.69 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/9.974, allocations: 8.031 kB / 3.669 GB, free: 20.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004568/9.979, allocations: 0.5636 MB / 3.67 GB, free: 20.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/9.982, allocations: 0.9726 MB / 3.671 GB, free: 19.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/9.982, allocations: 191.2 kB / 3.671 GB, free: 18.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002658/9.983, allocations: 118.7 kB / 3.671 GB, free: 18.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/9.987, allocations: 2.045 MB / 3.673 GB, free: 16.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.11e-05/9.987, allocations: 7.938 kB / 3.673 GB, free: 16.67 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001742/9.987, allocations: 50.19 kB / 3.673 GB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/9.987, allocations: 90.08 kB / 3.673 GB, free: 16.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003597/9.991, allocations: 1.745 MB / 3.675 GB, free: 14.78 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01349/10, allocations: 9.344 MB / 3.684 GB, free: 4.906 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002686/10.01, allocations: 1.511 MB / 3.686 GB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008538/10.01, allocations: 0.6648 MB / 3.686 GB, free: 2.668 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5409/10.55, allocations: 63.6 MB / 3.749 GB, free: 17.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003547/10.55, allocations: 1.113 MB / 3.75 GB, free: 17.08 MB / 442.7 MB Notification: Performance of pre-optimization done (n=110): time 7.464e-06/10.55, allocations: 0 / 3.75 GB, free: 17.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.01474/10.57, allocations: 5.511 MB / 3.755 GB, free: 16.11 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/10.57, allocations: 299 kB / 3.755 GB, free: 15.77 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/10.57, allocations: 0.906 MB / 3.756 GB, free: 15.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/10.57, allocations: 48.42 kB / 3.756 GB, free: 15.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004967/10.57, allocations: 0.5646 MB / 3.757 GB, free: 15.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004419/10.57, allocations: 414 kB / 3.757 GB, free: 15.17 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.174e-05/10.57, allocations: 32.91 kB / 3.757 GB, free: 15.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/10.57, allocations: 365.1 kB / 3.758 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009905/10.57, allocations: 0.6067 MB / 3.758 GB, free: 14.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00125/10.57, allocations: 1.009 MB / 3.759 GB, free: 14.39 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/10.57, allocations: 0.717 MB / 3.76 GB, free: 14.36 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.166e-06/10.57, allocations: 3.688 kB / 3.76 GB, free: 14.36 MB / 442.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.00394/10.58, allocations: 2.115 MB / 3.762 GB, free: 14.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002253/10.58, allocations: 4.358 MB / 3.766 GB, free: 25.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/10.58, allocations: 9.812 kB / 3.766 GB, free: 25.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006597/10.59, allocations: 1.028 MB / 3.767 GB, free: 25.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/10.59, allocations: 285.9 kB / 3.767 GB, free: 25.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00563/10.59, allocations: 5.454 MB / 3.773 GB, free: 21.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/10.6, allocations: 123.2 kB / 3.773 GB, free: 21.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/10.6, allocations: 74.06 kB / 3.773 GB, free: 21.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/10.6, allocations: 3.969 kB / 3.773 GB, free: 21.05 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003387/10.6, allocations: 1.806 MB / 3.775 GB, free: 20.96 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/10.6, allocations: 12.06 kB / 3.775 GB, free: 20.96 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00587/10.61, allocations: 0.7878 MB / 3.775 GB, free: 20.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/10.61, allocations: 318.3 kB / 3.776 GB, free: 20.9 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008404/10.61, allocations: 8.087 MB / 3.784 GB, free: 14.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/10.62, allocations: 126.8 kB / 3.784 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/10.62, allocations: 68.48 kB / 3.784 GB, free: 14.48 MB / 458.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 150 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {2 1,1 6,2 7,1 1,2 3,1 2,2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0007113/10.62, allocations: 204.9 kB / 3.784 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/10.62, allocations: 135.9 kB / 3.784 GB, free: 14.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006967/10.62, allocations: 4.888 MB / 3.789 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/10.63, allocations: 53.45 kB / 3.789 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/10.63, allocations: 4.875 kB / 3.789 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/10.63, allocations: 5.625 kB / 3.789 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009583/10.63, allocations: 6.683 MB / 3.796 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/10.63, allocations: 1.203 kB / 3.796 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007553/10.64, allocations: 177.5 kB / 3.796 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00433/10.64, allocations: 1.477 MB / 3.797 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/10.64, allocations: 37.39 kB / 3.797 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004128/10.64, allocations: 4.442 MB / 3.802 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/10.64, allocations: 5.188 kB / 3.802 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007274/10.65, allocations: 4.845 MB / 3.806 GB, free: 9.516 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/10.65, allocations: 0.5518 MB / 3.807 GB, free: 9.266 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/10.65, allocations: 31.02 kB / 3.807 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/10.65, allocations: 104 kB / 3.807 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002869/10.65, allocations: 118.8 kB / 3.807 GB, free: 9.254 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/10.66, allocations: 57.89 kB / 3.807 GB, free: 9.246 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001465/10.66, allocations: 0.9716 MB / 3.808 GB, free: 9.129 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/10.66, allocations: 0 / 3.808 GB, free: 9.129 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01069/10.67, allocations: 2.097 MB / 3.81 GB, free: 9.043 MB / 458.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) * 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.01482/10.68, allocations: 2.33 MB / 3.812 GB, free: 8.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008596/10.69, allocations: 3.568 MB / 3.816 GB, free: 8.055 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/10.69, allocations: 5 kB / 3.816 GB, free: 8.055 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002879/10.69, allocations: 1.477 MB / 3.817 GB, free: 8.027 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/10.7, allocations: 0.647 MB / 3.818 GB, free: 7.984 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/10.7, allocations: 3.52 MB / 3.821 GB, free: 7.117 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001248/10.71, allocations: 1.541 MB / 3.823 GB, free: 6.355 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003262/10.71, allocations: 1.474 MB / 3.824 GB, free: 6.285 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/10.71, allocations: 107.8 kB / 3.824 GB, free: 6.277 MB / 458.7 MB Notification: Performance of SimCode: time 1.452e-06/10.71, allocations: 0 / 3.824 GB, free: 6.277 MB / 458.7 MB Notification: Performance of Templates: time 0.4957/11.21, allocations: 72.62 MB / 3.895 GB, free: 74.76 MB / 474.7 MB make -j1 -f Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem.makefile (rm -f Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem.pipe ; mkfifo Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem.pipe >> ../files/Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem.sim & ./Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Fluid.Examples.PumpingSystem.pipe 2>&1)