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.0009127/0.0009127, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.53/1.53, allocations: 170.7 MB / 178.7 MB, free: 15.65 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.001606/0.001606, allocations: 115.4 kB / 218 MB, free: 8.406 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.643e-05, allocations: 4 kB / 262.2 MB, free: 26.41 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07807/0.0781, allocations: 38.77 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.203/6.281, allocations: 2.514 GB / 2.808 GB, free: 26.12 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/6.281, allocations: 86.09 kB / 2.808 GB, free: 26.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.839/9.12, allocations: 0.677 GB / 3.485 GB, free: 18.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/9.12, allocations: 3.094 kB / 3.485 GB, free: 18.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001044/9.12, allocations: 37.41 kB / 3.485 GB, free: 18.91 MB / 378.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.01136/9.132, allocations: 2.629 MB / 3.488 GB, free: 17.59 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/9.132, allocations: 11.22 kB / 3.488 GB, free: 17.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004348/9.136, allocations: 0.5252 MB / 3.488 GB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00267/9.139, allocations: 0.9779 MB / 3.489 GB, free: 17.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/9.139, allocations: 143.7 kB / 3.489 GB, free: 17.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/9.139, allocations: 70.84 kB / 3.49 GB, free: 17.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002448/9.142, allocations: 1.402 MB / 3.491 GB, free: 17.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002636/9.144, allocations: 1.621 MB / 3.493 GB, free: 16.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.346e-05/9.144, allocations: 9.75 kB / 3.493 GB, free: 16.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/9.144, allocations: 3 kB / 3.493 GB, free: 16.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/9.145, allocations: 81.73 kB / 3.493 GB, free: 16.71 MB / 378.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.5709/9.715, allocations: 133.5 MB / 3.623 GB, free: 26.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002127/9.718, allocations: 1.078 MB / 3.624 GB, free: 26.46 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009634/9.719, allocations: 0.5781 MB / 3.625 GB, free: 26.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1258/9.844, allocations: 63.55 MB / 3.687 GB, free: 18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001858/9.846, allocations: 0.7338 MB / 3.687 GB, free: 17.91 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 5.43e-06/9.846, allocations: 0 / 3.687 GB, free: 17.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=107): time 0.02114/9.867, allocations: 5.764 MB / 3.693 GB, free: 17.37 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/9.868, allocations: 191.5 kB / 3.693 GB, free: 17.15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/9.869, allocations: 0.7135 MB / 3.694 GB, free: 17.02 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001997/9.87, allocations: 33.55 kB / 3.694 GB, free: 16.98 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000725/9.87, allocations: 0.6251 MB / 3.695 GB, free: 16.72 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004374/9.871, allocations: 352.6 kB / 3.695 GB, free: 16.54 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/9.871, allocations: 0 / 3.695 GB, free: 16.54 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000216/9.871, allocations: 363.2 kB / 3.695 GB, free: 16.24 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/9.872, allocations: 0.5862 MB / 3.696 GB, free: 16.23 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/9.874, allocations: 0.9803 MB / 3.697 GB, free: 15.78 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006997/9.881, allocations: 1.705 MB / 3.698 GB, free: 15.73 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.443e-05/9.881, allocations: 3.844 kB / 3.698 GB, free: 15.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01071/9.891, allocations: 3.012 MB / 3.701 GB, free: 15.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001959/9.893, allocations: 4.362 MB / 3.706 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.415e-05/9.893, allocations: 7.812 kB / 3.706 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001756/9.895, allocations: 0.7072 MB / 3.706 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/9.897, allocations: 289.8 kB / 3.707 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008033/9.905, allocations: 5.92 MB / 3.712 GB, free: 6.469 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/9.907, allocations: 99.44 kB / 3.712 GB, free: 6.457 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003559/9.907, allocations: 72.64 kB / 3.713 GB, free: 6.457 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/9.907, allocations: 3.938 kB / 3.713 GB, free: 6.457 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008179/9.915, allocations: 2.424 MB / 3.715 GB, free: 5.699 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.475e-05/9.915, allocations: 9.094 kB / 3.715 GB, free: 5.691 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/9.917, allocations: 0.5016 MB / 3.715 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00217/9.919, allocations: 308.2 kB / 3.716 GB, free: 5.148 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3539/10.27, allocations: 7.963 MB / 3.723 GB, free: 92.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/10.28, allocations: 95.92 kB / 3.724 GB, free: 92.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/10.28, allocations: 68.98 kB / 3.724 GB, free: 92.89 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.0005954/10.28, allocations: 155.5 kB / 3.724 GB, free: 92.78 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000315/10.28, allocations: 120.1 kB / 3.724 GB, free: 92.78 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007895/10.28, allocations: 4.119 MB / 3.728 GB, free: 92.49 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.046e-05/10.28, allocations: 48.05 kB / 3.728 GB, free: 92.49 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/10.28, allocations: 0 / 3.728 GB, free: 92.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.472e-05/10.28, allocations: 6.422 kB / 3.728 GB, free: 92.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009677/10.29, allocations: 5.709 MB / 3.734 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/10.29, allocations: 0 / 3.734 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006887/10.29, allocations: 149.8 kB / 3.734 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00196/10.3, allocations: 1.172 MB / 3.735 GB, free: 91.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/10.3, allocations: 19.78 kB / 3.735 GB, free: 91.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004219/10.3, allocations: 4.875 MB / 3.74 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/10.3, allocations: 2.812 kB / 3.74 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006921/10.31, allocations: 4.628 MB / 3.744 GB, free: 88.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008826/10.31, allocations: 386.3 kB / 3.745 GB, free: 88.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/10.31, allocations: 6.812 kB / 3.745 GB, free: 88.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009282/10.31, allocations: 77.48 kB / 3.745 GB, free: 88.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/10.31, allocations: 111.7 kB / 3.745 GB, free: 88.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.089e-05/10.31, allocations: 41.02 kB / 3.745 GB, free: 88.29 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006816/10.31, allocations: 0.5109 MB / 3.745 GB, free: 88.2 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/10.31, allocations: 0 / 3.745 GB, free: 88.2 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00852/10.32, allocations: 1.938 MB / 3.747 GB, free: 88.15 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pumps.medium.p,pumps.medium.T,reservoir.medium.T,reservoir.level,PT1.y) * Number of discrete variables: 32 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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 (97): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01129/10.33, allocations: 2.46 MB / 3.75 GB, free: 87.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005861/10.34, allocations: 3.319 MB / 3.753 GB, free: 87.33 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/10.34, allocations: 3.656 kB / 3.753 GB, free: 87.33 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002088/10.34, allocations: 1.289 MB / 3.754 GB, free: 87.31 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002674/10.34, allocations: 463.8 kB / 3.754 GB, free: 87.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/10.35, allocations: 3 MB / 3.757 GB, free: 86.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/10.35, allocations: 1.418 MB / 3.759 GB, free: 85.98 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0031/10.35, allocations: 1.576 MB / 3.76 GB, free: 85.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/10.35, allocations: 96.12 kB / 3.76 GB, free: 85.95 MB / 458.7 MB Notification: Performance of SimCode: time 1.513e-06/10.35, allocations: 0 / 3.76 GB, free: 85.95 MB / 458.7 MB Notification: Performance of Templates: time 0.083/10.43, allocations: 57.27 MB / 3.816 GB, free: 82.75 MB / 458.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)