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.001182/0.001182, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.191/1.191, allocations: 194.5 MB / 211.6 MB, free: 3.07 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.001605/0.001605, allocations: 109.8 kB / 256.9 MB, free: 4.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003002, allocations: 16 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08362, allocations: 44.49 MB / 355 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.738/4.822, allocations: 2.625 GB / 2.971 GB, free: 110.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/4.822, allocations: 90.09 kB / 2.972 GB, free: 110.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.032/6.854, allocations: 0.7028 GB / 3.674 GB, free: 24.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.914e-06/6.854, allocations: 0 / 3.674 GB, free: 24.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000104/6.854, allocations: 32.94 kB / 3.674 GB, free: 24.63 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.01123/6.865, allocations: 2.856 MB / 3.677 GB, free: 23.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/6.866, allocations: 10.62 kB / 3.677 GB, free: 23.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004186/6.87, allocations: 0.5553 MB / 3.678 GB, free: 23.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/6.872, allocations: 0.9775 MB / 3.679 GB, free: 22.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/6.872, allocations: 191.7 kB / 3.679 GB, free: 22.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001853/6.872, allocations: 114.6 kB / 3.679 GB, free: 22.66 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/6.876, allocations: 2.015 MB / 3.681 GB, free: 22.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/6.876, allocations: 6.5 kB / 3.681 GB, free: 22.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/6.876, allocations: 53.91 kB / 3.681 GB, free: 22.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.227e-05/6.876, allocations: 77.72 kB / 3.681 GB, free: 22.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00289/6.879, allocations: 1.748 MB / 3.683 GB, free: 22.27 MB / 426.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.00992/6.889, allocations: 9.345 MB / 3.692 GB, free: 17.05 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002522/6.891, allocations: 1.466 MB / 3.693 GB, free: 16.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1009/6.992, allocations: 63.39 MB / 3.755 GB, free: 23.58 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002366/6.995, allocations: 1.074 MB / 3.756 GB, free: 23.01 MB / 474.7 MB Notification: Performance of pre-optimization done (n=110): time 2.715e-06/6.995, allocations: 0 / 3.756 GB, free: 23.01 MB / 474.7 MB Notification: Performance of matching and sorting (n=121): time 0.0148/7.01, allocations: 6.499 MB / 3.763 GB, free: 18.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/7.01, allocations: 301.5 kB / 3.763 GB, free: 18.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/7.011, allocations: 0.9121 MB / 3.764 GB, free: 17.73 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/7.011, allocations: 53.06 kB / 3.764 GB, free: 17.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/7.011, allocations: 0.5648 MB / 3.764 GB, free: 17.37 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/7.011, allocations: 412.8 kB / 3.765 GB, free: 17.06 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.01e-05/7.012, allocations: 29.12 kB / 3.765 GB, free: 17.06 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001537/7.012, allocations: 363.4 kB / 3.765 GB, free: 16.74 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009179/7.013, allocations: 0.6294 MB / 3.766 GB, free: 16.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009997/7.014, allocations: 1.036 MB / 3.767 GB, free: 15.61 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009586/7.015, allocations: 0.731 MB / 3.767 GB, free: 15.23 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/7.015, allocations: 8 kB / 3.767 GB, free: 15.22 MB / 474.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.003043/7.018, allocations: 2.142 MB / 3.77 GB, free: 13.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001327/7.019, allocations: 4.365 MB / 3.774 GB, free: 9.316 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/7.019, allocations: 12 kB / 3.774 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006468/7.026, allocations: 0.9899 MB / 3.775 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/7.027, allocations: 296.5 kB / 3.775 GB, free: 8.352 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/7.03, allocations: 4.038 MB / 3.779 GB, free: 4.348 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/7.032, allocations: 116.2 kB / 3.779 GB, free: 4.254 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/7.032, allocations: 78.38 kB / 3.779 GB, free: 4.184 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/7.032, allocations: 8 kB / 3.779 GB, free: 4.176 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003166/7.035, allocations: 1.813 MB / 3.781 GB, free: 2.566 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/7.035, allocations: 12 kB / 3.781 GB, free: 2.555 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005827/7.041, allocations: 0.7426 MB / 3.782 GB, free: 1.992 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/7.042, allocations: 315.1 kB / 3.782 GB, free: 1.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2206/7.263, allocations: 6.748 MB / 3.789 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/7.264, allocations: 127.7 kB / 3.789 GB, free: 66.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/7.264, allocations: 67.84 kB / 3.789 GB, free: 66.7 MB / 474.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.0008241/7.265, allocations: 464.3 kB / 3.789 GB, free: 66.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002136/7.265, allocations: 133.2 kB / 3.789 GB, free: 66.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00536/7.271, allocations: 4.943 MB / 3.794 GB, free: 66.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.5e-05/7.271, allocations: 48.98 kB / 3.794 GB, free: 66.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/7.271, allocations: 2.781 kB / 3.794 GB, free: 66.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/7.271, allocations: 6.469 kB / 3.794 GB, free: 66.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007338/7.278, allocations: 6.743 MB / 3.801 GB, free: 65.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/7.278, allocations: 5.219 kB / 3.801 GB, free: 65.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007143/7.279, allocations: 173.2 kB / 3.801 GB, free: 65.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004078/7.283, allocations: 1.365 MB / 3.802 GB, free: 65.62 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001183/7.283, allocations: 40.08 kB / 3.802 GB, free: 65.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002738/7.286, allocations: 4.454 MB / 3.807 GB, free: 62.5 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/7.286, allocations: 4.594 kB / 3.807 GB, free: 62.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005568/7.292, allocations: 4.924 MB / 3.812 GB, free: 61.96 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/7.293, allocations: 0.5479 MB / 3.812 GB, free: 61.76 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/7.293, allocations: 31.53 kB / 3.812 GB, free: 61.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/7.294, allocations: 99.69 kB / 3.812 GB, free: 61.76 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002436/7.294, allocations: 133.4 kB / 3.812 GB, free: 61.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-05/7.294, allocations: 44.12 kB / 3.812 GB, free: 61.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001192/7.295, allocations: 0.9819 MB / 3.813 GB, free: 61.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/7.295, allocations: 0 / 3.813 GB, free: 61.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008465/7.304, allocations: 2.102 MB / 3.815 GB, free: 61.62 MB / 474.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.01107/7.315, allocations: 2.326 MB / 3.818 GB, free: 61.39 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006968/7.322, allocations: 3.4 MB / 3.821 GB, free: 60.99 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/7.322, allocations: 3.938 kB / 3.821 GB, free: 60.99 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002519/7.325, allocations: 1.503 MB / 3.822 GB, free: 60.97 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002966/7.328, allocations: 0.6448 MB / 3.823 GB, free: 60.97 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007216/7.335, allocations: 5.204 MB / 3.828 GB, free: 58.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/7.336, allocations: 1.542 MB / 3.83 GB, free: 58.24 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002792/7.339, allocations: 1.388 MB / 3.831 GB, free: 58.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003193/7.339, allocations: 116.1 kB / 3.831 GB, free: 58.21 MB / 474.7 MB Notification: Performance of SimCode: time 9.72e-07/7.339, allocations: 0 / 3.831 GB, free: 58.21 MB / 474.7 MB Notification: Performance of Templates: time 0.08658/7.426, allocations: 68.1 MB / 3.898 GB, free: 54.65 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)