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.0009436/0.0009436, allocations: 95.66 kB / 17.35 MB, free: 6.375 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.001206/0.001206, allocations: 176.5 kB / 18.25 MB, free: 5.523 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.415/1.415, allocations: 223.3 MB / 242.3 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2038/0.2038, allocations: 44.25 MB / 337.7 MB, free: 2.492 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002979/0.0002979, allocations: 9.375 kB / 410.3 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1057, allocations: 61.92 MB / 472.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01852/0.1243, allocations: 16.65 MB / 488.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01144/0.1358, allocations: 7.173 MB / 496.1 MB, free: 5.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.1369, allocations: 31.75 kB / 496.1 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.138, allocations: 334.4 kB / 496.4 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.1411, allocations: 0.9569 MB / 497.4 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004821/0.1459, allocations: 1.664 MB / 499.1 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003448/0.1494, allocations: 3.073 MB / 0.4904 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.1505, allocations: 0.5628 MB / 0.4909 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001602/0.1521, allocations: 0.7356 MB / 0.4916 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001387/0.1535, allocations: 0.8137 MB / 0.4924 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002221/0.1538, allocations: 44 kB / 0.4925 GB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.1562, allocations: 1.283 MB / 0.4937 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004312/0.1567, allocations: 307 kB / 0.494 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006871/0.1574, allocations: 471.4 kB / 0.4945 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002999/0.1604, allocations: 1.92 MB / 0.4963 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1604, allocations: 0 / 0.4963 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1604, allocations: 0 / 0.4963 GB, free: 9.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.014e-05/0.1605, allocations: 4 kB / 0.4963 GB, free: 9.195 MB / 382.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.002841/0.1633, allocations: 1.217 MB / 0.4975 GB, free: 7.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.1634, allocations: 11.97 kB / 0.4975 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004607/0.1638, allocations: 111.8 kB / 0.4976 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001043/0.1649, allocations: 0.6204 MB / 0.4982 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.165, allocations: 104.7 kB / 0.4983 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.1651, allocations: 55.98 kB / 0.4984 GB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001691/0.1668, allocations: 1.011 MB / 0.4994 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.1669, allocations: 7.984 kB / 0.4994 GB, free: 5.906 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.076e-05/0.167, allocations: 35.92 kB / 0.4994 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.38e-05/0.167, allocations: 49.28 kB / 0.4995 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.1686, allocations: 0.9223 MB / 0.5004 GB, free: 4.898 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.006443/0.1751, allocations: 4.08 MB / 0.5044 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2054/0.3805, allocations: 0.6429 MB / 0.505 GB, free: 49.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008364/0.3814, allocations: 406.5 kB / 0.5054 GB, free: 49.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00308/0.3845, allocations: 2.35 MB / 0.5077 GB, free: 48.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008251/0.3853, allocations: 0.4919 MB / 0.5082 GB, free: 48.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 1.973e-06/0.3853, allocations: 0.5312 kB / 0.5082 GB, free: 48.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=53): time 0.005354/0.3907, allocations: 2.63 MB / 0.5107 GB, free: 47.39 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.3908, allocations: 245 kB / 0.511 GB, free: 47.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.3921, allocations: 0.8429 MB / 0.5118 GB, free: 46.76 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.3922, allocations: 34.83 kB / 0.5118 GB, free: 46.72 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003421/0.3925, allocations: 422 kB / 0.5122 GB, free: 46.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.3927, allocations: 174.5 kB / 0.5124 GB, free: 46.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/0.3929, allocations: 73.11 kB / 0.5125 GB, free: 46.22 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.3931, allocations: 340.7 kB / 0.5128 GB, free: 45.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/0.3938, allocations: 367.8 kB / 0.5131 GB, free: 45.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009751/0.3948, allocations: 0.6168 MB / 0.5137 GB, free: 45.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.3965, allocations: 0.9652 MB / 0.5147 GB, free: 44.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.787e-06/0.3965, allocations: 1.188 kB / 0.5147 GB, free: 44.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002937/0.3995, allocations: 1.269 MB / 0.5159 GB, free: 44.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/0.3997, allocations: 320.8 kB / 0.5162 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/0.3997, allocations: 6.031 kB / 0.5162 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.4007, allocations: 366.3 kB / 0.5166 GB, free: 43.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.4013, allocations: 153.1 kB / 0.5167 GB, free: 43.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.4028, allocations: 1.449 MB / 0.5181 GB, free: 42.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008806/0.4037, allocations: 47.58 kB / 0.5182 GB, free: 42.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.4038, allocations: 39.03 kB / 0.5182 GB, free: 42.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4038, allocations: 6.953 kB / 0.5182 GB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002189/0.406, allocations: 1.178 MB / 0.5194 GB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.406, allocations: 6.188 kB / 0.5194 GB, free: 42.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00081/0.4068, allocations: 343.5 kB / 0.5197 GB, free: 42.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.4074, allocations: 156.4 kB / 0.5199 GB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001017/0.4084, allocations: 1.433 MB / 0.5213 GB, free: 40.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.4092, allocations: 60.53 kB / 0.5213 GB, free: 40.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.291e-05/0.4093, allocations: 35.83 kB / 0.5213 GB, free: 40.82 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 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1],$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0005197/0.4098, allocations: 396.4 kB / 0.5217 GB, free: 40.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001293/0.4099, allocations: 88.41 kB / 0.5218 GB, free: 40.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002016/0.4119, allocations: 1.101 MB / 0.5229 GB, free: 40.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.412, allocations: 6.812 kB / 0.5229 GB, free: 40.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.412, allocations: 4 kB / 0.5229 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.412, allocations: 3.484 kB / 0.5229 GB, free: 40.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.4145, allocations: 1.954 MB / 0.5248 GB, free: 39.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.4145, allocations: 0 / 0.5248 GB, free: 39.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.4149, allocations: 80.69 kB / 0.5249 GB, free: 39.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007695/0.4157, allocations: 356.4 kB / 0.5252 GB, free: 39.06 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.4158, allocations: 19.53 kB / 0.5252 GB, free: 39.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009641/0.4167, allocations: 1.44 MB / 0.5267 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4167, allocations: 1.469 kB / 0.5267 GB, free: 37.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.4187, allocations: 1.579 MB / 0.5282 GB, free: 36.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.419, allocations: 255.3 kB / 0.5284 GB, free: 36.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.4192, allocations: 15.94 kB / 0.5285 GB, free: 36.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.4197, allocations: 47.69 kB / 0.5285 GB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/0.4199, allocations: 48.08 kB / 0.5285 GB, free: 36.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.4199, allocations: 23.8 kB / 0.5286 GB, free: 36.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006754/0.4206, allocations: 0.5811 MB / 0.5291 GB, free: 36.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4206, allocations: 0 / 0.5291 GB, free: 36.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001727/0.4224, allocations: 0.6245 MB / 0.5297 GB, free: 36.27 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,1), (3,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001038/0.4234, allocations: 0.4952 MB / 0.5302 GB, free: 36.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.4259, allocations: 1.577 MB / 0.5318 GB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4259, allocations: 2.812 kB / 0.5318 GB, free: 35.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009041/0.4268, allocations: 0.4922 MB / 0.5323 GB, free: 34.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001549/0.4284, allocations: 342.2 kB / 0.5326 GB, free: 34.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.4308, allocations: 2.085 MB / 0.5346 GB, free: 32.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4311, allocations: 1.014 MB / 0.5356 GB, free: 31.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009202/0.4321, allocations: 320.1 kB / 0.5359 GB, free: 31.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001672/0.4322, allocations: 67.42 kB / 0.536 GB, free: 31.2 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4323, allocations: 0 / 0.536 GB, free: 31.2 MB / 382.1 MB Notification: Performance of Templates: time 0.02745/0.4597, allocations: 21.65 MB / 0.5571 GB, free: 9.73 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)