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.0009225/0.0009226, allocations: 172.2 kB / 16.76 MB, free: 5.062 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.438/1.438, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0008022/0.0008021, allocations: 85.48 kB / 271.3 MB, free: 8.246 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.3581/0.3581, allocations: 43.56 MB / 363.1 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 16 kB / 432.6 MB, free: 4.98 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1191, allocations: 58.85 MB / 491.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7979/0.9171, allocations: 335.8 MB / 0.8079 GB, free: 34.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002454/0.9174, allocations: 86.58 kB / 0.808 GB, free: 34.86 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5606/1.478, allocations: 142.7 MB / 0.9473 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.613e-06/1.478, allocations: 0 / 0.9473 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001187/1.478, allocations: 19.5 kB / 0.9473 GB, free: 111.6 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.004129/1.482, allocations: 1.286 MB / 0.9486 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.482, allocations: 12.03 kB / 0.9486 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007778/1.483, allocations: 103.8 kB / 0.9487 GB, free: 110.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1.485, allocations: 0.7034 MB / 0.9494 GB, free: 109.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/1.485, allocations: 111.8 kB / 0.9495 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002825/1.485, allocations: 58.89 kB / 0.9496 GB, free: 109.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001957/1.487, allocations: 1.035 MB / 0.9506 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.067e-05/1.487, allocations: 0 / 0.9506 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/1.488, allocations: 26.89 kB / 0.9506 GB, free: 108.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.209e-05/1.488, allocations: 57.27 kB / 0.9507 GB, free: 108.2 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/1.489, allocations: 0.9146 MB / 0.9515 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006374/1.496, allocations: 3.993 MB / 0.9554 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00094/1.497, allocations: 0.6578 MB / 0.9561 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005518/1.497, allocations: 410.2 kB / 0.9565 GB, free: 102.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003241/1.5, allocations: 2.349 MB / 0.9588 GB, free: 99.51 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007097/1.501, allocations: 0.5081 MB / 0.9593 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=48): time 3.096e-06/1.501, allocations: 4 kB / 0.9593 GB, free: 98.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.005628/1.507, allocations: 2.728 MB / 0.9619 GB, free: 96.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/1.507, allocations: 239.8 kB / 0.9622 GB, free: 95.84 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/1.508, allocations: 0.8328 MB / 0.963 GB, free: 95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.607e-05/1.508, allocations: 37.7 kB / 0.963 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/1.508, allocations: 427.3 kB / 0.9634 GB, free: 94.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001412/1.509, allocations: 173.5 kB / 0.9636 GB, free: 94.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.676e-05/1.509, allocations: 16 kB / 0.9636 GB, free: 94.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/1.509, allocations: 334 kB / 0.9639 GB, free: 94.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005362/1.509, allocations: 377.8 kB / 0.9643 GB, free: 93.64 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006368/1.51, allocations: 0.6135 MB / 0.9649 GB, free: 92.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/1.511, allocations: 0.9741 MB / 0.9658 GB, free: 91.85 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.511, allocations: 0 / 0.9658 GB, free: 91.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002012/1.513, allocations: 1.29 MB / 0.9671 GB, free: 90.54 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/1.513, allocations: 308.2 kB / 0.9674 GB, free: 90.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/1.513, allocations: 8 kB / 0.9674 GB, free: 90.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009098/1.514, allocations: 341.3 kB / 0.9677 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/1.515, allocations: 151.8 kB / 0.9679 GB, free: 89.64 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/1.516, allocations: 1.436 MB / 0.9693 GB, free: 88.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000847/1.517, allocations: 55.97 kB / 0.9693 GB, free: 88.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.517, allocations: 39.98 kB / 0.9694 GB, free: 88.06 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/1.517, allocations: 6.969 kB / 0.9694 GB, free: 88.06 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001786/1.519, allocations: 1.199 MB / 0.9705 GB, free: 86.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/1.519, allocations: 8 kB / 0.9705 GB, free: 86.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006971/1.519, allocations: 329.7 kB / 0.9709 GB, free: 86.51 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/1.52, allocations: 143.8 kB / 0.971 GB, free: 86.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009837/1.521, allocations: 1.429 MB / 0.9724 GB, free: 84.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/1.522, allocations: 52.03 kB / 0.9724 GB, free: 84.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.721e-05/1.522, allocations: 47.92 kB / 0.9725 GB, free: 84.79 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.0005765/1.522, allocations: 397.9 kB / 0.9729 GB, free: 84.39 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/1.522, allocations: 94.88 kB / 0.973 GB, free: 84.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/1.524, allocations: 1.133 MB / 0.9741 GB, free: 83.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.243e-06/1.524, allocations: 8 kB / 0.9741 GB, free: 83.14 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/1.525, allocations: 3.938 kB / 0.9741 GB, free: 83.14 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/1.525, allocations: 3.938 kB / 0.9741 GB, free: 83.13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002758/1.527, allocations: 1.987 MB / 0.976 GB, free: 81.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.527, allocations: 3.984 kB / 0.976 GB, free: 81.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/1.528, allocations: 79.91 kB / 0.9761 GB, free: 81.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000925/1.529, allocations: 341.3 kB / 0.9764 GB, free: 80.67 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/1.529, allocations: 15.98 kB / 0.9764 GB, free: 80.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/1.53, allocations: 1.425 MB / 0.9778 GB, free: 79.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/1.53, allocations: 7.875 kB / 0.9778 GB, free: 79.17 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002402/1.532, allocations: 1.625 MB / 0.9794 GB, free: 77.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004776/1.533, allocations: 264 kB / 0.9797 GB, free: 77.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002043/1.533, allocations: 20.11 kB / 0.9797 GB, free: 77.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006836/1.534, allocations: 47.89 kB / 0.9797 GB, free: 77.17 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.534, allocations: 56.3 kB / 0.9798 GB, free: 77.11 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.229e-05/1.534, allocations: 27.98 kB / 0.9798 GB, free: 77.09 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007808/1.535, allocations: 0.581 MB / 0.9804 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/1.535, allocations: 0 / 0.9804 GB, free: 76.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002423/1.537, allocations: 0.683 MB / 0.9811 GB, free: 75.82 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.002093/1.539, allocations: 0.6493 MB / 0.9817 GB, free: 75.21 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002895/1.542, allocations: 1.542 MB / 0.9832 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/1.542, allocations: 8.062 kB / 0.9832 GB, free: 73.65 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009199/1.543, allocations: 0.49 MB / 0.9837 GB, free: 73.14 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00188/1.545, allocations: 326.3 kB / 0.984 GB, free: 72.82 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003143/1.548, allocations: 1.995 MB / 0.9859 GB, free: 70.81 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/1.549, allocations: 1.017 MB / 0.9869 GB, free: 69.76 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001114/1.55, allocations: 306.5 kB / 0.9872 GB, free: 69.46 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/1.55, allocations: 71.42 kB / 0.9873 GB, free: 69.39 MB / 0.4948 GB Notification: Performance of SimCode: time 8.22e-07/1.55, allocations: 0 / 0.9873 GB, free: 69.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.03417/1.584, allocations: 22.23 MB / 1.009 GB, free: 47.22 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)