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.0008015/0.0008015, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004741/0.004741, allocations: 171.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.271/1.271, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.2676/0.2676, allocations: 38.03 MB / 308.8 MB, free: 10.38 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.0005887/0.0005887, allocations: 16 kB / 377.1 MB, free: 14.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1032, allocations: 57.51 MB / 434.6 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.2345/0.3377, allocations: 33.28 MB / 467.9 MB, free: 33.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02201/0.3598, allocations: 19.83 MB / 487.7 MB, free: 25.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.3618, allocations: 69.84 kB / 487.7 MB, free: 25.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.3634, allocations: 0.6067 MB / 488.4 MB, free: 24.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00607/0.3695, allocations: 2.389 MB / 490.7 MB, free: 23.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01061/0.3801, allocations: 4.352 MB / 495.1 MB, free: 21.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007215/0.3874, allocations: 6.572 MB / 0.4899 GB, free: 19.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002606/0.39, allocations: 1.153 MB / 0.491 GB, free: 18.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.3934, allocations: 1.432 MB / 0.4924 GB, free: 18.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003943/0.3973, allocations: 1.789 MB / 0.4942 GB, free: 17.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008093/0.3982, allocations: 94.12 kB / 0.4943 GB, free: 17.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006548/0.4047, allocations: 2.707 MB / 0.4969 GB, free: 16.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001896/0.4067, allocations: 0.5956 MB / 0.4975 GB, free: 16.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00347/0.4101, allocations: 0.9131 MB / 0.4984 GB, free: 16.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01247/0.4226, allocations: 4.098 MB / 0.5024 GB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4227, allocations: 0 / 0.5024 GB, free: 15 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.4227, allocations: 0.9688 kB / 0.5024 GB, free: 15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001844/0.4229, allocations: 0 / 0.5024 GB, free: 15 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.01051/0.4334, allocations: 2.14 MB / 0.5045 GB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.621e-05/0.4335, allocations: 8.812 kB / 0.5045 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001436/0.435, allocations: 202.4 kB / 0.5047 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/0.4379, allocations: 1.125 MB / 0.5058 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.4381, allocations: 186.4 kB / 0.506 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004862/0.4386, allocations: 117.5 kB / 0.5061 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004237/0.4429, allocations: 1.929 MB / 0.508 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.626e-05/0.4429, allocations: 1.156 kB / 0.508 GB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.4432, allocations: 47.41 kB / 0.508 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001864/0.4434, allocations: 121.9 kB / 0.5081 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00367/0.4471, allocations: 1.959 MB / 0.51 GB, free: 10.55 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.01332/0.4604, allocations: 7.306 MB / 0.5172 GB, free: 4.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002302/0.4627, allocations: 1.402 MB / 0.5185 GB, free: 4.227 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001304/0.4641, allocations: 0.8485 MB / 0.5194 GB, free: 3.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006608/0.4707, allocations: 4.539 MB / 0.5238 GB, free: 15.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.112e-05/0.4708, allocations: 50.25 kB / 0.5238 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001364/0.4722, allocations: 221.1 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of pre-optimization done (n=118): time 1.978e-05/0.4722, allocations: 0 / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.02067/0.4929, allocations: 6.696 MB / 0.5306 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/0.493, allocations: 230.9 kB / 0.5308 GB, free: 9.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.4958, allocations: 1.371 MB / 0.5322 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002501/0.4961, allocations: 49.7 kB / 0.5322 GB, free: 8.352 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006874/0.4968, allocations: 0.6612 MB / 0.5328 GB, free: 7.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/0.4973, allocations: 469.3 kB / 0.5333 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002641/0.4976, allocations: 133.6 kB / 0.5334 GB, free: 7.082 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.134e-05/0.4977, allocations: 305.1 kB / 0.5337 GB, free: 6.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.4992, allocations: 0.8354 MB / 0.5345 GB, free: 5.945 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.5009, allocations: 1.177 MB / 0.5357 GB, free: 4.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/0.5042, allocations: 1.96 MB / 0.5376 GB, free: 2.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.606e-05/0.5042, allocations: 4 kB / 0.5376 GB, free: 2.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.0048/0.509, allocations: 2.617 MB / 0.5402 GB, free: 15.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002631/0.5093, allocations: 344.1 kB / 0.5405 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/0.5093, allocations: 11.94 kB / 0.5405 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008828/0.5182, allocations: 1.715 MB / 0.5422 GB, free: 13.76 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.5196, allocations: 331.5 kB / 0.5425 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.5224, allocations: 1.785 MB / 0.5442 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.5241, allocations: 91.86 kB / 0.5443 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002375/0.5244, allocations: 75.95 kB / 0.5444 GB, free: 11.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.5244, allocations: 4 kB / 0.5444 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003984/0.5284, allocations: 2.273 MB / 0.5466 GB, free: 9.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.267e-05/0.5284, allocations: 8 kB / 0.5466 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005056/0.5335, allocations: 1.074 MB / 0.5477 GB, free: 8.086 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.5349, allocations: 347.5 kB / 0.548 GB, free: 7.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002148/0.5371, allocations: 1.482 MB / 0.5494 GB, free: 6.238 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.5387, allocations: 99.84 kB / 0.5495 GB, free: 6.141 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002079/0.539, allocations: 75.95 kB / 0.5496 GB, free: 6.066 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 (tank3.inFlow[1],tank3.regularFlow[1],tank2.inFlow[1],tank2.regularFlow[1],tank1.inFlow[1],tank1.regularFlow[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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(10,24)} Notification: Performance of prepare postOptimizeDAE: time 0.0009641/0.5399, allocations: 497.1 kB / 0.5501 GB, free: 5.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/0.5403, allocations: 162 kB / 0.5502 GB, free: 5.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004592/0.5449, allocations: 2.577 MB / 0.5528 GB, free: 2.824 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-05/0.545, allocations: 19.94 kB / 0.5528 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.545, allocations: 0 / 0.5528 GB, free: 2.805 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.911e-05/0.545, allocations: 11.91 kB / 0.5528 GB, free: 2.793 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006777/0.5518, allocations: 4.2 MB / 0.5569 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.5518, allocations: 0 / 0.5569 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.5529, allocations: 235.7 kB / 0.5571 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005145/0.558, allocations: 1.318 MB / 0.5584 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002506/0.5583, allocations: 43.98 kB / 0.5584 GB, free: 12.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002501/0.5608, allocations: 1.8 MB / 0.5602 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.5608, allocations: 4 kB / 0.5602 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005919/0.5668, allocations: 3.482 MB / 0.5636 GB, free: 7.602 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.5679, allocations: 462.6 kB / 0.564 GB, free: 7.129 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005526/0.5684, allocations: 39.94 kB / 0.5641 GB, free: 7.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.57, allocations: 99.77 kB / 0.5642 GB, free: 6.992 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002502/0.5703, allocations: 117.1 kB / 0.5643 GB, free: 6.879 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001603/0.5704, allocations: 55.97 kB / 0.5643 GB, free: 6.824 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001502/0.5719, allocations: 0.9305 MB / 0.5653 GB, free: 5.895 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5719, allocations: 0 / 0.5653 GB, free: 5.895 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005332/0.5773, allocations: 1.32 MB / 0.5665 GB, free: 4.574 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(10,39)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00376/0.5811, allocations: 0.9744 MB / 0.5675 GB, free: 3.59 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.007251/0.5883, allocations: 3.282 MB / 0.5707 GB, free: 304 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.5884, allocations: 1.875 kB / 0.5707 GB, free: 304 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002161/0.5905, allocations: 1.051 MB / 0.5717 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004178/0.5947, allocations: 0.7208 MB / 0.5724 GB, free: 14.52 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00707/0.6018, allocations: 4.317 MB / 0.5766 GB, free: 10.19 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/0.6029, allocations: 1.387 MB / 0.578 GB, free: 8.773 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00247/0.6054, allocations: 0.635 MB / 0.5786 GB, free: 8.133 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/0.6059, allocations: 143.4 kB / 0.5788 GB, free: 7.992 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.6059, allocations: 0 / 0.5788 GB, free: 7.992 MB / 446.1 MB Notification: Performance of Templates: time 0.07448/0.6804, allocations: 48.54 MB / 0.6262 GB, free: 7.422 MB / 494.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: