Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.008839/0.008839, allocations: 175.8 kB / 15.12 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.523/1.523, allocations: 194.5 MB / 210.3 MB, free: 8.715 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.001651/0.001651, allocations: 112.7 kB / 255.6 MB, free: 11.32 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1898/0.1898, allocations: 40.01 MB / 340.8 MB, free: 11.56 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 10.86 kB / 406.2 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1008, allocations: 54.87 MB / 461 MB, free: 3.441 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.491/6.592, allocations: 2.608 GB / 3.058 GB, free: 61.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/6.592, allocations: 88.84 kB / 3.058 GB, free: 61.69 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.883/8.476, allocations: 0.4999 GB / 3.558 GB, free: 40.76 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.294e-06/8.476, allocations: 3.812 kB / 3.558 GB, free: 40.76 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.894e-05/8.476, allocations: 28.59 kB / 3.558 GB, free: 40.76 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.007112/8.483, allocations: 2.169 MB / 3.56 GB, free: 39.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/8.483, allocations: 11.25 kB / 3.56 GB, free: 39.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005437/8.488, allocations: 0.7201 MB / 3.561 GB, free: 39.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00142/8.49, allocations: 0.8512 MB / 3.561 GB, free: 39.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.017e-05/8.49, allocations: 79.91 kB / 3.561 GB, free: 39.38 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/8.49, allocations: 90.55 kB / 3.562 GB, free: 39.38 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003607/8.494, allocations: 1.742 MB / 3.563 GB, free: 39.04 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/8.494, allocations: 2.438 kB / 3.563 GB, free: 39.04 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/8.494, allocations: 44.06 kB / 3.563 GB, free: 39.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/8.494, allocations: 22.75 kB / 3.563 GB, free: 39.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003895/8.498, allocations: 1.653 MB / 3.565 GB, free: 39.04 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006914/8.505, allocations: 7.367 MB / 3.572 GB, free: 34.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/8.508, allocations: 1.205 MB / 3.573 GB, free: 34.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03533/8.543, allocations: 17.61 MB / 3.59 GB, free: 25.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/8.543, allocations: 43.66 kB / 3.591 GB, free: 25.16 MB / 490.7 MB Notification: Performance of pre-optimization done (n=67): time 2.805e-06/8.543, allocations: 0 / 3.591 GB, free: 25.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=67): time 0.006054/8.549, allocations: 2.078 MB / 3.593 GB, free: 25.05 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/8.549, allocations: 217.6 kB / 3.593 GB, free: 24.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007301/8.55, allocations: 0.6046 MB / 3.593 GB, free: 24.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.237e-05/8.55, allocations: 34.27 kB / 3.593 GB, free: 24.63 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/8.55, allocations: 0.5326 MB / 3.594 GB, free: 24.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/8.551, allocations: 224.8 kB / 3.594 GB, free: 24.2 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/8.551, allocations: 22.78 kB / 3.594 GB, free: 24.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001292/8.551, allocations: 400.2 kB / 3.595 GB, free: 23.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007478/8.552, allocations: 378.6 kB / 3.595 GB, free: 23.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008596/8.552, allocations: 0.7764 MB / 3.596 GB, free: 23.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007826/8.553, allocations: 467.5 kB / 3.596 GB, free: 23.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/8.553, allocations: 3.344 kB / 3.596 GB, free: 23.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002115/8.555, allocations: 1.237 MB / 3.597 GB, free: 23.2 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001942/8.557, allocations: 5.056 MB / 3.602 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.338e-05/8.557, allocations: 17.88 kB / 3.602 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.323e-05/8.557, allocations: 19.66 kB / 3.602 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000956/8.558, allocations: 304 kB / 3.603 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.264e-05/8.558, allocations: 29.81 kB / 3.603 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/8.56, allocations: 172.5 kB / 3.603 GB, free: 33.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-05/8.56, allocations: 63.34 kB / 3.603 GB, free: 33.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/8.56, allocations: 4.406 kB / 3.603 GB, free: 33.84 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001978/8.562, allocations: 1.121 MB / 3.604 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/8.562, allocations: 14.25 kB / 3.604 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/8.562, allocations: 20.91 kB / 3.604 GB, free: 33.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007959/8.563, allocations: 302.7 kB / 3.604 GB, free: 33.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/8.563, allocations: 22.69 kB / 3.604 GB, free: 33.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009041/8.564, allocations: 158.9 kB / 3.604 GB, free: 33.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/8.564, allocations: 66.05 kB / 3.604 GB, free: 33.69 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.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 (127): * Single equations (assignments): 127 * 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.0005547/8.564, allocations: 349.4 kB / 3.605 GB, free: 33.48 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/8.564, allocations: 96.27 kB / 3.605 GB, free: 33.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005228/8.57, allocations: 4.642 MB / 3.609 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.317e-05/8.57, allocations: 65.92 kB / 3.609 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/8.57, allocations: 6.938 kB / 3.61 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/8.57, allocations: 3.141 kB / 3.61 GB, free: 32.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002637/8.572, allocations: 2.161 MB / 3.612 GB, free: 32.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/8.572, allocations: 3.75 kB / 3.612 GB, free: 32.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006969/8.573, allocations: 222 kB / 3.612 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/8.573, allocations: 3.875 kB / 3.612 GB, free: 32.54 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/8.573, allocations: 21.89 kB / 3.612 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/8.573, allocations: 7.906 kB / 3.612 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/8.573, allocations: 0 / 3.612 GB, free: 32.53 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002975/8.576, allocations: 2.279 MB / 3.614 GB, free: 32.14 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006218/8.577, allocations: 454.2 kB / 3.615 GB, free: 31.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/8.577, allocations: 17.47 kB / 3.615 GB, free: 31.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/8.577, allocations: 115.7 kB / 3.615 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/8.578, allocations: 66.48 kB / 3.615 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/8.578, allocations: 28.02 kB / 3.615 GB, free: 31.86 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007471/8.578, allocations: 0.5709 MB / 3.615 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/8.578, allocations: 2.906 kB / 3.615 GB, free: 31.75 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006313/8.585, allocations: 1.549 MB / 3.617 GB, free: 31.53 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 42 ($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,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.007808/8.593, allocations: 1.758 MB / 3.619 GB, free: 31.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003547/8.596, allocations: 2.051 MB / 3.621 GB, free: 30.97 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/8.596, allocations: 0 / 3.621 GB, free: 30.97 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001201/8.597, allocations: 1.144 MB / 3.622 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/8.6, allocations: 459.1 kB / 3.622 GB, free: 30.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4748/9.074, allocations: 126.2 MB / 3.745 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000689/9.075, allocations: 1.434 MB / 3.747 GB, free: 47.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0022/9.077, allocations: 1.474 MB / 3.748 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000225/9.078, allocations: 104.3 kB / 3.748 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.673e-06/9.078, allocations: 0 / 3.748 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.05859/9.136, allocations: 47.64 MB / 3.795 GB, free: 44.84 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1)