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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009262/0.0009258, allocations: 96.86 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009375/0.0009375, allocations: 178.6 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1842/0.1842, allocations: 44.23 MB / 337.1 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003116, allocations: 8 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1362, allocations: 61.92 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01529/0.1515, allocations: 14.36 MB / 485.8 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008639/0.1602, allocations: 6.173 MB / 492 MB, free: 9.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007346/0.161, allocations: 23.81 kB / 492 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008895/0.1619, allocations: 334.5 kB / 492.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.164, allocations: 0.837 MB / 493.2 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003735/0.1678, allocations: 1.527 MB / 494.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.1699, allocations: 1.235 MB / 495.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008457/0.1708, allocations: 0.5494 MB / 496.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.1719, allocations: 0.6699 MB / 497.2 MB, free: 4 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007258/0.1726, allocations: 0.5568 MB / 497.7 MB, free: 3.441 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1727, allocations: 40 kB / 497.8 MB, free: 3.402 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002264/0.175, allocations: 1.166 MB / 498.9 MB, free: 2.234 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000316/0.1753, allocations: 271.2 kB / 499.2 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.1756, allocations: 189.3 kB / 499.4 MB, free: 1.777 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.1774, allocations: 1.396 MB / 0.489 GB, free: 388 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1774, allocations: 0 / 0.489 GB, free: 388 kB / 366.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1774, allocations: 3.938 kB / 0.489 GB, free: 384 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.1774, allocations: 0 / 0.489 GB, free: 384 kB / 366.1 MB 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.002633/0.1801, allocations: 1.217 MB / 0.4902 GB, free: 15.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1801, allocations: 12.56 kB / 0.4902 GB, free: 15.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003729/0.1805, allocations: 110.9 kB / 0.4903 GB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.1815, allocations: 0.605 MB / 0.4909 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.1816, allocations: 100.7 kB / 0.491 GB, free: 14.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.549e-05/0.1817, allocations: 55.98 kB / 0.4911 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.1832, allocations: 1.007 MB / 0.4921 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.854e-05/0.1833, allocations: 0 / 0.4921 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.561e-05/0.1833, allocations: 31.94 kB / 0.4921 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.185e-05/0.1834, allocations: 49.28 kB / 0.4921 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001375/0.1848, allocations: 0.9145 MB / 0.493 GB, free: 12.12 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/0.1908, allocations: 4.123 MB / 0.4971 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009554/0.1918, allocations: 0.6333 MB / 0.4977 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003196/0.195, allocations: 2.389 MB / 0.5 GB, free: 4.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006977/0.1957, allocations: 491.2 kB / 0.5005 GB, free: 4.008 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.783e-06/0.1957, allocations: 0 / 0.5005 GB, free: 4.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.005259/0.201, allocations: 2.693 MB / 0.5031 GB, free: 1.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.2012, allocations: 243.8 kB / 0.5033 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009853/0.2021, allocations: 0.833 MB / 0.5042 GB, free: 44 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/0.2022, allocations: 37.7 kB / 0.5042 GB, free: 0 / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/0.4033, allocations: 414.8 kB / 0.5046 GB, free: 50.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/0.4036, allocations: 178.9 kB / 0.5048 GB, free: 50 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.4037, allocations: 15.44 kB / 0.5048 GB, free: 50 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.851e-05/0.4038, allocations: 339.4 kB / 0.5051 GB, free: 49.69 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007041/0.4045, allocations: 364.1 kB / 0.5054 GB, free: 49.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/0.4053, allocations: 0.6057 MB / 0.506 GB, free: 49.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.4061, allocations: 454.9 kB / 0.5065 GB, free: 49.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.882e-06/0.4061, allocations: 1.562 kB / 0.5065 GB, free: 49.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002556/0.4087, allocations: 1.254 MB / 0.5077 GB, free: 49.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006221/0.4093, allocations: 2.56 MB / 0.5102 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.004e-05/0.4094, allocations: 6.469 kB / 0.5102 GB, free: 46.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4104, allocations: 361.8 kB / 0.5105 GB, free: 46.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.4111, allocations: 148.5 kB / 0.5107 GB, free: 46.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.4123, allocations: 1.459 MB / 0.5121 GB, free: 45.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009018/0.4132, allocations: 42.92 kB / 0.5122 GB, free: 45.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/0.4133, allocations: 36.09 kB / 0.5122 GB, free: 45.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4133, allocations: 6.781 kB / 0.5122 GB, free: 45.1 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00207/0.4154, allocations: 1.174 MB / 0.5133 GB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.4154, allocations: 6.531 kB / 0.5133 GB, free: 44.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008642/0.4163, allocations: 352.1 kB / 0.5137 GB, free: 44.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006141/0.4169, allocations: 152.8 kB / 0.5138 GB, free: 44.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001081/0.418, allocations: 1.428 MB / 0.5152 GB, free: 43.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007875/0.4188, allocations: 47.2 kB / 0.5153 GB, free: 43.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.184e-05/0.4189, allocations: 37.48 kB / 0.5153 GB, free: 43.36 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (85): * Single equations (assignments): 82 * 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.0006089/0.4195, allocations: 399.2 kB / 0.5157 GB, free: 43.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001468/0.4197, allocations: 90.91 kB / 0.5158 GB, free: 43.01 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001973/0.4217, allocations: 1.094 MB / 0.5168 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4217, allocations: 10.16 kB / 0.5169 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.4217, allocations: 1.188 kB / 0.5169 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4217, allocations: 2.016 kB / 0.5169 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003036/0.4248, allocations: 1.945 MB / 0.5188 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.4248, allocations: 4.188 kB / 0.5188 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004741/0.4253, allocations: 77.86 kB / 0.5188 GB, free: 41.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009881/0.4263, allocations: 355 kB / 0.5192 GB, free: 41.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.875e-05/0.4263, allocations: 15.97 kB / 0.5192 GB, free: 41.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.4275, allocations: 1.441 MB / 0.5206 GB, free: 40.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.4275, allocations: 5.031 kB / 0.5206 GB, free: 40.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/0.4298, allocations: 1.563 MB / 0.5221 GB, free: 39.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005498/0.4304, allocations: 266.8 kB / 0.5224 GB, free: 39.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.4305, allocations: 15.41 kB / 0.5224 GB, free: 39.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006206/0.4312, allocations: 46.23 kB / 0.5224 GB, free: 39.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001517/0.4313, allocations: 52.75 kB / 0.5225 GB, free: 39.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.677e-05/0.4314, allocations: 23.78 kB / 0.5225 GB, free: 39.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008082/0.4322, allocations: 0.578 MB / 0.5231 GB, free: 39.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4322, allocations: 0 / 0.5231 GB, free: 39.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001746/0.434, allocations: 0.6236 MB / 0.5237 GB, free: 39.24 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.level,tank.medium.T) * 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.001108/0.4351, allocations: 497.9 kB / 0.5242 GB, free: 39.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002825/0.4379, allocations: 1.562 MB / 0.5257 GB, free: 38.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.438, allocations: 0 / 0.5257 GB, free: 38.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.4389, allocations: 0.4974 MB / 0.5262 GB, free: 38.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00151/0.4404, allocations: 335.2 kB / 0.5265 GB, free: 38.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.443, allocations: 1.984 MB / 0.5284 GB, free: 37.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.4434, allocations: 1.03 MB / 0.5294 GB, free: 36.22 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001011/0.4444, allocations: 326 kB / 0.5297 GB, free: 36.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.4446, allocations: 70.11 kB / 0.5298 GB, free: 36.05 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4446, allocations: 0 / 0.5298 GB, free: 36.05 MB / 382.1 MB Notification: Performance of Templates: time 0.02803/0.4727, allocations: 21.05 MB / 0.5504 GB, free: 16.41 MB / 382.1 MB 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)