Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01154/0.01154, allocations: 166.1 kB / 15.11 MB, free: 5.973 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.662/1.662, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001877/0.001877, allocations: 106.7 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4029/0.4029, allocations: 38.05 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004343, allocations: 8 kB / 362.9 MB, free: 5.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1521, allocations: 48.71 MB / 411.6 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.04/6.192, allocations: 2.497 GB / 2.899 GB, free: 108.7 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002188/6.192, allocations: 86.14 kB / 2.899 GB, free: 108.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.393/8.585, allocations: 0.6205 GB / 3.519 GB, free: 34.22 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.954e-06/8.585, allocations: 2.406 kB / 3.519 GB, free: 34.22 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001993/8.586, allocations: 46.11 kB / 3.52 GB, free: 34.22 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.01235/8.598, allocations: 2.495 MB / 3.522 GB, free: 33.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/8.598, allocations: 12.05 kB / 3.522 GB, free: 33.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008568/8.607, allocations: 0.9037 MB / 3.523 GB, free: 33.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/8.609, allocations: 1.06 MB / 3.524 GB, free: 32.73 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/8.609, allocations: 105 kB / 3.524 GB, free: 32.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/8.61, allocations: 113.9 kB / 3.524 GB, free: 32.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005281/8.615, allocations: 2.27 MB / 3.526 GB, free: 32.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/8.615, allocations: 6.062 kB / 3.526 GB, free: 32.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/8.615, allocations: 54.72 kB / 3.526 GB, free: 32.28 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/8.615, allocations: 33.05 kB / 3.526 GB, free: 32.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005531/8.621, allocations: 2.146 MB / 3.528 GB, free: 32.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/8.631, allocations: 10.09 MB / 3.538 GB, free: 25.32 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004015/8.635, allocations: 1.526 MB / 3.54 GB, free: 25.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0381/8.673, allocations: 17 MB / 3.556 GB, free: 16.83 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/8.673, allocations: 50.92 kB / 3.556 GB, free: 16.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 3.297e-06/8.673, allocations: 1.469 kB / 3.556 GB, free: 16.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=80): time 0.008821/8.682, allocations: 2.538 MB / 3.559 GB, free: 16.68 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/8.682, allocations: 275.3 kB / 3.559 GB, free: 16.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/8.684, allocations: 0.84 MB / 3.56 GB, free: 16.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001679/8.684, allocations: 42.05 kB / 3.56 GB, free: 16.17 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000643/8.685, allocations: 0.6857 MB / 3.561 GB, free: 15.82 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003865/8.685, allocations: 279.7 kB / 3.561 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/8.685, allocations: 26.62 kB / 3.561 GB, free: 15.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/8.686, allocations: 355.3 kB / 3.561 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/8.687, allocations: 470.6 kB / 3.562 GB, free: 15.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/8.688, allocations: 1.061 MB / 3.563 GB, free: 14.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/8.69, allocations: 0.5871 MB / 3.563 GB, free: 14.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-05/8.69, allocations: 7.406 kB / 3.563 GB, free: 14.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.003951/8.693, allocations: 1.593 MB / 3.565 GB, free: 14.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003963/8.697, allocations: 7.322 MB / 3.572 GB, free: 22.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.869e-05/8.698, allocations: 18.84 kB / 3.572 GB, free: 22.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001055/8.698, allocations: 28.56 kB / 3.572 GB, free: 22.86 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/8.7, allocations: 396.8 kB / 3.573 GB, free: 22.86 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-05/8.7, allocations: 42.92 kB / 3.573 GB, free: 22.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/8.702, allocations: 268.8 kB / 3.573 GB, free: 22.76 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003516/8.702, allocations: 86.55 kB / 3.573 GB, free: 22.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/8.702, allocations: 3.906 kB / 3.573 GB, free: 22.76 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003363/8.706, allocations: 1.444 MB / 3.574 GB, free: 22.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.625e-05/8.706, allocations: 18.25 kB / 3.574 GB, free: 22.72 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.366e-05/8.706, allocations: 35.61 kB / 3.574 GB, free: 22.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/8.707, allocations: 386.6 kB / 3.575 GB, free: 22.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.441e-05/8.707, allocations: 40.59 kB / 3.575 GB, free: 22.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/8.709, allocations: 219.9 kB / 3.575 GB, free: 22.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/8.709, allocations: 80.44 kB / 3.575 GB, free: 22.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (167): * Single equations (assignments): 167 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001021/8.71, allocations: 407.9 kB / 3.576 GB, free: 22.45 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003912/8.71, allocations: 121 kB / 3.576 GB, free: 22.38 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006669/8.717, allocations: 5.939 MB / 3.581 GB, free: 21.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.258e-05/8.717, allocations: 87.42 kB / 3.582 GB, free: 21.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/8.717, allocations: 1.125 kB / 3.582 GB, free: 21.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/8.717, allocations: 3.703 kB / 3.582 GB, free: 21.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003496/8.721, allocations: 2.773 MB / 3.584 GB, free: 21.36 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/8.721, allocations: 0 / 3.584 GB, free: 21.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008075/8.722, allocations: 258 kB / 3.584 GB, free: 21.35 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/8.722, allocations: 7.375 kB / 3.584 GB, free: 21.35 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/8.722, allocations: 25.03 kB / 3.584 GB, free: 21.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/8.722, allocations: 3.719 kB / 3.584 GB, free: 21.35 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/8.722, allocations: 4.609 kB / 3.585 GB, free: 21.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003611/8.725, allocations: 2.833 MB / 3.587 GB, free: 20.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000989/8.726, allocations: 0.5246 MB / 3.588 GB, free: 20.61 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/8.727, allocations: 28.03 kB / 3.588 GB, free: 20.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/8.728, allocations: 132.3 kB / 3.588 GB, free: 20.58 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/8.728, allocations: 89.31 kB / 3.588 GB, free: 20.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/8.728, allocations: 37.38 kB / 3.588 GB, free: 20.58 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001629/8.73, allocations: 0.7454 MB / 3.589 GB, free: 20.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/8.73, allocations: 0 / 3.589 GB, free: 20.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009333/8.739, allocations: 1.724 MB / 3.59 GB, free: 20.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 56 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01081/8.75, allocations: 1.921 MB / 3.592 GB, free: 19.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005479/8.756, allocations: 2.609 MB / 3.595 GB, free: 19.74 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/8.756, allocations: 7.719 kB / 3.595 GB, free: 19.73 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002009/8.758, allocations: 1.431 MB / 3.596 GB, free: 19.72 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/8.761, allocations: 0.5908 MB / 3.597 GB, free: 19.68 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.517/9.278, allocations: 125.2 MB / 3.719 GB, free: 57.94 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001284/9.28, allocations: 1.656 MB / 3.721 GB, free: 57.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003686/9.283, allocations: 1.959 MB / 3.723 GB, free: 57.18 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/9.284, allocations: 128.4 kB / 3.723 GB, free: 57.18 MB / 490.7 MB Notification: Performance of SimCode: time 1.793e-06/9.284, allocations: 3.844 kB / 3.723 GB, free: 57.18 MB / 490.7 MB Notification: Performance of Templates: time 0.08607/9.37, allocations: 55.62 MB / 3.777 GB, free: 54.6 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients.pipe 2>&1)