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.002097/0.002097, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.706/1.706, allocations: 194.3 MB / 207.5 MB, free: 3.461 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.001851/0.001851, allocations: 107.5 kB / 252.6 MB, free: 4.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2369/0.2369, allocations: 39.93 MB / 337.5 MB, free: 480 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.619e-05/3.631e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 54.86 MB / 455.1 MB, free: 14.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.511/6.628, allocations: 2.607 GB / 3.052 GB, free: 125.2 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/6.629, allocations: 83.48 kB / 3.052 GB, free: 125.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.662/8.29, allocations: 0.498 GB / 3.55 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.266e-06/8.29, allocations: 0 / 3.55 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.942e-05/8.29, allocations: 35 kB / 3.55 GB, free: 11.96 MB / 0.4948 GB 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.008802/8.299, allocations: 2.047 MB / 3.552 GB, free: 9.883 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.743e-05/8.299, allocations: 8.031 kB / 3.552 GB, free: 9.875 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006533/8.306, allocations: 0.7216 MB / 3.553 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/8.308, allocations: 0.8558 MB / 3.554 GB, free: 8.285 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/8.309, allocations: 84.09 kB / 3.554 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/8.309, allocations: 87.94 kB / 3.554 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004787/8.314, allocations: 1.705 MB / 3.555 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.073e-05/8.314, allocations: 7.938 kB / 3.555 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/8.314, allocations: 40 kB / 3.555 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/8.314, allocations: 24 kB / 3.556 GB, free: 6.246 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003592/8.317, allocations: 1.487 MB / 3.557 GB, free: 4.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3575/8.675, allocations: 7.366 MB / 3.564 GB, free: 45.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/8.678, allocations: 1.111 MB / 3.565 GB, free: 45.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000414/8.678, allocations: 310.2 kB / 3.566 GB, free: 45.37 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04154/8.72, allocations: 17.71 MB / 3.583 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/8.72, allocations: 40.62 kB / 3.583 GB, free: 36.61 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=67): time 2.906e-06/8.72, allocations: 0 / 3.583 GB, free: 36.61 MB / 0.4948 GB Notification: Performance of matching and sorting (n=67): time 0.005598/8.726, allocations: 1.709 MB / 3.585 GB, free: 36.57 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.097e-05/8.726, allocations: 216.9 kB / 3.585 GB, free: 36.32 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009592/8.727, allocations: 0.6007 MB / 3.585 GB, free: 36.19 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.481e-05/8.727, allocations: 38.58 kB / 3.585 GB, free: 36.16 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/8.727, allocations: 0.5237 MB / 3.586 GB, free: 35.94 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000244/8.727, allocations: 234.4 kB / 3.586 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/8.727, allocations: 18.94 kB / 3.586 GB, free: 35.82 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002231/8.728, allocations: 400.7 kB / 3.586 GB, free: 35.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/8.728, allocations: 256.8 kB / 3.587 GB, free: 35.51 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/8.729, allocations: 0.6688 MB / 3.587 GB, free: 35 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006322/8.729, allocations: 352 kB / 3.588 GB, free: 34.99 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.281e-05/8.729, allocations: 4.844 kB / 3.588 GB, free: 34.99 MB / 0.4948 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.001728/8.731, allocations: 0.9998 MB / 3.589 GB, free: 34.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001081/8.732, allocations: 5.056 MB / 3.594 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/8.732, allocations: 14.39 kB / 3.594 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.921e-05/8.732, allocations: 20.22 kB / 3.594 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/8.733, allocations: 306 kB / 3.594 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.004e-05/8.733, allocations: 25.75 kB / 3.594 GB, free: 29.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001135/8.735, allocations: 182.6 kB / 3.594 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.22e-05/8.735, allocations: 66.64 kB / 3.594 GB, free: 29.62 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/8.735, allocations: 10.27 kB / 3.594 GB, free: 29.61 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001791/8.736, allocations: 0.8761 MB / 3.595 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.456e-05/8.737, allocations: 14.3 kB / 3.595 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.899e-05/8.737, allocations: 25.38 kB / 3.595 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009977/8.738, allocations: 295.1 kB / 3.595 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.325e-05/8.738, allocations: 25 kB / 3.595 GB, free: 29.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/8.739, allocations: 160.8 kB / 3.596 GB, free: 29.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/8.739, allocations: 65.98 kB / 3.596 GB, free: 29.58 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 () * 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.0003253/8.739, allocations: 177.9 kB / 3.596 GB, free: 29.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/8.739, allocations: 96.64 kB / 3.596 GB, free: 29.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005544/8.745, allocations: 4.433 MB / 3.6 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.674e-05/8.745, allocations: 62.91 kB / 3.6 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/8.745, allocations: 0 / 3.6 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/8.745, allocations: 7.5 kB / 3.6 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002483/8.747, allocations: 2.165 MB / 3.602 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/8.747, allocations: 0 / 3.602 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007793/8.748, allocations: 226.5 kB / 3.603 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/8.748, allocations: 3.562 kB / 3.603 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.447e-05/8.748, allocations: 25.77 kB / 3.603 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/8.748, allocations: 3.031 kB / 3.603 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/8.748, allocations: 0 / 3.603 GB, free: 28.73 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002091/8.75, allocations: 2.045 MB / 3.605 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/8.751, allocations: 449.2 kB / 3.605 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/8.751, allocations: 20.27 kB / 3.605 GB, free: 28.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006162/8.752, allocations: 108.2 kB / 3.605 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/8.752, allocations: 73.25 kB / 3.605 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.109e-05/8.752, allocations: 26.72 kB / 3.605 GB, free: 28.13 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006177/8.753, allocations: 0.5583 MB / 3.606 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/8.753, allocations: 0 / 3.606 GB, free: 28.02 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006731/8.759, allocations: 1.548 MB / 3.607 GB, free: 27.91 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 () * 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.007281/8.767, allocations: 1.767 MB / 3.609 GB, free: 27.73 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002794/8.769, allocations: 1.733 MB / 3.611 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/8.769, allocations: 0 / 3.611 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001014/8.771, allocations: 1.025 MB / 3.612 GB, free: 27.68 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002521/8.773, allocations: 458.1 kB / 3.612 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1842/8.957, allocations: 124.5 MB / 3.734 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008927/8.958, allocations: 1.43 MB / 3.735 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002501/8.961, allocations: 1.511 MB / 3.737 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002272/8.961, allocations: 100.7 kB / 3.737 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of SimCode: time 9.72e-07/8.961, allocations: 0 / 3.737 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of Templates: time 0.3881/9.349, allocations: 51.06 MB / 3.787 GB, free: 59.43 MB / 0.5105 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)