Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008336/0.0008336, allocations: 91.7 kB / 292.1 MB, free: 5.973 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1991/0.1991, allocations: 45.14 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.637e-05/3.638e-05, allocations: 4 kB / 460.4 MB, free: 70.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1217, allocations: 63.24 MB / 0.5114 GB, free: 6.812 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9005/1.022, allocations: 337.5 MB / 0.8409 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.023, allocations: 87.56 kB / 0.841 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6109/1.634, allocations: 145.9 MB / 0.9835 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.183e-06/1.634, allocations: 0 / 0.9835 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.955e-05/1.634, allocations: 21.72 kB / 0.9835 GB, free: 133.9 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.002611/1.636, allocations: 1.193 MB / 0.9846 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.636, allocations: 6.125 kB / 0.9847 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003808/1.637, allocations: 110.6 kB / 0.9848 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001273/1.638, allocations: 0.6726 MB / 0.9854 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.259e-05/1.638, allocations: 107.9 kB / 0.9855 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.638, allocations: 63.69 kB / 0.9856 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/1.64, allocations: 1.017 MB / 0.9866 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/1.64, allocations: 3.469 kB / 0.9866 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.742e-05/1.64, allocations: 26.5 kB / 0.9866 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-05/1.64, allocations: 58.05 kB / 0.9867 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/1.641, allocations: 0.8939 MB / 0.9875 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005159/1.646, allocations: 4.006 MB / 0.9914 GB, free: 131 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008597/1.647, allocations: 0.647 MB / 0.9921 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004685/1.648, allocations: 404 kB / 0.9925 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002628/1.65, allocations: 2.422 MB / 0.9948 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/1.651, allocations: 0.503 MB / 0.9953 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 2.084e-06/1.651, allocations: 0 / 0.9953 GB, free: 129.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.003517/1.654, allocations: 2.138 MB / 0.9974 GB, free: 128.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.159e-05/1.654, allocations: 238.8 kB / 0.9976 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008658/1.655, allocations: 0.7306 MB / 0.9983 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.974e-05/1.655, allocations: 41.2 kB / 0.9984 GB, free: 128.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/1.656, allocations: 427 kB / 0.9988 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/1.656, allocations: 180.2 kB / 0.999 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.444e-05/1.656, allocations: 14.62 kB / 0.999 GB, free: 127.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.117e-05/1.656, allocations: 338.1 kB / 0.9993 GB, free: 127.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/1.656, allocations: 364.6 kB / 0.9996 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005968/1.657, allocations: 0.5984 MB / 1 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005468/1.658, allocations: 456 kB / 1.001 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/1.658, allocations: 0 / 1.001 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001798/1.659, allocations: 1.277 MB / 1.002 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005268/1.66, allocations: 2.479 MB / 1.004 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/1.66, allocations: 7.875 kB / 1.004 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000866/1.661, allocations: 342.3 kB / 1.005 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005347/1.661, allocations: 148.2 kB / 1.005 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009887/1.662, allocations: 1.443 MB / 1.006 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007467/1.663, allocations: 49.36 kB / 1.006 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.003e-05/1.663, allocations: 43.22 kB / 1.006 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/1.663, allocations: 3.875 kB / 1.006 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001674/1.665, allocations: 1.186 MB / 1.007 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/1.665, allocations: 9.031 kB / 1.007 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006318/1.666, allocations: 318.2 kB / 1.008 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/1.666, allocations: 151.1 kB / 1.008 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008824/1.667, allocations: 1.428 MB / 1.009 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000694/1.668, allocations: 46.69 kB / 1.009 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-05/1.668, allocations: 43.23 kB / 1.009 GB, free: 120.6 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 () * 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.0003015/1.668, allocations: 198.7 kB / 1.01 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/1.668, allocations: 92.47 kB / 1.01 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002068/1.67, allocations: 1.131 MB / 1.011 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/1.67, allocations: 6.719 kB / 1.011 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.67, allocations: 3.938 kB / 1.011 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/1.67, allocations: 7.844 kB / 1.011 GB, free: 120 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00293/1.673, allocations: 1.979 MB / 1.013 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/1.673, allocations: 0 / 1.013 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003781/1.674, allocations: 82.58 kB / 1.013 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007782/1.674, allocations: 324.5 kB / 1.013 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/1.675, allocations: 18.84 kB / 1.013 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009704/1.675, allocations: 1.434 MB / 1.015 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.676, allocations: 3.469 kB / 1.015 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001914/1.677, allocations: 1.602 MB / 1.016 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004564/1.678, allocations: 263.6 kB / 1.016 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001269/1.678, allocations: 15.92 kB / 1.016 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/1.679, allocations: 51.56 kB / 1.016 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/1.679, allocations: 51.73 kB / 1.016 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/1.679, allocations: 25.06 kB / 1.017 GB, free: 117 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006633/1.679, allocations: 0.5739 MB / 1.017 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/1.679, allocations: 0 / 1.017 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002025/1.682, allocations: 0.7052 MB / 1.018 GB, free: 116.5 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) * 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.001387/1.683, allocations: 0.6443 MB / 1.018 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002585/1.686, allocations: 1.546 MB / 1.02 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.686, allocations: 0 / 1.02 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008542/1.686, allocations: 0.4914 MB / 1.02 GB, free: 115.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.688, allocations: 320.7 kB / 1.021 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002947/1.691, allocations: 1.296 MB / 1.022 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/1.692, allocations: 1.027 MB / 1.023 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001405/1.693, allocations: 396.8 kB / 1.023 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001893/1.693, allocations: 60.77 kB / 1.023 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/1.693, allocations: 0 / 1.023 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.03137/1.725, allocations: 23.3 MB / 1.046 GB, free: 107 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1)