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.001314/0.001314, allocations: 164.5 kB / 7.636 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.543/1.543, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001738/0.001738, allocations: 111.4 kB / 218 MB, free: 8.34 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.2105/0.2105, allocations: 37.98 MB / 295.1 MB, free: 9.48 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.64e-05/1.641e-05, allocations: 2.094 kB / 350 MB, free: 36.97 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1225, allocations: 48.72 MB / 398.7 MB, free: 5.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.592/6.715, allocations: 2.496 GB / 2.886 GB, free: 73.97 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002233/6.715, allocations: 79.48 kB / 2.886 GB, free: 73.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.546/9.261, allocations: 0.6125 GB / 3.498 GB, free: 35.09 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.276e-06/9.261, allocations: 0 / 3.498 GB, free: 35.09 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002737/9.261, allocations: 44.42 kB / 3.498 GB, free: 35.09 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.01056/9.272, allocations: 2.35 MB / 3.5 GB, free: 34.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/9.272, allocations: 12.31 kB / 3.5 GB, free: 34.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008073/9.28, allocations: 0.8966 MB / 3.501 GB, free: 34.45 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002972/9.283, allocations: 1.062 MB / 3.502 GB, free: 34.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/9.283, allocations: 53.66 kB / 3.502 GB, free: 34.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/9.283, allocations: 69.44 kB / 3.503 GB, free: 34.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002331/9.286, allocations: 1.204 MB / 3.504 GB, free: 34.13 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/9.288, allocations: 1.415 MB / 3.505 GB, free: 33.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.543e-05/9.288, allocations: 8.094 kB / 3.505 GB, free: 33.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000134/9.288, allocations: 5.75 kB / 3.505 GB, free: 33.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.552e-05/9.288, allocations: 29.94 kB / 3.505 GB, free: 33.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9965/10.28, allocations: 265.8 MB / 3.765 GB, free: 46.98 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009084/10.29, allocations: 346.2 kB / 3.765 GB, free: 46.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/10.29, allocations: 223.9 kB / 3.765 GB, free: 46.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05441/10.34, allocations: 15.69 MB / 3.781 GB, free: 38.71 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.472e-05/10.34, allocations: 40.44 kB / 3.781 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 4.609e-06/10.34, allocations: 0 / 3.781 GB, free: 38.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=48): time 0.009523/10.35, allocations: 1.597 MB / 3.782 GB, free: 38.61 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/10.35, allocations: 268.3 kB / 3.782 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00246/10.35, allocations: 0.8648 MB / 3.783 GB, free: 38.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/10.35, allocations: 28.48 kB / 3.783 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007985/10.35, allocations: 0.7755 MB / 3.784 GB, free: 37.77 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002869/10.35, allocations: 175.3 kB / 3.784 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001593/10.35, allocations: 3.375 kB / 3.784 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002056/10.35, allocations: 357.5 kB / 3.785 GB, free: 37.37 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008167/10.36, allocations: 313.1 kB / 3.785 GB, free: 37.37 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001095/10.36, allocations: 0.8853 MB / 3.786 GB, free: 36.62 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003128/10.36, allocations: 0.7509 MB / 3.786 GB, free: 36.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.785e-05/10.36, allocations: 3.5 kB / 3.786 GB, free: 36.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004577/10.36, allocations: 1.501 MB / 3.788 GB, free: 36.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002104/10.37, allocations: 7.319 MB / 3.795 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-05/10.37, allocations: 18.5 kB / 3.795 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.1e-05/10.37, allocations: 28.41 kB / 3.795 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/10.37, allocations: 401 kB / 3.796 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.485e-05/10.37, allocations: 34.14 kB / 3.796 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00278/10.37, allocations: 356.6 kB / 3.796 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/10.37, allocations: 84.42 kB / 3.796 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/10.37, allocations: 3.344 kB / 3.796 GB, free: 28.68 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003758/10.38, allocations: 1.244 MB / 3.797 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.994e-05/10.38, allocations: 18.31 kB / 3.797 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/10.38, allocations: 33.23 kB / 3.797 GB, free: 28.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/10.38, allocations: 390.3 kB / 3.798 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-05/10.38, allocations: 39.89 kB / 3.798 GB, free: 28.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00179/10.38, allocations: 240.4 kB / 3.798 GB, free: 28.58 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001685/10.38, allocations: 83.22 kB / 3.798 GB, free: 28.58 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 16 (SourceP4.medium.phase,SinkP4.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP1.medium.phase,SinkP1.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 () * 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.0003445/10.38, allocations: 162.3 kB / 3.798 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003857/10.38, allocations: 113.3 kB / 3.798 GB, free: 28.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/10.38, allocations: 1.823 MB / 3.8 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/10.38, allocations: 10.61 kB / 3.8 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/10.38, allocations: 0 / 3.8 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/10.38, allocations: 3.562 kB / 3.8 GB, free: 28.05 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002557/10.38, allocations: 1.358 MB / 3.801 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/10.38, allocations: 0 / 3.801 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003045/10.38, allocations: 91.12 kB / 3.801 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/10.38, allocations: 3.719 kB / 3.801 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/10.38, allocations: 4 kB / 3.801 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.476e-06/10.38, allocations: 10.08 kB / 3.801 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/10.38, allocations: 1.594 kB / 3.801 GB, free: 27.79 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/10.39, allocations: 0.701 MB / 3.802 GB, free: 27.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/10.39, allocations: 0.6033 MB / 3.803 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004375/10.39, allocations: 3.844 kB / 3.803 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/10.39, allocations: 89.91 kB / 3.803 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.956e-05/10.39, allocations: 28.83 kB / 3.803 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/10.39, allocations: 16.98 kB / 3.803 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002423/10.39, allocations: 1.436 MB / 3.804 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.61e-07/10.39, allocations: 0 / 3.804 GB, free: 27.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01058/10.4, allocations: 1.746 MB / 3.806 GB, free: 27.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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 Backend phase and start with SimCode phase: time 0.01141/10.41, allocations: 2.112 MB / 3.808 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002995/10.42, allocations: 1.278 MB / 3.809 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/10.42, allocations: 4.094 kB / 3.809 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003395/10.42, allocations: 160.8 kB / 3.809 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/10.42, allocations: 471.3 kB / 3.81 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004329/10.42, allocations: 1.712 MB / 3.812 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/10.43, allocations: 1.359 MB / 3.813 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004044/10.43, allocations: 2.511 MB / 3.815 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/10.43, allocations: 100.2 kB / 3.815 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.683e-06/10.43, allocations: 0 / 3.815 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of Templates: time 0.4438/10.87, allocations: 43.64 MB / 3.858 GB, free: 95.26 MB / 0.5105 GB 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)