Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 187 kB / 18.09 MB, free: 3.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 242.1 MB, free: 9.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 94.48 kB / 293.3 MB, free: 10.56 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3283/0.3283, allocations: 44.14 MB / 388.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004172/0.0004173, allocations: 12 kB / 461.1 MB, free: 1.535 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3225/0.3229, allocations: 61.88 MB / 0.5107 GB, free: 38.06 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5594/0.8824, allocations: 336.6 MB / 0.8395 GB, free: 9.691 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.8827, allocations: 95.11 kB / 0.8396 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.6161/1.499, allocations: 145.7 MB / 0.9818 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.453e-06/1.499, allocations: 0 / 0.9818 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001141/1.499, allocations: 23.94 kB / 0.9818 GB, free: 120.2 MB / 0.5261 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.003882/1.503, allocations: 1.28 MB / 0.9831 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/1.503, allocations: 15.97 kB / 0.9831 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006774/1.504, allocations: 107.8 kB / 0.9832 GB, free: 118.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/1.505, allocations: 0.7003 MB / 0.9839 GB, free: 118 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/1.505, allocations: 104.7 kB / 0.984 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002294/1.506, allocations: 55.98 kB / 0.984 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/1.508, allocations: 1.032 MB / 0.9851 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/1.508, allocations: 0 / 0.9851 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/1.508, allocations: 35.97 kB / 0.9851 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.605e-05/1.508, allocations: 57.28 kB / 0.9851 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/1.509, allocations: 0.9107 MB / 0.986 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005744/1.515, allocations: 3.991 MB / 0.9899 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008873/1.516, allocations: 0.6532 MB / 0.9906 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/1.517, allocations: 406.2 kB / 0.991 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00284/1.519, allocations: 2.369 MB / 0.9933 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006098/1.52, allocations: 0.503 MB / 0.9938 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/1.52, allocations: 0 / 0.9938 GB, free: 107.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.005252/1.525, allocations: 2.733 MB / 0.9964 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/1.525, allocations: 239.8 kB / 0.9967 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/1.526, allocations: 0.8329 MB / 0.9975 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.426e-05/1.527, allocations: 37.7 kB / 0.9975 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/1.527, allocations: 427.7 kB / 0.9979 GB, free: 102.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/1.527, allocations: 177.5 kB / 0.9981 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.612e-05/1.527, allocations: 16 kB / 0.9981 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.757e-05/1.527, allocations: 334 kB / 0.9984 GB, free: 102.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005124/1.528, allocations: 373.8 kB / 0.9988 GB, free: 102 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006394/1.528, allocations: 0.6057 MB / 0.9994 GB, free: 101.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/1.529, allocations: 0.978 MB / 1 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/1.529, allocations: 4 kB / 1 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001961/1.531, allocations: 1.282 MB / 1.002 GB, free: 98.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001457/1.531, allocations: 312.2 kB / 1.002 GB, free: 98.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/1.531, allocations: 4 kB / 1.002 GB, free: 98.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009012/1.532, allocations: 349.3 kB / 1.002 GB, free: 98.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005353/1.533, allocations: 143.8 kB / 1.002 GB, free: 98.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001052/1.534, allocations: 1.436 MB / 1.004 GB, free: 96.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000858/1.535, allocations: 56.03 kB / 1.004 GB, free: 96.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.535, allocations: 47.97 kB / 1.004 GB, free: 96.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/1.535, allocations: 5.094 kB / 1.004 GB, free: 96.41 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001861/1.537, allocations: 1.199 MB / 1.005 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/1.537, allocations: 4 kB / 1.005 GB, free: 95.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006724/1.538, allocations: 325.8 kB / 1.005 GB, free: 94.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/1.538, allocations: 151.7 kB / 1.005 GB, free: 94.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009462/1.539, allocations: 1.425 MB / 1.007 GB, free: 93.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007633/1.54, allocations: 55.97 kB / 1.007 GB, free: 93.19 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/1.54, allocations: 44.17 kB / 1.007 GB, free: 93.15 MB / 0.5261 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.0006128/1.541, allocations: 391.4 kB / 1.007 GB, free: 92.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.541, allocations: 98.88 kB / 1.007 GB, free: 92.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001927/1.543, allocations: 1.137 MB / 1.009 GB, free: 91.49 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.543, allocations: 4 kB / 1.009 GB, free: 91.48 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/1.543, allocations: 0 / 1.009 GB, free: 91.48 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.543, allocations: 3.938 kB / 1.009 GB, free: 91.48 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00277/1.546, allocations: 1.993 MB / 1.011 GB, free: 89.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/1.546, allocations: 0 / 1.011 GB, free: 89.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003669/1.546, allocations: 75.89 kB / 1.011 GB, free: 89.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007582/1.547, allocations: 345.3 kB / 1.011 GB, free: 89 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-05/1.547, allocations: 19.98 kB / 1.011 GB, free: 88.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009679/1.548, allocations: 1.429 MB / 1.012 GB, free: 87.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.548, allocations: 3.938 kB / 1.012 GB, free: 87.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/1.55, allocations: 1.626 MB / 1.014 GB, free: 85.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004779/1.55, allocations: 263.9 kB / 1.014 GB, free: 85.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/1.551, allocations: 20.11 kB / 1.014 GB, free: 85.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006737/1.551, allocations: 43.97 kB / 1.014 GB, free: 85.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/1.551, allocations: 52.3 kB / 1.014 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.356e-05/1.551, allocations: 31.98 kB / 1.014 GB, free: 85.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008129/1.552, allocations: 0.5693 MB / 1.015 GB, free: 84.86 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/1.552, allocations: 8 kB / 1.015 GB, free: 84.85 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00265/1.555, allocations: 0.6908 MB / 1.016 GB, free: 84.16 MB / 0.5261 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.002181/1.557, allocations: 0.6487 MB / 1.016 GB, free: 83.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002734/1.56, allocations: 1.534 MB / 1.018 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/1.56, allocations: 4.062 kB / 1.018 GB, free: 81.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000932/1.561, allocations: 0.4939 MB / 1.018 GB, free: 81.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/1.562, allocations: 330.4 kB / 1.018 GB, free: 81.13 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00308/1.566, allocations: 1.987 MB / 1.02 GB, free: 79.12 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/1.566, allocations: 1.025 MB / 1.021 GB, free: 78.07 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001065/1.567, allocations: 310.6 kB / 1.022 GB, free: 77.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/1.567, allocations: 63.42 kB / 1.022 GB, free: 77.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/1.567, allocations: 0 / 1.022 GB, free: 77.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.03181/1.599, allocations: 22.25 MB / 1.043 GB, free: 55.61 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1)