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.001153/0.001153, allocations: 182.1 kB / 13.19 MB, free: 2.129 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.388/1.388, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001014/0.001014, allocations: 90.53 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3376/0.3376, allocations: 43.46 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.118e-05, allocations: 4 kB / 425.3 MB, free: 8.215 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 58.84 MB / 484.2 MB, free: 13.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8198/0.9354, allocations: 335.6 MB / 0.8005 GB, free: 74.97 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.9357, allocations: 88.8 kB / 0.8006 GB, free: 74.93 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5354/1.471, allocations: 143.1 MB / 0.9403 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.92e-07/1.471, allocations: 0 / 0.9403 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.637e-05/1.471, allocations: 18.62 kB / 0.9403 GB, free: 110.2 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.00245/1.474, allocations: 1.185 MB / 0.9415 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/1.474, allocations: 10.84 kB / 0.9415 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003472/1.474, allocations: 106.6 kB / 0.9416 GB, free: 109.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/1.475, allocations: 0.6723 MB / 0.9423 GB, free: 108.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.975e-05/1.475, allocations: 113.3 kB / 0.9424 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/1.476, allocations: 58.06 kB / 0.9424 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/1.477, allocations: 1.01 MB / 0.9434 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/1.477, allocations: 0 / 0.9434 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.259e-05/1.477, allocations: 29.88 kB / 0.9434 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.097e-05/1.477, allocations: 50.7 kB / 0.9435 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/1.479, allocations: 0.9022 MB / 0.9444 GB, free: 108.1 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005308/1.484, allocations: 4.03 MB / 0.9483 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008132/1.485, allocations: 0.6523 MB / 0.9489 GB, free: 105.3 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/1.485, allocations: 403.8 kB / 0.9493 GB, free: 105.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002532/1.488, allocations: 2.432 MB / 0.9517 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005842/1.488, allocations: 0.499 MB / 0.9522 GB, free: 103 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 1.834e-06/1.488, allocations: 0 / 0.9522 GB, free: 103 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.003386/1.492, allocations: 2.125 MB / 0.9543 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.103e-05/1.492, allocations: 247.1 kB / 0.9545 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000808/1.493, allocations: 0.7358 MB / 0.9552 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/1.493, allocations: 33.67 kB / 0.9553 GB, free: 101.4 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/1.493, allocations: 427.6 kB / 0.9557 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/1.493, allocations: 180 kB / 0.9558 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/1.493, allocations: 15.91 kB / 0.9559 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.851e-05/1.493, allocations: 335.8 kB / 0.9562 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/1.494, allocations: 367.6 kB / 0.9565 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005681/1.494, allocations: 0.6021 MB / 0.9571 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/1.495, allocations: 452 kB / 0.9575 GB, free: 99.89 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.495, allocations: 7.812 kB / 0.9575 GB, free: 99.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.00178/1.497, allocations: 1.275 MB / 0.9588 GB, free: 99.4 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005019/1.497, allocations: 2.471 MB / 0.9612 GB, free: 96.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/1.497, allocations: 3.938 kB / 0.9612 GB, free: 96.76 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008578/1.498, allocations: 346 kB / 0.9615 GB, free: 96.67 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005214/1.498, allocations: 148.4 kB / 0.9617 GB, free: 96.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/1.499, allocations: 1.442 MB / 0.9631 GB, free: 95.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007732/1.5, allocations: 45.41 kB / 0.9631 GB, free: 95.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.356e-05/1.5, allocations: 41.67 kB / 0.9632 GB, free: 95.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/1.5, allocations: 4.156 kB / 0.9632 GB, free: 95.44 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001853/1.502, allocations: 1.187 MB / 0.9643 GB, free: 95.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/1.502, allocations: 5.656 kB / 0.9643 GB, free: 95.02 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007113/1.503, allocations: 328.3 kB / 0.9647 GB, free: 94.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/1.504, allocations: 147.5 kB / 0.9648 GB, free: 94.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/1.505, allocations: 1.422 MB / 0.9662 GB, free: 93.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008078/1.505, allocations: 55.59 kB / 0.9662 GB, free: 93.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.504e-05/1.506, allocations: 37.72 kB / 0.9663 GB, free: 93.7 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 () * 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.0003377/1.506, allocations: 196 kB / 0.9665 GB, free: 93.52 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/1.506, allocations: 88.97 kB / 0.9665 GB, free: 93.48 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002019/1.508, allocations: 1.127 MB / 0.9676 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/1.508, allocations: 3.781 kB / 0.9677 GB, free: 93.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.508, allocations: 7.562 kB / 0.9677 GB, free: 93.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/1.508, allocations: 3.953 kB / 0.9677 GB, free: 93.04 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/1.511, allocations: 1.977 MB / 0.9696 GB, free: 92.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/1.511, allocations: 0 / 0.9696 GB, free: 92.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/1.511, allocations: 84.36 kB / 0.9697 GB, free: 92.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000742/1.512, allocations: 337.9 kB / 0.97 GB, free: 92.06 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/1.512, allocations: 19.62 kB / 0.97 GB, free: 92.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009073/1.513, allocations: 1.42 MB / 0.9714 GB, free: 90.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.513, allocations: 0 / 0.9714 GB, free: 90.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/1.515, allocations: 1.606 MB / 0.973 GB, free: 90.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004655/1.515, allocations: 272.8 kB / 0.9732 GB, free: 90.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001506/1.515, allocations: 15.83 kB / 0.9732 GB, free: 90 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000549/1.516, allocations: 42.28 kB / 0.9733 GB, free: 89.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.516, allocations: 48.08 kB / 0.9733 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-05/1.516, allocations: 33.91 kB / 0.9734 GB, free: 89.98 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006718/1.517, allocations: 0.5693 MB / 0.9739 GB, free: 89.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.11e-07/1.517, allocations: 0 / 0.9739 GB, free: 89.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002091/1.519, allocations: 0.6909 MB / 0.9746 GB, free: 89.58 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) * 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.001332/1.52, allocations: 0.6522 MB / 0.9752 GB, free: 89.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002494/1.523, allocations: 1.545 MB / 0.9767 GB, free: 88.68 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.523, allocations: 0 / 0.9767 GB, free: 88.68 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008305/1.524, allocations: 491.7 kB / 0.9772 GB, free: 88.47 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001361/1.525, allocations: 326.2 kB / 0.9775 GB, free: 88.38 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/1.527, allocations: 1.291 MB / 0.9788 GB, free: 87.83 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/1.528, allocations: 1.033 MB / 0.9798 GB, free: 87.09 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001105/1.529, allocations: 388.4 kB / 0.9802 GB, free: 87.02 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/1.529, allocations: 69.17 kB / 0.9802 GB, free: 87 MB / 0.4948 GB Notification: Performance of SimCode: time 8.01e-07/1.529, allocations: 0 / 0.9802 GB, free: 87 MB / 0.4948 GB Notification: Performance of Templates: time 0.03139/1.56, allocations: 23.23 MB / 1.003 GB, free: 70.78 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)