Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002035/0.002035, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.245/1.245, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001637/0.001637, allocations: 110.2 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1757/0.1757, allocations: 38.01 MB / 300.4 MB, free: 5.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.684e-05, allocations: 8 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09385/0.09389, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7496/0.8436, allocations: 323.8 MB / 0.7124 GB, free: 58.51 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002252/0.8439, allocations: 79.14 kB / 0.7125 GB, free: 58.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5458/1.39, allocations: 141.5 MB / 0.8506 GB, free: 90.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.39, allocations: 0 / 0.8506 GB, free: 90.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.182e-05/1.39, allocations: 27.88 kB / 0.8507 GB, free: 90.53 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002572/1.392, allocations: 1.166 MB / 0.8518 GB, free: 89.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/1.392, allocations: 8.031 kB / 0.8518 GB, free: 89.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003487/1.393, allocations: 110.8 kB / 0.8519 GB, free: 89.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/1.394, allocations: 0.7041 MB / 0.8526 GB, free: 88.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/1.394, allocations: 107 kB / 0.8527 GB, free: 88.36 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.996e-05/1.394, allocations: 55.52 kB / 0.8527 GB, free: 88.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00129/1.396, allocations: 0.9926 MB / 0.8537 GB, free: 87.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/1.396, allocations: 3.938 kB / 0.8537 GB, free: 87.27 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.692e-05/1.396, allocations: 30.02 kB / 0.8537 GB, free: 87.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/1.396, allocations: 57.23 kB / 0.8538 GB, free: 87.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/1.397, allocations: 0.8835 MB / 0.8547 GB, free: 86.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004703/1.402, allocations: 3.999 MB / 0.8586 GB, free: 82.15 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007774/1.402, allocations: 0.6069 MB / 0.8592 GB, free: 81.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004281/1.403, allocations: 385.9 kB / 0.8595 GB, free: 81.15 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002398/1.405, allocations: 2.373 MB / 0.8618 GB, free: 78.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004969/1.406, allocations: 429.7 kB / 0.8623 GB, free: 78.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/1.406, allocations: 0 / 0.8623 GB, free: 78.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=50): time 0.003268/1.409, allocations: 2.018 MB / 0.8642 GB, free: 76.01 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.409, allocations: 158.2 kB / 0.8644 GB, free: 75.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006338/1.41, allocations: 0.6796 MB / 0.865 GB, free: 75.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/1.41, allocations: 41.7 kB / 0.8651 GB, free: 75.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/1.41, allocations: 434.1 kB / 0.8655 GB, free: 74.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/1.41, allocations: 176.5 kB / 0.8657 GB, free: 74.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.302e-05/1.41, allocations: 16 kB / 0.8657 GB, free: 74.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001081/1.41, allocations: 394.8 kB / 0.8661 GB, free: 74.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/1.411, allocations: 345.6 kB / 0.8664 GB, free: 73.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/1.411, allocations: 0.6225 MB / 0.867 GB, free: 73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/1.412, allocations: 452.6 kB / 0.8674 GB, free: 72.55 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.412, allocations: 3.938 kB / 0.8674 GB, free: 72.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001792/1.414, allocations: 1.267 MB / 0.8687 GB, free: 71.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005687/1.414, allocations: 3.425 MB / 0.872 GB, free: 67.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/1.414, allocations: 8 kB / 0.872 GB, free: 67.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008089/1.415, allocations: 341.5 kB / 0.8723 GB, free: 67.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005368/1.416, allocations: 163.7 kB / 0.8725 GB, free: 67.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009624/1.417, allocations: 1.436 MB / 0.8739 GB, free: 65.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/1.417, allocations: 48.09 kB / 0.874 GB, free: 65.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-05/1.417, allocations: 43.98 kB / 0.874 GB, free: 65.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/1.417, allocations: 4 kB / 0.874 GB, free: 65.47 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/1.419, allocations: 1.11 MB / 0.8751 GB, free: 64.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/1.419, allocations: 11.98 kB / 0.8751 GB, free: 64.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/1.419, allocations: 257.8 kB / 0.8753 GB, free: 64.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/1.42, allocations: 167.7 kB / 0.8755 GB, free: 63.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/1.421, allocations: 2.324 MB / 0.8778 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004916/1.422, allocations: 59.91 kB / 0.8778 GB, free: 61.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/1.422, allocations: 36 kB / 0.8779 GB, free: 61.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * 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.0001839/1.422, allocations: 196.1 kB / 0.878 GB, free: 61.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.968e-05/1.422, allocations: 83.14 kB / 0.8781 GB, free: 61.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001707/1.424, allocations: 1.077 MB / 0.8792 GB, free: 59.95 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.424, allocations: 4 kB / 0.8792 GB, free: 59.94 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.424, allocations: 7.953 kB / 0.8792 GB, free: 59.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.424, allocations: 7.984 kB / 0.8792 GB, free: 59.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/1.426, allocations: 1.876 MB / 0.881 GB, free: 57.99 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/1.426, allocations: 0 / 0.881 GB, free: 57.99 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003574/1.427, allocations: 71.89 kB / 0.8811 GB, free: 57.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006987/1.427, allocations: 333.4 kB / 0.8814 GB, free: 57.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/1.427, allocations: 19.98 kB / 0.8814 GB, free: 57.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008717/1.428, allocations: 1.421 MB / 0.8828 GB, free: 56.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/1.428, allocations: 0 / 0.8828 GB, free: 56.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001801/1.43, allocations: 1.515 MB / 0.8843 GB, free: 54.56 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003348/1.43, allocations: 248 kB / 0.8845 GB, free: 54.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.43, allocations: 20.14 kB / 0.8846 GB, free: 54.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004837/1.431, allocations: 43.81 kB / 0.8846 GB, free: 54.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/1.431, allocations: 48.36 kB / 0.8846 GB, free: 54.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.725e-05/1.431, allocations: 27.98 kB / 0.8847 GB, free: 54.16 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004912/1.432, allocations: 0.5225 MB / 0.8852 GB, free: 53.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.432, allocations: 0 / 0.8852 GB, free: 53.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001998/1.434, allocations: 0.644 MB / 0.8858 GB, free: 52.99 MB / 426.7 MB 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: 9 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 5 (timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * 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.00113/1.435, allocations: 0.6273 MB / 0.8864 GB, free: 52.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002105/1.437, allocations: 1.556 MB / 0.8879 GB, free: 50.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/1.437, allocations: 0 / 0.8879 GB, free: 50.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007214/1.438, allocations: 451.4 kB / 0.8884 GB, free: 50.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/1.439, allocations: 270.9 kB / 0.8886 GB, free: 50.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/1.441, allocations: 1.352 MB / 0.89 GB, free: 48.71 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004145/1.442, allocations: 1.018 MB / 0.8909 GB, free: 47.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001126/1.443, allocations: 378.2 kB / 0.8913 GB, free: 47.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/1.443, allocations: 55.42 kB / 0.8914 GB, free: 47.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/1.443, allocations: 0 / 0.8914 GB, free: 47.23 MB / 426.7 MB Notification: Performance of Templates: time 0.02734/1.47, allocations: 20.61 MB / 0.9115 GB, free: 26.68 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1)