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.001106/0.001106, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.3 MB / 213.7 MB, free: 1.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008804/0.0008802, allocations: 94.12 kB / 261.7 MB, free: 1.617 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.2387/0.2387, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.523e-05/1.525e-05, allocations: 0 / 418.3 MB, free: 28.55 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1508, allocations: 58.85 MB / 477.1 MB, free: 1.652 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9504/1.101, allocations: 334.9 MB / 0.793 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.102, allocations: 87.23 kB / 0.7931 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5669/1.668, allocations: 141.9 MB / 0.9317 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.423e-06/1.669, allocations: 0 / 0.9317 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001052/1.669, allocations: 23.47 kB / 0.9317 GB, free: 125.9 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.003464/1.672, allocations: 1.181 MB / 0.9328 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/1.672, allocations: 7.938 kB / 0.9328 GB, free: 125.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007557/1.673, allocations: 105.2 kB / 0.9329 GB, free: 125.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001752/1.675, allocations: 0.6723 MB / 0.9336 GB, free: 125 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/1.675, allocations: 87.36 kB / 0.9337 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/1.675, allocations: 34.66 kB / 0.9337 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001436/1.676, allocations: 0.8228 MB / 0.9345 GB, free: 124.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/1.678, allocations: 0.9357 MB / 0.9354 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/1.678, allocations: 2.719 kB / 0.9354 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/1.678, allocations: 3.719 kB / 0.9354 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.118e-05/1.678, allocations: 58.09 kB / 0.9355 GB, free: 124.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005519/1.684, allocations: 3.859 MB / 0.9393 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007921/1.685, allocations: 0.6239 MB / 0.9399 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004371/1.685, allocations: 393.3 kB / 0.9402 GB, free: 123.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002909/1.688, allocations: 2.366 MB / 0.9426 GB, free: 121.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006323/1.689, allocations: 493.2 kB / 0.943 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 2.053e-06/1.689, allocations: 0 / 0.943 GB, free: 121.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.006841/1.696, allocations: 2.533 MB / 0.9455 GB, free: 121.1 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/1.696, allocations: 243.1 kB / 0.9457 GB, free: 120.8 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00076/1.696, allocations: 0.545 MB / 0.9463 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/1.697, allocations: 25.7 kB / 0.9463 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/1.697, allocations: 438.6 kB / 0.9467 GB, free: 120.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000153/1.697, allocations: 166 kB / 0.9469 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/1.697, allocations: 0 / 0.9469 GB, free: 120.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001482/1.697, allocations: 385 kB / 0.9472 GB, free: 120 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/1.698, allocations: 357 kB / 0.9476 GB, free: 120 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005875/1.698, allocations: 0.5862 MB / 0.9481 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003602/1.702, allocations: 1.034 MB / 0.9492 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/1.702, allocations: 0 / 0.9492 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.004953/1.707, allocations: 1.808 MB / 0.9509 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005853/1.708, allocations: 2.472 MB / 0.9533 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/1.708, allocations: 3.438 kB / 0.9533 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006666/1.708, allocations: 317.9 kB / 0.9536 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005469/1.709, allocations: 148.2 kB / 0.9538 GB, free: 117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001827/1.711, allocations: 1.623 MB / 0.9554 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008625/1.711, allocations: 37.39 kB / 0.9554 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.111e-05/1.712, allocations: 41.42 kB / 0.9554 GB, free: 116 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/1.712, allocations: 4.125 kB / 0.9554 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004601/1.716, allocations: 1.681 MB / 0.9571 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.716, allocations: 6.938 kB / 0.9571 GB, free: 116 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006157/1.717, allocations: 313.9 kB / 0.9574 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/1.717, allocations: 151.8 kB / 0.9575 GB, free: 115.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/1.719, allocations: 1.581 MB / 0.9591 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007789/1.72, allocations: 45.41 kB / 0.9591 GB, free: 114.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/1.72, allocations: 35.44 kB / 0.9592 GB, free: 114.9 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.0003566/1.72, allocations: 174 kB / 0.9593 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/1.72, allocations: 75.25 kB / 0.9594 GB, free: 114.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002816/1.723, allocations: 1.226 MB / 0.9606 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.723, allocations: 3.031 kB / 0.9606 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/1.723, allocations: 0 / 0.9606 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/1.723, allocations: 6.453 kB / 0.9606 GB, free: 114.6 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/1.727, allocations: 2.02 MB / 0.9626 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/1.727, allocations: 3.625 kB / 0.9626 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003789/1.727, allocations: 79.66 kB / 0.9627 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006067/1.728, allocations: 315.8 kB / 0.963 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/1.728, allocations: 15.08 kB / 0.963 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/1.729, allocations: 1.597 MB / 0.9645 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.729, allocations: 3.953 kB / 0.9645 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/1.732, allocations: 1.708 MB / 0.9662 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/1.733, allocations: 250.4 kB / 0.9664 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/1.733, allocations: 3.656 kB / 0.9664 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/1.734, allocations: 37.31 kB / 0.9665 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.734, allocations: 59.23 kB / 0.9665 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/1.734, allocations: 27.02 kB / 0.9666 GB, free: 112.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005716/1.734, allocations: 430.2 kB / 0.967 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.734, allocations: 0 / 0.967 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002346/1.737, allocations: 0.643 MB / 0.9676 GB, free: 112.3 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,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00149/1.738, allocations: 0.6419 MB / 0.9682 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00246/1.741, allocations: 1.474 MB / 0.9697 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.741, allocations: 0 / 0.9697 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00072/1.741, allocations: 473.2 kB / 0.9701 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/1.743, allocations: 266.8 kB / 0.9704 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/1.745, allocations: 1.238 MB / 0.9716 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/1.746, allocations: 1.033 MB / 0.9726 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00104/1.747, allocations: 326.9 kB / 0.9729 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001402/1.747, allocations: 60.66 kB / 0.973 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/1.747, allocations: 0 / 0.973 GB, free: 110.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.02828/1.775, allocations: 19.9 MB / 0.9924 GB, free: 108.8 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)