Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001016/0.001017, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.006119/0.006119, allocations: 171.5 kB / 16.27 MB, free: 6.652 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.569/1.569, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3816/0.3816, allocations: 40 MB / 310.7 MB, free: 9.941 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.2. 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.0005773/0.0005773, allocations: 16.52 kB / 379.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.127, allocations: 57.95 MB / 437.4 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.2643/0.3913, allocations: 33.28 MB / 470.7 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02607/0.4175, allocations: 19.84 MB / 490.5 MB, free: 22.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003307/0.4208, allocations: 63 kB / 490.6 MB, free: 22.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002456/0.4233, allocations: 0.6023 MB / 491.2 MB, free: 21.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007946/0.4313, allocations: 2.383 MB / 493.6 MB, free: 20.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01523/0.4466, allocations: 4.368 MB / 497.9 MB, free: 18.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009756/0.4563, allocations: 6.569 MB / 0.4927 GB, free: 16.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003687/0.4601, allocations: 1.149 MB / 0.4938 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005526/0.4656, allocations: 1.443 MB / 0.4952 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00523/0.4709, allocations: 1.784 MB / 0.497 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0012/0.4722, allocations: 98.81 kB / 0.4971 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009606/0.4818, allocations: 2.698 MB / 0.4997 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002301/0.4841, allocations: 0.5889 MB / 0.5003 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003982/0.4881, allocations: 0.9207 MB / 0.5012 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01366/0.5018, allocations: 4.091 MB / 0.5052 GB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.5019, allocations: 0 / 0.5052 GB, free: 12.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.5019, allocations: 0 / 0.5052 GB, free: 12.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001436/0.5021, allocations: 1.062 kB / 0.5052 GB, free: 12.12 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.009428/0.5115, allocations: 2.149 MB / 0.5073 GB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/0.5116, allocations: 9.312 kB / 0.5073 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001732/0.5133, allocations: 199 kB / 0.5075 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/0.5173, allocations: 1.122 MB / 0.5086 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003428/0.5176, allocations: 186.9 kB / 0.5087 GB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008083/0.5185, allocations: 117.2 kB / 0.5088 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00633/0.5248, allocations: 1.937 MB / 0.5107 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.327e-05/0.5249, allocations: 3.984 kB / 0.5107 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004378/0.5254, allocations: 48.84 kB / 0.5108 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002578/0.5256, allocations: 121.4 kB / 0.5109 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004856/0.5305, allocations: 1.957 MB / 0.5128 GB, free: 7.148 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.01614/0.5467, allocations: 7.306 MB / 0.5199 GB, free: 1.551 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002604/0.5493, allocations: 1.41 MB / 0.5213 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001359/0.5507, allocations: 0.8487 MB / 0.5221 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008278/0.559, allocations: 4.528 MB / 0.5266 GB, free: 12.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.461e-05/0.5591, allocations: 50.06 kB / 0.5266 GB, free: 12.35 MB / 398.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001313/0.5605, allocations: 219.1 kB / 0.5268 GB, free: 12.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=118): time 8.626e-06/0.5605, allocations: 0 / 0.5268 GB, free: 12.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.02262/0.5831, allocations: 6.685 MB / 0.5334 GB, free: 5.629 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.5833, allocations: 226.9 kB / 0.5336 GB, free: 5.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.5858, allocations: 1.371 MB / 0.5349 GB, free: 3.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003245/0.5862, allocations: 53.7 kB / 0.535 GB, free: 3.914 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000652/0.5869, allocations: 0.665 MB / 0.5356 GB, free: 3.242 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006242/0.5875, allocations: 461.4 kB / 0.5361 GB, free: 2.785 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.5878, allocations: 141.6 kB / 0.5362 GB, free: 2.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.588, allocations: 305.1 kB / 0.5365 GB, free: 2.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.5896, allocations: 0.8315 MB / 0.5373 GB, free: 1.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.5916, allocations: 1.173 MB / 0.5384 GB, free: 208 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003491/0.5951, allocations: 1.968 MB / 0.5404 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/0.5951, allocations: 4 kB / 0.5404 GB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005581/0.6007, allocations: 2.621 MB / 0.5429 GB, free: 11.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004274/0.6012, allocations: 343.9 kB / 0.5432 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.984e-05/0.6013, allocations: 8 kB / 0.5433 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009338/0.6106, allocations: 1.715 MB / 0.5449 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001772/0.6124, allocations: 335.5 kB / 0.5453 GB, free: 8.988 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003437/0.6159, allocations: 1.781 MB / 0.547 GB, free: 7.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002194/0.6181, allocations: 99.84 kB / 0.5471 GB, free: 7.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003654/0.6185, allocations: 71.97 kB / 0.5472 GB, free: 7.012 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.6185, allocations: 4 kB / 0.5472 GB, free: 7.008 MB / 414.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004613/0.6232, allocations: 2.273 MB / 0.5494 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.529e-05/0.6232, allocations: 20.12 kB / 0.5494 GB, free: 4.707 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005494/0.6287, allocations: 1.062 MB / 0.5504 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.6305, allocations: 347.5 kB / 0.5508 GB, free: 3.301 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.633, allocations: 1.482 MB / 0.5522 GB, free: 1.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.6351, allocations: 100.2 kB / 0.5523 GB, free: 1.695 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003866/0.6355, allocations: 75.95 kB / 0.5524 GB, free: 1.621 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.0013/0.6368, allocations: 496.5 kB / 0.5529 GB, free: 1.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005785/0.6374, allocations: 165.9 kB / 0.553 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005266/0.6427, allocations: 2.567 MB / 0.5555 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-05/0.6427, allocations: 23.88 kB / 0.5555 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.6428, allocations: 0 / 0.5555 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/0.6428, allocations: 7.969 kB / 0.5556 GB, free: 14.35 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008259/0.651, allocations: 4.203 MB / 0.5597 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.6511, allocations: 0 / 0.5597 GB, free: 10.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.6523, allocations: 235.7 kB / 0.5599 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005478/0.6578, allocations: 1.318 MB / 0.5612 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002849/0.6581, allocations: 43.98 kB / 0.5612 GB, free: 8.488 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.6607, allocations: 1.804 MB / 0.563 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.6607, allocations: 4 kB / 0.563 GB, free: 6.66 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006176/0.6669, allocations: 3.486 MB / 0.5664 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00145/0.6684, allocations: 462.7 kB / 0.5668 GB, free: 2.676 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006294/0.6691, allocations: 31.94 kB / 0.5669 GB, free: 2.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/0.6708, allocations: 103.8 kB / 0.5669 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/0.6711, allocations: 117.1 kB / 0.5671 GB, free: 2.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001976/0.6713, allocations: 59.97 kB / 0.5671 GB, free: 2.371 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001637/0.673, allocations: 0.9226 MB / 0.568 GB, free: 1.449 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.673, allocations: 0 / 0.568 GB, free: 1.449 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00526/0.6782, allocations: 1.324 MB / 0.5693 GB, free: 128 kB / 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.003702/0.682, allocations: 0.9782 MB / 0.5703 GB, free: 15.14 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009067/0.6911, allocations: 3.286 MB / 0.5735 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/0.6911, allocations: 4.25 kB / 0.5735 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002905/0.694, allocations: 1.051 MB / 0.5745 GB, free: 10.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005644/0.6997, allocations: 0.7297 MB / 0.5752 GB, free: 10.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009589/0.7094, allocations: 4.301 MB / 0.5794 GB, free: 5.738 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.7107, allocations: 1.387 MB / 0.5808 GB, free: 4.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003065/0.7138, allocations: 0.6356 MB / 0.5814 GB, free: 3.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005582/0.7144, allocations: 151.3 kB / 0.5815 GB, free: 3.531 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.7144, allocations: 4 kB / 0.5815 GB, free: 3.527 MB / 446.1 MB Notification: Performance of Templates: time 0.07942/0.7938, allocations: 48.53 MB / 0.6289 GB, free: 2.977 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) Environment - environmentSimulation: