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.008935/0.008935, allocations: 165 kB / 15.11 MB, free: 5.969 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.264/1.264, allocations: 170.8 MB / 186.6 MB, free: 1.141 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.001649/0.001649, allocations: 109.2 kB / 226.2 MB, free: 10.11 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.3746/0.3746, allocations: 38.05 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 8 kB / 362.9 MB, free: 5.613 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1337, allocations: 48.71 MB / 411.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9159/1.05, allocations: 323.9 MB / 0.7182 GB, free: 23.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/1.05, allocations: 83.2 kB / 0.7183 GB, free: 22.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5982/1.648, allocations: 141.9 MB / 0.8569 GB, free: 55.28 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.512e-06/1.648, allocations: 0 / 0.8569 GB, free: 55.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.015e-05/1.648, allocations: 20 kB / 0.8569 GB, free: 55.26 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.003393/1.652, allocations: 1.268 MB / 0.8582 GB, free: 53.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/1.652, allocations: 12.03 kB / 0.8582 GB, free: 53.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003711/1.652, allocations: 106.9 kB / 0.8583 GB, free: 53.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/1.654, allocations: 0.7141 MB / 0.859 GB, free: 53.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.49e-05/1.654, allocations: 100.7 kB / 0.8591 GB, free: 52.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/1.654, allocations: 57.02 kB / 0.8591 GB, free: 52.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/1.655, allocations: 1.007 MB / 0.8601 GB, free: 51.84 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/1.655, allocations: 3.906 kB / 0.8601 GB, free: 51.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.029e-05/1.655, allocations: 31.94 kB / 0.8602 GB, free: 51.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.117e-05/1.656, allocations: 53.28 kB / 0.8602 GB, free: 51.75 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/1.657, allocations: 0.9029 MB / 0.8611 GB, free: 50.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005533/1.662, allocations: 3.989 MB / 0.865 GB, free: 46.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/1.663, allocations: 0.6331 MB / 0.8656 GB, free: 46.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00297/1.666, allocations: 2.31 MB / 0.8679 GB, free: 43.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005643/1.667, allocations: 430.9 kB / 0.8683 GB, free: 43.02 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 2.004e-06/1.667, allocations: 0 / 0.8683 GB, free: 43.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=50): time 0.00531/1.672, allocations: 2.644 MB / 0.8708 GB, free: 40.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/1.672, allocations: 162.2 kB / 0.871 GB, free: 40.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009185/1.673, allocations: 0.6834 MB / 0.8717 GB, free: 39.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-05/1.673, allocations: 37.7 kB / 0.8717 GB, free: 39.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/1.674, allocations: 443.2 kB / 0.8721 GB, free: 38.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/1.674, allocations: 169.6 kB / 0.8723 GB, free: 38.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/1.674, allocations: 16 kB / 0.8723 GB, free: 38.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/1.674, allocations: 386.8 kB / 0.8727 GB, free: 38.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/1.674, allocations: 357.8 kB / 0.873 GB, free: 37.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005847/1.675, allocations: 0.6353 MB / 0.8736 GB, free: 37.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005397/1.676, allocations: 451.6 kB / 0.8741 GB, free: 36.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.676, allocations: 7.953 kB / 0.8741 GB, free: 36.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001812/1.677, allocations: 1.282 MB / 0.8753 GB, free: 35.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001403/1.679, allocations: 3.429 MB / 0.8787 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.795e-05/1.679, allocations: 8 kB / 0.8787 GB, free: 31.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009983/1.68, allocations: 345.5 kB / 0.879 GB, free: 31.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/1.68, allocations: 163.7 kB / 0.8792 GB, free: 31.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001142/1.682, allocations: 1.44 MB / 0.8806 GB, free: 29.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000788/1.682, allocations: 47.91 kB / 0.8806 GB, free: 29.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/1.682, allocations: 44 kB / 0.8807 GB, free: 29.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.682, allocations: 8.125 kB / 0.8807 GB, free: 29.63 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001656/1.684, allocations: 1.122 MB / 0.8818 GB, free: 28.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.684, allocations: 8 kB / 0.8818 GB, free: 28.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005995/1.685, allocations: 269.5 kB / 0.882 GB, free: 28.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005413/1.685, allocations: 167.7 kB / 0.8822 GB, free: 28.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/1.687, allocations: 2.343 MB / 0.8845 GB, free: 25.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007053/1.688, allocations: 55.81 kB / 0.8845 GB, free: 25.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/1.688, allocations: 40 kB / 0.8846 GB, free: 25.46 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 () * Number of clocked 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.0007221/1.689, allocations: 406.3 kB / 0.885 GB, free: 25.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/1.689, allocations: 79.06 kB / 0.885 GB, free: 24.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002117/1.691, allocations: 1.076 MB / 0.8861 GB, free: 23.88 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/1.691, allocations: 11.95 kB / 0.8861 GB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/1.691, allocations: 0 / 0.8861 GB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/1.691, allocations: 3.984 kB / 0.8861 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003181/1.694, allocations: 1.87 MB / 0.8879 GB, free: 21.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/1.694, allocations: 0 / 0.8879 GB, free: 21.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/1.695, allocations: 83.89 kB / 0.888 GB, free: 21.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009886/1.696, allocations: 337.4 kB / 0.8883 GB, free: 21.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.483e-05/1.696, allocations: 24.05 kB / 0.8884 GB, free: 21.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/1.697, allocations: 1.421 MB / 0.8897 GB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.697, allocations: 0 / 0.8897 GB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002351/1.7, allocations: 1.531 MB / 0.8912 GB, free: 18.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/1.7, allocations: 259.9 kB / 0.8915 GB, free: 18.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/1.7, allocations: 12 kB / 0.8915 GB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006289/1.701, allocations: 39.94 kB / 0.8915 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/1.701, allocations: 52.36 kB / 0.8916 GB, free: 18.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/1.701, allocations: 27.98 kB / 0.8916 GB, free: 18.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007359/1.702, allocations: 0.5185 MB / 0.8921 GB, free: 17.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/1.702, allocations: 4 kB / 0.8921 GB, free: 17.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003079/1.705, allocations: 0.6556 MB / 0.8928 GB, free: 16.87 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) * Number of clocked states: 0 () * 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.002645/1.708, allocations: 0.6268 MB / 0.8934 GB, free: 16.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002919/1.711, allocations: 1.549 MB / 0.8949 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.711, allocations: 4.688 kB / 0.8949 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008455/1.712, allocations: 453.8 kB / 0.8953 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001267/1.713, allocations: 284.7 kB / 0.8956 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003723/1.717, allocations: 2.046 MB / 0.8976 GB, free: 11.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005967/1.717, allocations: 1.021 MB / 0.8986 GB, free: 10.81 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001053/1.718, allocations: 294.4 kB / 0.8989 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001839/1.719, allocations: 67.36 kB / 0.8989 GB, free: 10.45 MB / 426.7 MB Notification: Performance of SimCode: time 8.02e-07/1.719, allocations: 0 / 0.8989 GB, free: 10.45 MB / 426.7 MB Notification: Performance of Templates: time 0.3149/2.033, allocations: 18.98 MB / 0.9175 GB, free: 80.72 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)