Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.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.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007183/0.007183, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.28/1.28, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.0016/0.0016, allocations: 114.6 kB / 226.2 MB, free: 10.09 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.2919/0.2919, allocations: 38.05 MB / 303.7 MB, free: 42.54 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003815/0.0003816, allocations: 12 kB / 362.9 MB, free: 5.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 48.71 MB / 411.6 MB, free: 4.793 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.453/6.557, allocations: 2.497 GB / 2.899 GB, free: 35.63 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/6.557, allocations: 82.33 kB / 2.899 GB, free: 35.59 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.978/8.535, allocations: 0.4892 GB / 3.388 GB, free: 24.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.944e-06/8.535, allocations: 0 / 3.388 GB, free: 24.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001397/8.535, allocations: 30.06 kB / 3.388 GB, free: 24.84 MB / 442.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.0117/8.547, allocations: 2.111 MB / 3.39 GB, free: 23.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/8.547, allocations: 7.875 kB / 3.39 GB, free: 23.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006597/8.553, allocations: 0.6803 MB / 3.391 GB, free: 23.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/8.556, allocations: 0.8546 MB / 3.392 GB, free: 23.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/8.556, allocations: 73.44 kB / 3.392 GB, free: 22.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004243/8.557, allocations: 92.17 kB / 3.392 GB, free: 22.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005081/8.562, allocations: 1.738 MB / 3.394 GB, free: 22.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.757e-05/8.562, allocations: 9.719 kB / 3.394 GB, free: 22.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000216/8.562, allocations: 38.94 kB / 3.394 GB, free: 22.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/8.562, allocations: 26.7 kB / 3.394 GB, free: 22.2 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004466/8.567, allocations: 1.647 MB / 3.395 GB, free: 21.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008863/8.575, allocations: 7.369 MB / 3.402 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003345/8.579, allocations: 1.205 MB / 3.404 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04046/8.619, allocations: 17.58 MB / 3.421 GB, free: 4.809 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.503e-05/8.619, allocations: 47.11 kB / 3.421 GB, free: 4.754 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 4.659e-06/8.619, allocations: 0 / 3.421 GB, free: 4.754 MB / 442.7 MB Notification: Performance of matching and sorting (n=67): time 0.00704/8.627, allocations: 2.074 MB / 3.423 GB, free: 2.672 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/8.627, allocations: 222.1 kB / 3.423 GB, free: 2.406 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/8.628, allocations: 0.6016 MB / 3.424 GB, free: 1.797 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000137/8.628, allocations: 41.7 kB / 3.424 GB, free: 1.75 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/8.628, allocations: 0.5272 MB / 3.424 GB, free: 1.219 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/8.629, allocations: 234.8 kB / 3.424 GB, free: 0.9922 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.742e-05/8.629, allocations: 20 kB / 3.424 GB, free: 0.9727 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/8.629, allocations: 394.7 kB / 3.425 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008381/8.63, allocations: 378.3 kB / 3.425 GB, free: 212 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/8.631, allocations: 0.7838 MB / 3.426 GB, free: 15.23 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/8.632, allocations: 461.8 kB / 3.426 GB, free: 14.77 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.778e-05/8.632, allocations: 11.94 kB / 3.426 GB, free: 14.76 MB / 458.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003189/8.636, allocations: 1.232 MB / 3.428 GB, free: 13.52 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00304/8.639, allocations: 5.057 MB / 3.432 GB, free: 8.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.159e-05/8.639, allocations: 12 kB / 3.433 GB, free: 8.059 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.272e-05/8.639, allocations: 24 kB / 3.433 GB, free: 8.035 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/8.64, allocations: 303.5 kB / 3.433 GB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.541e-05/8.64, allocations: 23.98 kB / 3.433 GB, free: 7.715 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001725/8.642, allocations: 182.9 kB / 3.433 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/8.642, allocations: 63.98 kB / 3.433 GB, free: 7.473 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/8.642, allocations: 4 kB / 3.433 GB, free: 7.469 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002733/8.645, allocations: 1.114 MB / 3.434 GB, free: 6.355 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.397e-05/8.645, allocations: 12 kB / 3.434 GB, free: 6.344 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/8.645, allocations: 24 kB / 3.434 GB, free: 6.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/8.646, allocations: 295.8 kB / 3.434 GB, free: 6.031 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.072e-05/8.646, allocations: 27.88 kB / 3.435 GB, free: 6.004 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/8.647, allocations: 171 kB / 3.435 GB, free: 5.836 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/8.648, allocations: 63.94 kB / 3.435 GB, free: 5.773 MB / 458.7 MB 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.001048/8.649, allocations: 345.8 kB / 3.435 GB, free: 5.426 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004768/8.649, allocations: 90.97 kB / 3.435 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007915/8.657, allocations: 4.642 MB / 3.44 GB, free: 0.6523 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.159e-05/8.657, allocations: 67.89 kB / 3.44 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/8.657, allocations: 4 kB / 3.44 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/8.657, allocations: 3.984 kB / 3.44 GB, free: 0.5781 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3253/8.983, allocations: 2.156 MB / 3.442 GB, free: 45.85 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.647e-05/8.983, allocations: 0 / 3.442 GB, free: 45.85 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008991/8.983, allocations: 224.8 kB / 3.442 GB, free: 45.85 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/8.983, allocations: 2.938 kB / 3.442 GB, free: 45.85 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.838e-05/8.984, allocations: 25.98 kB / 3.442 GB, free: 45.85 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/8.984, allocations: 2.781 kB / 3.442 GB, free: 45.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/8.984, allocations: 1.188 kB / 3.442 GB, free: 45.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/8.988, allocations: 2.281 MB / 3.444 GB, free: 45.59 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000984/8.989, allocations: 450.6 kB / 3.445 GB, free: 45.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/8.989, allocations: 15.91 kB / 3.445 GB, free: 45.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007356/8.99, allocations: 104.7 kB / 3.445 GB, free: 45.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002394/8.99, allocations: 74.09 kB / 3.445 GB, free: 45.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.711e-05/8.99, allocations: 28.22 kB / 3.445 GB, free: 45.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001128/8.991, allocations: 0.5653 MB / 3.446 GB, free: 45.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.61e-07/8.991, allocations: 0 / 3.446 GB, free: 45.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009817/9.001, allocations: 1.544 MB / 3.447 GB, free: 45.29 MB / 458.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: 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.01189/9.013, allocations: 1.765 MB / 3.449 GB, free: 45.16 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004385/9.018, allocations: 2.052 MB / 3.451 GB, free: 45.12 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/9.018, allocations: 1.188 kB / 3.451 GB, free: 45.12 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001656/9.019, allocations: 1.137 MB / 3.452 GB, free: 45.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/9.022, allocations: 469.3 kB / 3.452 GB, free: 45.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2111/9.233, allocations: 123.9 MB / 3.573 GB, free: 22.79 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009905/9.234, allocations: 1.43 MB / 3.575 GB, free: 21.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002749/9.237, allocations: 1.471 MB / 3.576 GB, free: 20.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004068/9.237, allocations: 102.5 kB / 3.576 GB, free: 20.67 MB / 458.7 MB Notification: Performance of SimCode: time 2.395e-06/9.237, allocations: 0 / 3.576 GB, free: 20.67 MB / 458.7 MB Notification: Performance of Templates: time 0.316/9.553, allocations: 47.48 MB / 3.623 GB, free: 57.51 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible.pipe 2>&1)