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.001037/0.001037, allocations: 180.5 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.54/1.54, allocations: 194.3 MB / 202.4 MB, free: 8.547 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.001801/0.001801, allocations: 113.2 kB / 247.4 MB, free: 6.203 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.2128/0.2128, allocations: 39.94 MB / 332.2 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.419e-05/1.427e-05, allocations: 7.984 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 54.86 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.23/6.334, allocations: 2.607 GB / 3.044 GB, free: 61.8 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/6.334, allocations: 79.02 kB / 3.045 GB, free: 61.77 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.901/8.235, allocations: 0.4932 GB / 3.538 GB, free: 47.29 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.794e-06/8.235, allocations: 0 / 3.538 GB, free: 47.29 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001253/8.236, allocations: 32.5 kB / 3.538 GB, free: 47.28 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.009214/8.245, allocations: 2.055 MB / 3.54 GB, free: 46.36 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/8.245, allocations: 7.812 kB / 3.54 GB, free: 46.36 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006067/8.251, allocations: 0.7251 MB / 3.541 GB, free: 46.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/8.253, allocations: 0.8378 MB / 3.541 GB, free: 46 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/8.254, allocations: 43.22 kB / 3.541 GB, free: 46 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/8.254, allocations: 58.64 kB / 3.541 GB, free: 46 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002295/8.256, allocations: 0.9075 MB / 3.542 GB, free: 45.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002115/8.258, allocations: 1.08 MB / 3.543 GB, free: 45.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.416e-05/8.258, allocations: 8.969 kB / 3.543 GB, free: 45.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001884/8.259, allocations: 3.688 kB / 3.543 GB, free: 45.66 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/8.259, allocations: 24.72 kB / 3.543 GB, free: 45.66 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7488/9.007, allocations: 201.6 MB / 3.74 GB, free: 40.65 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006932/9.008, allocations: 400 kB / 3.741 GB, free: 40.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/9.008, allocations: 200.5 kB / 3.741 GB, free: 40.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03648/9.045, allocations: 16.3 MB / 3.757 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.375e-05/9.045, allocations: 41.94 kB / 3.757 GB, free: 31.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 3.687e-06/9.045, allocations: 0 / 3.757 GB, free: 31.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.004784/9.05, allocations: 1.251 MB / 3.758 GB, free: 31.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/9.05, allocations: 209.9 kB / 3.758 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/9.051, allocations: 0.658 MB / 3.759 GB, free: 31.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/9.051, allocations: 29.5 kB / 3.759 GB, free: 31.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004108/9.052, allocations: 0.5896 MB / 3.759 GB, free: 31.25 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/9.052, allocations: 159.2 kB / 3.76 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/9.052, allocations: 0 / 3.76 GB, free: 31.18 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001445/9.052, allocations: 392.6 kB / 3.76 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/9.052, allocations: 234.9 kB / 3.76 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005744/9.053, allocations: 0.6445 MB / 3.761 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002205/9.055, allocations: 0.5663 MB / 3.761 GB, free: 30.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.588e-05/9.055, allocations: 7.125 kB / 3.761 GB, free: 30.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003401/9.059, allocations: 1.142 MB / 3.763 GB, free: 30.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001304/9.06, allocations: 5.048 MB / 3.767 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.409e-05/9.06, allocations: 15.86 kB / 3.767 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.945e-05/9.06, allocations: 22.31 kB / 3.767 GB, free: 24.94 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001067/9.061, allocations: 298.8 kB / 3.768 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.881e-05/9.061, allocations: 27.75 kB / 3.768 GB, free: 24.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/9.063, allocations: 253.6 kB / 3.768 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001372/9.063, allocations: 59.5 kB / 3.768 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/9.063, allocations: 3.844 kB / 3.768 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002779/9.066, allocations: 0.9331 MB / 3.769 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.212e-05/9.066, allocations: 15.36 kB / 3.769 GB, free: 24.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.255e-05/9.066, allocations: 29.16 kB / 3.769 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009359/9.067, allocations: 301.2 kB / 3.769 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.223e-05/9.067, allocations: 27.3 kB / 3.769 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/9.069, allocations: 178.8 kB / 3.77 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/9.069, allocations: 60.41 kB / 3.77 GB, free: 24.83 MB / 0.5105 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.0002631/9.069, allocations: 145.6 kB / 3.77 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/9.069, allocations: 90.75 kB / 3.77 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/9.071, allocations: 1.441 MB / 3.771 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/9.071, allocations: 6.375 kB / 3.771 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/9.071, allocations: 4 kB / 3.771 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/9.071, allocations: 3.844 kB / 3.771 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001708/9.073, allocations: 1.076 MB / 3.772 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/9.073, allocations: 0 / 3.772 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003506/9.074, allocations: 95.36 kB / 3.772 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/9.074, allocations: 1.312 kB / 3.772 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/9.074, allocations: 6.5 kB / 3.772 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/9.074, allocations: 3.875 kB / 3.772 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/9.074, allocations: 9.453 kB / 3.772 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/9.075, allocations: 0.604 MB / 3.773 GB, free: 24 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007891/9.076, allocations: 492.3 kB / 3.773 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003203/9.076, allocations: 0 / 3.773 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007846/9.077, allocations: 77.08 kB / 3.774 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/9.077, allocations: 32.03 kB / 3.774 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.694e-05/9.077, allocations: 19.36 kB / 3.774 GB, free: 23.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001382/9.078, allocations: 1.088 MB / 3.775 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/9.078, allocations: 0 / 3.775 GB, free: 23.66 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007808/9.086, allocations: 1.548 MB / 3.776 GB, free: 23.56 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 (46): * Single equations (assignments): 46 * 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.009758/9.096, allocations: 1.894 MB / 3.778 GB, free: 23.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002267/9.098, allocations: 0.9845 MB / 3.779 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/9.098, allocations: 0 / 3.779 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002758/9.098, allocations: 147.2 kB / 3.779 GB, free: 23.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/9.101, allocations: 369.3 kB / 3.779 GB, free: 23.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003022/9.104, allocations: 1.344 MB / 3.781 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000663/9.105, allocations: 1.195 MB / 3.782 GB, free: 22.07 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003003/9.108, allocations: 1.899 MB / 3.784 GB, free: 22 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/9.108, allocations: 79.98 kB / 3.784 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of SimCode: time 2.515e-06/9.108, allocations: 0 / 3.784 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of Templates: time 0.06164/9.17, allocations: 38.58 MB / 3.822 GB, free: 10.39 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)