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.0009607/0.0009607, allocations: 183.5 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.434/1.434, allocations: 194.4 MB / 203.1 MB, free: 13.02 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.001641/0.001642, allocations: 116 kB / 248.1 MB, free: 32 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.107e-05, allocations: 11.92 kB / 298.1 MB, free: 35.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 44.5 MB / 342.6 MB, free: 6.992 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.479/6.586, allocations: 2.624 GB / 2.959 GB, free: 111.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/6.586, allocations: 81.73 kB / 2.959 GB, free: 111.1 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.722/9.308, allocations: 0.6944 GB / 3.653 GB, free: 33.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.684e-06/9.308, allocations: 0 / 3.653 GB, free: 33.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000151/9.308, allocations: 30.81 kB / 3.653 GB, free: 33.07 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.01195/9.32, allocations: 2.716 MB / 3.656 GB, free: 30.58 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/9.32, allocations: 8.031 kB / 3.656 GB, free: 30.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/9.325, allocations: 0.5677 MB / 3.656 GB, free: 30.12 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/9.328, allocations: 0.9789 MB / 3.657 GB, free: 29.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/9.328, allocations: 147.2 kB / 3.657 GB, free: 29.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005866/9.329, allocations: 64 kB / 3.657 GB, free: 29.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003115/9.332, allocations: 1.404 MB / 3.659 GB, free: 27.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003479/9.335, allocations: 1.618 MB / 3.66 GB, free: 26.18 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.645e-05/9.335, allocations: 11.84 kB / 3.66 GB, free: 26.17 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/9.336, allocations: 4 kB / 3.66 GB, free: 26.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/9.336, allocations: 82.08 kB / 3.66 GB, free: 26.08 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.5854/9.921, allocations: 133.8 MB / 3.791 GB, free: 11.06 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/9.924, allocations: 1.08 MB / 3.792 GB, free: 11.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001237/9.925, allocations: 0.5784 MB / 3.793 GB, free: 11.02 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1244/10.05, allocations: 63.61 MB / 3.855 GB, free: 18.21 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002049/10.05, allocations: 0.7361 MB / 3.856 GB, free: 17.82 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 3.737e-06/10.05, allocations: 0.8438 kB / 3.856 GB, free: 17.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107): time 0.02128/10.07, allocations: 5.772 MB / 3.861 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/10.07, allocations: 205.6 kB / 3.861 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/10.07, allocations: 0.7079 MB / 3.862 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002008/10.07, allocations: 25.7 kB / 3.862 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007608/10.08, allocations: 0.6311 MB / 3.863 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004742/10.08, allocations: 346.3 kB / 3.863 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/10.08, allocations: 1.312 kB / 3.863 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002115/10.08, allocations: 363.6 kB / 3.863 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/10.08, allocations: 0.5877 MB / 3.864 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/10.08, allocations: 0.9783 MB / 3.865 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006971/10.09, allocations: 1.699 MB / 3.867 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.015e-05/10.09, allocations: 4 kB / 3.867 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01121/10.1, allocations: 3.023 MB / 3.87 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002701/10.1, allocations: 4.354 MB / 3.874 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.437e-05/10.1, allocations: 11.95 kB / 3.874 GB, free: 4.289 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/10.1, allocations: 0.7108 MB / 3.875 GB, free: 3.859 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/10.1, allocations: 282.6 kB / 3.875 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3455/10.45, allocations: 5.959 MB / 3.881 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/10.45, allocations: 107.7 kB / 3.881 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/10.45, allocations: 72.95 kB / 3.881 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/10.45, allocations: 5.906 kB / 3.881 GB, free: 116.3 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008931/10.46, allocations: 2.423 MB / 3.883 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.585e-05/10.46, allocations: 10.5 kB / 3.883 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001358/10.46, allocations: 0.5018 MB / 3.884 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/10.46, allocations: 310.2 kB / 3.884 GB, free: 116.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008495/10.47, allocations: 7.964 MB / 3.892 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/10.47, allocations: 93.69 kB / 3.892 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/10.47, allocations: 68.17 kB / 3.892 GB, free: 110.1 MB / 0.4948 GB 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.0007887/10.47, allocations: 162.7 kB / 3.892 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/10.47, allocations: 119.9 kB / 3.892 GB, free: 110 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008133/10.48, allocations: 4.113 MB / 3.896 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/10.48, allocations: 42.16 kB / 3.896 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/10.48, allocations: 0 / 3.896 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/10.48, allocations: 14.23 kB / 3.896 GB, free: 109.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/10.49, allocations: 5.702 MB / 3.902 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/10.49, allocations: 3.953 kB / 3.902 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006958/10.5, allocations: 153.2 kB / 3.902 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00209/10.5, allocations: 1.163 MB / 3.903 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001449/10.5, allocations: 17.88 kB / 3.903 GB, free: 109.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006273/10.5, allocations: 4.889 MB / 3.908 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.191e-05/10.5, allocations: 4.969 kB / 3.908 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009164/10.51, allocations: 4.615 MB / 3.912 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/10.51, allocations: 390.3 kB / 3.913 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/10.52, allocations: 6.031 kB / 3.913 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/10.52, allocations: 82.34 kB / 3.913 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/10.52, allocations: 112.4 kB / 3.913 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/10.52, allocations: 43.67 kB / 3.913 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009329/10.52, allocations: 0.508 MB / 3.914 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/10.52, allocations: 0 / 3.914 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00996/10.53, allocations: 1.952 MB / 3.915 GB, free: 105.4 MB / 0.4948 GB 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.01239/10.54, allocations: 2.488 MB / 3.918 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007808/10.55, allocations: 3.307 MB / 3.921 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/10.55, allocations: 6.125 kB / 3.921 GB, free: 104.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003104/10.55, allocations: 1.287 MB / 3.922 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/10.55, allocations: 472.4 kB / 3.923 GB, free: 104.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007623/10.56, allocations: 2.993 MB / 3.926 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001571/10.56, allocations: 1.422 MB / 3.927 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003679/10.57, allocations: 1.569 MB / 3.929 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/10.57, allocations: 97.38 kB / 3.929 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.913e-06/10.57, allocations: 1.938 kB / 3.929 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.08716/10.65, allocations: 57.46 MB / 3.985 GB, free: 99.98 MB / 0.4948 GB 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)