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.00109/0.00109, allocations: 169.9 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.123/1.123, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001605/0.001605, allocations: 107.4 kB / 223.2 MB, free: 4.113 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.16/0.16, allocations: 38 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.226e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07446/0.0745, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.498/4.573, allocations: 2.497 GB / 2.893 GB, free: 6.234 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002315/4.573, allocations: 83.95 kB / 2.893 GB, free: 6.152 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.141/6.714, allocations: 0.6182 GB / 3.511 GB, free: 36.97 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.483e-06/6.714, allocations: 0 / 3.511 GB, free: 36.97 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.03e-05/6.714, allocations: 40.8 kB / 3.511 GB, free: 36.96 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.008394/6.722, allocations: 2.356 MB / 3.514 GB, free: 35.82 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/6.722, allocations: 11 kB / 3.514 GB, free: 35.82 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007441/6.73, allocations: 0.9038 MB / 3.515 GB, free: 35.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002092/6.732, allocations: 1.057 MB / 3.516 GB, free: 35.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001016/6.732, allocations: 106.2 kB / 3.516 GB, free: 35.37 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001523/6.732, allocations: 115.3 kB / 3.516 GB, free: 35.37 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004632/6.737, allocations: 2.252 MB / 3.518 GB, free: 34.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/6.737, allocations: 7.188 kB / 3.518 GB, free: 34.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001376/6.737, allocations: 55.84 kB / 3.518 GB, free: 34.9 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/6.737, allocations: 30.72 kB / 3.518 GB, free: 34.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004167/6.741, allocations: 1.982 MB / 3.52 GB, free: 34.84 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008993/6.75, allocations: 10.08 MB / 3.53 GB, free: 27.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003411/6.754, allocations: 1.473 MB / 3.531 GB, free: 27.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004626/6.754, allocations: 377.5 kB / 3.532 GB, free: 27.81 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03436/6.789, allocations: 17.1 MB / 3.548 GB, free: 18.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/6.789, allocations: 44.72 kB / 3.548 GB, free: 18.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=80): time 2.965e-06/6.789, allocations: 0 / 3.548 GB, free: 18.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=80): time 0.00618/6.795, allocations: 2.221 MB / 3.551 GB, free: 18.81 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/6.795, allocations: 265 kB / 3.551 GB, free: 18.5 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009683/6.796, allocations: 0.8156 MB / 3.552 GB, free: 18.32 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.33e-05/6.796, allocations: 41.67 kB / 3.552 GB, free: 18.29 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/6.796, allocations: 0.6832 MB / 3.552 GB, free: 17.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/6.797, allocations: 279 kB / 3.553 GB, free: 17.77 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/6.797, allocations: 27.41 kB / 3.553 GB, free: 17.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 8e-05/6.797, allocations: 349.8 kB / 3.553 GB, free: 17.47 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/6.797, allocations: 341.2 kB / 3.553 GB, free: 17.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/6.798, allocations: 0.9291 MB / 3.554 GB, free: 16.56 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/6.799, allocations: 466.4 kB / 3.555 GB, free: 16.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/6.799, allocations: 7.781 kB / 3.555 GB, free: 16.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=167) (initialization): time 0.001853/6.8, allocations: 1.331 MB / 3.556 GB, free: 15.85 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00186/6.802, allocations: 7.324 MB / 3.563 GB, free: 24.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/6.802, allocations: 18 kB / 3.563 GB, free: 24.02 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.639e-05/6.802, allocations: 30.72 kB / 3.563 GB, free: 24.02 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001233/6.804, allocations: 394.5 kB / 3.564 GB, free: 23.98 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-05/6.804, allocations: 39.16 kB / 3.564 GB, free: 23.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/6.805, allocations: 264.4 kB / 3.564 GB, free: 23.86 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/6.805, allocations: 86.23 kB / 3.564 GB, free: 23.84 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/6.805, allocations: 7.906 kB / 3.564 GB, free: 23.84 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001955/6.807, allocations: 1.183 MB / 3.565 GB, free: 23.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/6.807, allocations: 18.84 kB / 3.565 GB, free: 23.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/6.808, allocations: 30.28 kB / 3.565 GB, free: 23.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/6.809, allocations: 390.4 kB / 3.565 GB, free: 23.34 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.519e-05/6.809, allocations: 40.97 kB / 3.565 GB, free: 23.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/6.81, allocations: 212.9 kB / 3.566 GB, free: 23.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.54e-05/6.81, allocations: 83.66 kB / 3.566 GB, free: 23.23 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 () * 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.000271/6.81, allocations: 202.6 kB / 3.566 GB, free: 23.05 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/6.81, allocations: 122.3 kB / 3.566 GB, free: 22.98 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004699/6.815, allocations: 5.756 MB / 3.572 GB, free: 20.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.514e-05/6.815, allocations: 82.84 kB / 3.572 GB, free: 20.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/6.815, allocations: 0 / 3.572 GB, free: 20.28 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/6.815, allocations: 7.547 kB / 3.572 GB, free: 20.28 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002509/6.818, allocations: 2.773 MB / 3.575 GB, free: 18.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/6.818, allocations: 4 kB / 3.575 GB, free: 18.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007609/6.818, allocations: 252.5 kB / 3.575 GB, free: 18.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/6.818, allocations: 9.719 kB / 3.575 GB, free: 18.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.407e-05/6.819, allocations: 23.91 kB / 3.575 GB, free: 18.87 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/6.819, allocations: 7.766 kB / 3.575 GB, free: 18.87 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/6.819, allocations: 3.312 kB / 3.575 GB, free: 18.87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/6.821, allocations: 2.62 MB / 3.577 GB, free: 17.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00064/6.822, allocations: 0.5327 MB / 3.578 GB, free: 16.67 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/6.822, allocations: 16 kB / 3.578 GB, free: 16.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007489/6.822, allocations: 126.8 kB / 3.578 GB, free: 16.55 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/6.823, allocations: 94.03 kB / 3.578 GB, free: 16.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.835e-05/6.823, allocations: 28 kB / 3.578 GB, free: 16.46 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008086/6.823, allocations: 0.7185 MB / 3.579 GB, free: 15.81 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.9e-07/6.824, allocations: 0 / 3.579 GB, free: 15.81 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006562/6.83, allocations: 1.73 MB / 3.581 GB, free: 14.11 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 () * 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.006985/6.837, allocations: 1.941 MB / 3.582 GB, free: 12.65 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.003566/6.841, allocations: 2.257 MB / 3.585 GB, free: 10.53 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/6.841, allocations: 4 kB / 3.585 GB, free: 10.52 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/6.842, allocations: 1.33 MB / 3.586 GB, free: 9.266 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/6.845, allocations: 0.576 MB / 3.586 GB, free: 8.848 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4642/7.31, allocations: 123.2 MB / 3.707 GB, free: 37.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007882/7.31, allocations: 1.657 MB / 3.708 GB, free: 36.51 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003197/7.314, allocations: 2.017 MB / 3.71 GB, free: 36.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002606/7.314, allocations: 119.8 kB / 3.711 GB, free: 36.41 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/7.314, allocations: 0 / 3.711 GB, free: 36.41 MB / 474.7 MB Notification: Performance of Templates: time 0.07588/7.39, allocations: 59.88 MB / 3.769 GB, free: 8.566 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)