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.002118/0.002118, allocations: 170.3 kB / 12.72 MB, free: 2.594 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.363/1.363, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.001726/0.001726, allocations: 110.8 kB / 223.2 MB, free: 4.051 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.164e-05, allocations: 4 kB / 268.9 MB, free: 20.93 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08674/0.08679, allocations: 38.76 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.011/6.098, allocations: 2.515 GB / 2.815 GB, free: 27.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/6.098, allocations: 83.97 kB / 2.815 GB, free: 27.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.818/8.916, allocations: 0.6831 GB / 3.499 GB, free: 19.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.443e-06/8.916, allocations: 0 / 3.499 GB, free: 19.5 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001034/8.916, allocations: 30.31 kB / 3.499 GB, free: 19.49 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.01105/8.927, allocations: 2.631 MB / 3.501 GB, free: 18.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/8.927, allocations: 11.59 kB / 3.501 GB, free: 18.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004032/8.931, allocations: 0.5253 MB / 3.502 GB, free: 18.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002432/8.934, allocations: 0.9762 MB / 3.503 GB, free: 17.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001573/8.934, allocations: 187.1 kB / 3.503 GB, free: 17.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000203/8.934, allocations: 120.5 kB / 3.503 GB, free: 17.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003644/8.938, allocations: 2.041 MB / 3.505 GB, free: 17.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.464e-05/8.938, allocations: 3.938 kB / 3.505 GB, free: 17.2 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/8.938, allocations: 58.31 kB / 3.505 GB, free: 17.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.451e-05/8.938, allocations: 80.09 kB / 3.505 GB, free: 17.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/8.941, allocations: 1.754 MB / 3.507 GB, free: 17.16 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.01141/8.953, allocations: 9.334 MB / 3.516 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002662/8.955, allocations: 1.514 MB / 3.517 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008301/8.956, allocations: 0.6706 MB / 3.518 GB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4431/9.399, allocations: 63.82 MB / 3.58 GB, free: 45.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003255/9.403, allocations: 1.113 MB / 3.581 GB, free: 45.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=110): time 3.817e-06/9.403, allocations: 0 / 3.581 GB, free: 45.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.01509/9.418, allocations: 5.516 MB / 3.587 GB, free: 44.49 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/9.418, allocations: 299.6 kB / 3.587 GB, free: 44.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/9.42, allocations: 0.9087 MB / 3.588 GB, free: 43.99 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001219/9.42, allocations: 50.89 kB / 3.588 GB, free: 43.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005216/9.42, allocations: 0.5625 MB / 3.589 GB, free: 43.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004685/9.421, allocations: 415.5 kB / 3.589 GB, free: 43.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.779e-05/9.421, allocations: 26.97 kB / 3.589 GB, free: 43.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001315/9.421, allocations: 366.4 kB / 3.589 GB, free: 43.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/9.422, allocations: 0.6023 MB / 3.59 GB, free: 43.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/9.423, allocations: 1.007 MB / 3.591 GB, free: 42.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/9.424, allocations: 0.713 MB / 3.592 GB, free: 42.78 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/9.424, allocations: 3.875 kB / 3.592 GB, free: 42.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.00365/9.428, allocations: 2.124 MB / 3.594 GB, free: 42.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001172/9.429, allocations: 4.36 MB / 3.598 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/9.429, allocations: 11.19 kB / 3.598 GB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006803/9.436, allocations: 1.03 MB / 3.599 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/9.437, allocations: 279 kB / 3.599 GB, free: 38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004643/9.442, allocations: 5.446 MB / 3.605 GB, free: 33.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002468/9.445, allocations: 127.7 kB / 3.605 GB, free: 33.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/9.445, allocations: 78.89 kB / 3.605 GB, free: 33.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/9.445, allocations: 9.828 kB / 3.605 GB, free: 33.54 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003973/9.449, allocations: 1.804 MB / 3.607 GB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/9.449, allocations: 13.73 kB / 3.607 GB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006061/9.455, allocations: 0.7895 MB / 3.607 GB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/9.456, allocations: 309.8 kB / 3.608 GB, free: 33.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006495/9.463, allocations: 8.088 MB / 3.616 GB, free: 27.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/9.465, allocations: 128.8 kB / 3.616 GB, free: 27.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/9.465, allocations: 70.52 kB / 3.616 GB, free: 27.02 MB / 410.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.000733/9.466, allocations: 203.7 kB / 3.616 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003826/9.466, allocations: 146.9 kB / 3.616 GB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006481/9.473, allocations: 4.881 MB / 3.621 GB, free: 26.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.717e-05/9.473, allocations: 44.94 kB / 3.621 GB, free: 26.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/9.473, allocations: 7.562 kB / 3.621 GB, free: 26.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.493e-05/9.473, allocations: 3.703 kB / 3.621 GB, free: 26.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009346/9.482, allocations: 6.687 MB / 3.627 GB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/9.482, allocations: 5.656 kB / 3.627 GB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008555/9.483, allocations: 174.2 kB / 3.628 GB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004712/9.488, allocations: 1.469 MB / 3.629 GB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000182/9.488, allocations: 37.97 kB / 3.629 GB, free: 25.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003599/9.492, allocations: 4.456 MB / 3.633 GB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/9.492, allocations: 1.969 kB / 3.633 GB, free: 22.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006613/9.498, allocations: 4.846 MB / 3.638 GB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001626/9.5, allocations: 0.5435 MB / 3.639 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/9.5, allocations: 32.7 kB / 3.639 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/9.501, allocations: 107.4 kB / 3.639 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/9.502, allocations: 126.1 kB / 3.639 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/9.502, allocations: 48.08 kB / 3.639 GB, free: 21.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001595/9.503, allocations: 0.9646 MB / 3.64 GB, free: 21.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.963e-06/9.503, allocations: 5.094 kB / 3.64 GB, free: 21.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01087/9.514, allocations: 2.084 MB / 3.642 GB, free: 21.62 MB / 410.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.01291/9.527, allocations: 2.324 MB / 3.644 GB, free: 21.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006863/9.534, allocations: 3.562 MB / 3.648 GB, free: 20.76 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/9.534, allocations: 0 / 3.648 GB, free: 20.76 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002495/9.537, allocations: 1.49 MB / 3.649 GB, free: 20.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003666/9.54, allocations: 0.6509 MB / 3.65 GB, free: 20.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006568/9.547, allocations: 3.507 MB / 3.653 GB, free: 19.99 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009072/9.548, allocations: 1.547 MB / 3.655 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002765/9.551, allocations: 1.483 MB / 3.656 GB, free: 19.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/9.551, allocations: 103.3 kB / 3.656 GB, free: 19.22 MB / 410.7 MB Notification: Performance of SimCode: time 9.62e-07/9.551, allocations: 0 / 3.656 GB, free: 19.22 MB / 410.7 MB Notification: Performance of Templates: time 0.398/9.949, allocations: 72.4 MB / 3.727 GB, free: 49.05 MB / 410.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)