Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009269/0.000927, allocations: 185.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.486/1.486, allocations: 205.4 MB / 221.9 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 98.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2043/0.2043, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 8 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 58.86 MB / 490.3 MB, free: 8.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.155, allocations: 335.7 MB / 0.8066 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.155, allocations: 90.58 kB / 0.8067 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.624/1.779, allocations: 143.5 MB / 0.9468 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.322e-06/1.78, allocations: 0 / 0.9468 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001134/1.78, allocations: 19.62 kB / 0.9468 GB, free: 131.1 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: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004577/1.784, allocations: 1.284 MB / 0.9481 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/1.784, allocations: 7.031 kB / 0.9481 GB, free: 130.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008179/1.785, allocations: 112.6 kB / 0.9482 GB, free: 130.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002059/1.787, allocations: 0.683 MB / 0.9488 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001619/1.787, allocations: 110.2 kB / 0.949 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002793/1.788, allocations: 63 kB / 0.949 GB, free: 129.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/1.79, allocations: 1.024 MB / 0.95 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/1.79, allocations: 0 / 0.95 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/1.79, allocations: 27.66 kB / 0.95 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.253e-05/1.79, allocations: 56.88 kB / 0.9501 GB, free: 129.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/1.792, allocations: 0.915 MB / 0.951 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006583/1.798, allocations: 4.026 MB / 0.9549 GB, free: 126.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009562/1.799, allocations: 0.6469 MB / 0.9556 GB, free: 126.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003201/1.802, allocations: 2.381 MB / 0.9579 GB, free: 124.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007025/1.803, allocations: 0.5043 MB / 0.9584 GB, free: 124 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.384e-06/1.803, allocations: 0 / 0.9584 GB, free: 124 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.005702/1.809, allocations: 2.789 MB / 0.9611 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.001e-05/1.809, allocations: 242.5 kB / 0.9613 GB, free: 122.3 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001203/1.81, allocations: 0.7431 MB / 0.9621 GB, free: 122 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.07e-05/1.81, allocations: 36.17 kB / 0.9621 GB, free: 122 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003293/1.811, allocations: 424.3 kB / 0.9625 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001664/1.811, allocations: 176.5 kB / 0.9627 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-05/1.811, allocations: 15.84 kB / 0.9627 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/1.811, allocations: 342.7 kB / 0.963 GB, free: 121.2 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/1.811, allocations: 371.1 kB / 0.9634 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/1.812, allocations: 0.6102 MB / 0.9639 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006589/1.813, allocations: 463 kB / 0.9644 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/1.813, allocations: 3.969 kB / 0.9644 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002104/1.815, allocations: 1.29 MB / 0.9657 GB, free: 119.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007237/1.816, allocations: 2.474 MB / 0.9681 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/1.816, allocations: 3.281 kB / 0.9681 GB, free: 117.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009985/1.817, allocations: 345 kB / 0.9684 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/1.817, allocations: 145.9 kB / 0.9685 GB, free: 117.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/1.819, allocations: 1.44 MB / 0.9699 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009629/1.819, allocations: 47.64 kB / 0.97 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.82, allocations: 43.67 kB / 0.97 GB, free: 116 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.82, allocations: 5.594 kB / 0.97 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001977/1.822, allocations: 1.197 MB / 0.9712 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.976e-05/1.822, allocations: 4 kB / 0.9712 GB, free: 115.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007298/1.822, allocations: 330.1 kB / 0.9715 GB, free: 115.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005508/1.823, allocations: 153.7 kB / 0.9717 GB, free: 115.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/1.824, allocations: 1.426 MB / 0.9731 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008524/1.825, allocations: 51.25 kB / 0.9731 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.893e-05/1.825, allocations: 43.52 kB / 0.9732 GB, free: 113.6 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006732/1.826, allocations: 395.6 kB / 0.9735 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/1.826, allocations: 90.88 kB / 0.9736 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002221/1.828, allocations: 1.137 MB / 0.9747 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.828, allocations: 4 kB / 0.9747 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.828, allocations: 3.953 kB / 0.9747 GB, free: 112.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/1.828, allocations: 7.422 kB / 0.9747 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003219/1.831, allocations: 1.996 MB / 0.9767 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.831, allocations: 4 kB / 0.9767 GB, free: 110.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004013/1.832, allocations: 82.14 kB / 0.9768 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008328/1.833, allocations: 337.7 kB / 0.9771 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.598e-05/1.833, allocations: 19.94 kB / 0.9771 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/1.834, allocations: 1.425 MB / 0.9785 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.834, allocations: 4.031 kB / 0.9785 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/1.836, allocations: 1.62 MB / 0.9801 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000599/1.837, allocations: 270.4 kB / 0.9804 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/1.837, allocations: 19.95 kB / 0.9804 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007231/1.838, allocations: 43.17 kB / 0.9804 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/1.838, allocations: 54.59 kB / 0.9805 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.22e-05/1.838, allocations: 31.94 kB / 0.9805 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0008252/1.839, allocations: 0.5781 MB / 0.9811 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.3e-07/1.839, allocations: 0 / 0.9811 GB, free: 106.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002713/1.841, allocations: 0.6954 MB / 0.9817 GB, free: 105.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002418/1.844, allocations: 0.6264 MB / 0.9824 GB, free: 105.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003088/1.847, allocations: 1.535 MB / 0.9839 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.847, allocations: 4.062 kB / 0.9839 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009754/1.848, allocations: 499.1 kB / 0.9843 GB, free: 103.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/1.85, allocations: 318.1 kB / 0.9846 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/1.853, allocations: 1.982 MB / 0.9866 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006044/1.854, allocations: 1.038 MB / 0.9876 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001243/1.855, allocations: 312.5 kB / 0.9879 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002281/1.856, allocations: 67.23 kB / 0.9879 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/1.856, allocations: 0 / 0.9879 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.03624/1.892, allocations: 21.66 MB / 1.009 GB, free: 78.71 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1)