Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.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 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007474/0.0007474, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.0007923/0.0007924, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.276/1.276, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.319/0.319, allocations: 38.03 MB / 308.4 MB, free: 10.36 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005448/0.000545, allocations: 20 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1083, allocations: 57.53 MB / 434 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.2409/0.3492, allocations: 31.42 MB / 465.4 MB, free: 34.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01969/0.3689, allocations: 18.1 MB / 483.5 MB, free: 27.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001759/0.3707, allocations: 71.06 kB / 483.6 MB, free: 27.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.3723, allocations: 0.5778 MB / 484.1 MB, free: 27.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005247/0.3775, allocations: 2.371 MB / 486.5 MB, free: 25.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00958/0.3871, allocations: 4.06 MB / 490.6 MB, free: 24.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005825/0.393, allocations: 5.421 MB / 496 MB, free: 22.19 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.3947, allocations: 1.08 MB / 497.1 MB, free: 21.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003198/0.3979, allocations: 1.532 MB / 498.6 MB, free: 21.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003222/0.4011, allocations: 1.727 MB / 0.4886 GB, free: 20.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003442/0.4015, allocations: 100.8 kB / 0.4887 GB, free: 20.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005728/0.4072, allocations: 2.398 MB / 0.491 GB, free: 20.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.4083, allocations: 0.5756 MB / 0.4916 GB, free: 19.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007862/0.4091, allocations: 346.6 kB / 0.4919 GB, free: 19.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006/0.4151, allocations: 2.96 MB / 0.4948 GB, free: 19.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.4151, allocations: 0.75 kB / 0.4948 GB, free: 19.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4152, allocations: 0 / 0.4948 GB, free: 19.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.929e-05/0.4152, allocations: 0 / 0.4948 GB, free: 19.01 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.005961/0.4212, allocations: 2.157 MB / 0.4969 GB, free: 17.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4212, allocations: 9.906 kB / 0.4969 GB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006541/0.4219, allocations: 201.6 kB / 0.4971 GB, free: 17.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00193/0.4238, allocations: 1.08 MB / 0.4982 GB, free: 16.98 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.424, allocations: 189.2 kB / 0.4984 GB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002089/0.4242, allocations: 110.5 kB / 0.4985 GB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/0.4276, allocations: 1.927 MB / 0.5004 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/0.4277, allocations: 0 / 0.5004 GB, free: 16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.4278, allocations: 47.38 kB / 0.5004 GB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/0.428, allocations: 118.7 kB / 0.5005 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003288/0.4313, allocations: 1.952 MB / 0.5024 GB, free: 15.28 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.01168/0.443, allocations: 7.3 MB / 0.5095 GB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002108/0.4452, allocations: 1.401 MB / 0.5109 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001191/0.4464, allocations: 0.8473 MB / 0.5117 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006036/0.4524, allocations: 4.528 MB / 0.5162 GB, free: 4.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.4525, allocations: 58.72 kB / 0.5162 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009586/0.4534, allocations: 217.8 kB / 0.5164 GB, free: 4.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=118): time 3.046e-06/0.4534, allocations: 0 / 0.5164 GB, free: 4.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=133): time 0.01658/0.47, allocations: 6.642 MB / 0.5229 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.628e-05/0.4701, allocations: 221.5 kB / 0.5231 GB, free: 0.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/0.4719, allocations: 1.357 MB / 0.5245 GB, free: 15.92 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.472, allocations: 51.61 kB / 0.5245 GB, free: 15.88 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/0.4726, allocations: 0.6617 MB / 0.5251 GB, free: 15.29 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004089/0.473, allocations: 462.4 kB / 0.5256 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.4731, allocations: 31.09 kB / 0.5256 GB, free: 14.86 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4733, allocations: 370.6 kB / 0.526 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.4747, allocations: 0.8043 MB / 0.5268 GB, free: 13.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/0.4763, allocations: 1.158 MB / 0.5279 GB, free: 12.43 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/0.4778, allocations: 0.9344 MB / 0.5288 GB, free: 11.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/0.4778, allocations: 4 kB / 0.5288 GB, free: 11.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004732/0.4826, allocations: 2.578 MB / 0.5313 GB, free: 8.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004107/0.483, allocations: 344.1 kB / 0.5317 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.238e-05/0.483, allocations: 8 kB / 0.5317 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008363/0.4914, allocations: 1.695 MB / 0.5333 GB, free: 6.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.4929, allocations: 343.4 kB / 0.5336 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002746/0.4957, allocations: 1.781 MB / 0.5354 GB, free: 4.609 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.4974, allocations: 99.78 kB / 0.5355 GB, free: 4.512 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002027/0.4976, allocations: 79.95 kB / 0.5356 GB, free: 4.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4976, allocations: 4 kB / 0.5356 GB, free: 4.43 MB / 398.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004008/0.5017, allocations: 2.265 MB / 0.5378 GB, free: 2.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/0.5017, allocations: 12 kB / 0.5378 GB, free: 2.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004881/0.5066, allocations: 1.058 MB / 0.5388 GB, free: 1.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.508, allocations: 351.5 kB / 0.5391 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002207/0.5102, allocations: 1.48 MB / 0.5406 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.5118, allocations: 103.8 kB / 0.5407 GB, free: 15.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002189/0.5121, allocations: 75.91 kB / 0.5408 GB, free: 15.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 24} Notification: Performance of prepare postOptimizeDAE: time 0.001218/0.5133, allocations: 497.7 kB / 0.5412 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000547/0.5138, allocations: 166 kB / 0.5414 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005048/0.5189, allocations: 2.564 MB / 0.5439 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-05/0.5189, allocations: 19.98 kB / 0.5439 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.519, allocations: 0 / 0.5439 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.519, allocations: 15.95 kB / 0.5439 GB, free: 11.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007987/0.527, allocations: 4.192 MB / 0.548 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.527, allocations: 0 / 0.548 GB, free: 7.539 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.5282, allocations: 227.7 kB / 0.5482 GB, free: 7.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005011/0.5332, allocations: 1.322 MB / 0.5495 GB, free: 5.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002039/0.5334, allocations: 43.98 kB / 0.5496 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002693/0.5361, allocations: 1.797 MB / 0.5513 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5361, allocations: 0 / 0.5513 GB, free: 4.129 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006226/0.5424, allocations: 3.474 MB / 0.5547 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.5437, allocations: 466.6 kB / 0.5552 GB, free: 160 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005535/0.5443, allocations: 28 kB / 0.5552 GB, free: 132 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.5458, allocations: 100 kB / 0.5553 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002799/0.5461, allocations: 129.2 kB / 0.5554 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001882/0.5463, allocations: 55.97 kB / 0.5555 GB, free: 15.85 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001784/0.5481, allocations: 0.9109 MB / 0.5564 GB, free: 14.94 MB / 430.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.5481, allocations: 0 / 0.5564 GB, free: 14.94 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005895/0.554, allocations: 1.32 MB / 0.5576 GB, free: 13.62 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.level,tank1.medium.T,tank2.level,tank2.medium.T,tank3.level,tank3.medium.T,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 39} Notification: Performance of Backend phase and start with SimCode phase: time 0.003886/0.5579, allocations: 0.9585 MB / 0.5586 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007692/0.5656, allocations: 3.258 MB / 0.5618 GB, free: 9.383 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.5657, allocations: 4 kB / 0.5618 GB, free: 9.379 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002357/0.568, allocations: 1.047 MB / 0.5628 GB, free: 8.332 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00468/0.5727, allocations: 0.7202 MB / 0.5635 GB, free: 7.609 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008246/0.581, allocations: 4.135 MB / 0.5675 GB, free: 3.449 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.5824, allocations: 1.375 MB / 0.5689 GB, free: 2.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002814/0.5852, allocations: 0.6537 MB / 0.5695 GB, free: 1.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000546/0.5858, allocations: 143.4 kB / 0.5697 GB, free: 1.246 MB / 430.1 MB Notification: Performance of SimCode: time 2.234e-06/0.5858, allocations: 0 / 0.5697 GB, free: 1.246 MB / 430.1 MB Notification: Performance of Templates: time 0.07954/0.6653, allocations: 47.38 MB / 0.6159 GB, free: 1.832 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) Environment - environmentSimulation: