Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tank1.level|tank1.medium.T|tank2.level|tank2.medium.T|tank3.level|tank3.medium.T|valveDelayed.filter.x.1.|valveDelayed.filter.x.2.",fileNamePrefix="ModelicaTest_3.2.3_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.001034/0.001034, allocations: 114.7 kB / 17.09 MB, free: 5.934 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.001007/0.001007, allocations: 198.1 kB / 18.02 MB, free: 5.023 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.291/1.291, allocations: 205.1 MB / 223.9 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1994/0.1994, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 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: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 71.89 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1203, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.03205/0.1524, allocations: 32.39 MB / 0.5202 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.2485/0.4009, allocations: 18.95 MB / 0.5387 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001805/0.4028, allocations: 46.75 kB / 0.5387 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001828/0.4046, allocations: 0.6935 MB / 0.5394 GB, free: 3.348 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006173/0.4108, allocations: 2.537 MB / 0.5419 GB, free: 3.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01629/0.4271, allocations: 5.326 MB / 0.5471 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007652/0.4348, allocations: 4.511 MB / 0.5515 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002691/0.4375, allocations: 1.304 MB / 0.5528 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004089/0.4416, allocations: 1.707 MB / 0.5544 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003868/0.4455, allocations: 1.812 MB / 0.5562 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009308/0.4465, allocations: 180.1 kB / 0.5564 GB, free: 1.824 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007829/0.4543, allocations: 2.777 MB / 0.5591 GB, free: 1.695 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001632/0.456, allocations: 0.6703 MB / 0.5597 GB, free: 1.621 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002775/0.4587, allocations: 0.9871 MB / 0.5607 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008647/0.4674, allocations: 4.232 MB / 0.5648 GB, free: 14.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4674, allocations: 0 / 0.5648 GB, free: 14.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4674, allocations: 0 / 0.5648 GB, free: 14.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.421e-05/0.4675, allocations: 0 / 0.5648 GB, free: 14.82 MB / 430.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.007191/0.4747, allocations: 2.477 MB / 0.5673 GB, free: 13.08 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.4748, allocations: 12.19 kB / 0.5673 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008872/0.4757, allocations: 207.8 kB / 0.5675 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.4781, allocations: 1.187 MB / 0.5686 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.4783, allocations: 187.8 kB / 0.5688 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000323/0.4786, allocations: 112.7 kB / 0.5689 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/0.4822, allocations: 1.925 MB / 0.5708 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.4822, allocations: 6.531 kB / 0.5708 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001976/0.4824, allocations: 54.86 kB / 0.5709 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/0.4826, allocations: 112.8 kB / 0.571 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003288/0.4859, allocations: 1.949 MB / 0.5729 GB, free: 9.715 MB / 430.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.01245/0.4984, allocations: 7.267 MB / 0.58 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.5005, allocations: 1.405 MB / 0.5813 GB, free: 2.191 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/0.5018, allocations: 0.8407 MB / 0.5822 GB, free: 1.352 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006193/0.508, allocations: 4.505 MB / 0.5866 GB, free: 12.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.508, allocations: 47.56 kB / 0.5866 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008096/0.5089, allocations: 185.5 kB / 0.5868 GB, free: 12.23 MB / 446.1 MB Notification: Performance of pre-optimization done (n=118): time 4.98e-06/0.5089, allocations: 0 / 0.5868 GB, free: 12.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.01948/0.5284, allocations: 6.586 MB / 0.5932 GB, free: 5.613 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5285, allocations: 226.9 kB / 0.5934 GB, free: 5.344 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002066/0.5306, allocations: 1.371 MB / 0.5948 GB, free: 3.961 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.5307, allocations: 53.7 kB / 0.5948 GB, free: 3.902 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/0.5314, allocations: 0.6637 MB / 0.5955 GB, free: 3.238 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004646/0.5318, allocations: 468.2 kB / 0.5959 GB, free: 2.785 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006249/0.5325, allocations: 319.4 kB / 0.5962 GB, free: 2.465 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.5326, allocations: 305.1 kB / 0.5965 GB, free: 2.164 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00143/0.534, allocations: 0.8324 MB / 0.5973 GB, free: 1.328 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001589/0.5356, allocations: 1.174 MB / 0.5985 GB, free: 24 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003077/0.5387, allocations: 1.953 MB / 0.6004 GB, free: 13.96 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.5387, allocations: 7.938 kB / 0.6004 GB, free: 13.96 MB / 462.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00446/0.5432, allocations: 2.609 MB / 0.6029 GB, free: 11.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5432, allocations: 12 kB / 0.6029 GB, free: 11.33 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.509e-05/0.5433, allocations: 11.98 kB / 0.6029 GB, free: 11.32 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.5533, allocations: 1.684 MB / 0.6046 GB, free: 9.633 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.5548, allocations: 331.5 kB / 0.6049 GB, free: 9.309 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.5576, allocations: 1.789 MB / 0.6067 GB, free: 7.492 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/0.5591, allocations: 63.95 kB / 0.6067 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002274/0.5594, allocations: 75.95 kB / 0.6068 GB, free: 7.355 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001926/0.5613, allocations: 1.101 MB / 0.6079 GB, free: 6.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001688/0.563, allocations: 1.155 MB / 0.609 GB, free: 4.953 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002931/0.566, allocations: 1.895 MB / 0.6108 GB, free: 2.934 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-05/0.566, allocations: 8.188 kB / 0.6109 GB, free: 2.926 MB / 462.1 MB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004212/0.5702, allocations: 2.436 MB / 0.6132 GB, free: 488 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.5702, allocations: 16.09 kB / 0.6132 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/0.5703, allocations: 11.94 kB / 0.6133 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005425/0.5757, allocations: 1.054 MB / 0.6143 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/0.5771, allocations: 351.4 kB / 0.6146 GB, free: 15.05 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001994/0.5791, allocations: 1.474 MB / 0.6161 GB, free: 13.55 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.5805, allocations: 71.95 kB / 0.6161 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001792/0.5807, allocations: 71.97 kB / 0.6162 GB, free: 13.41 MB / 478.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.0004386/0.5812, allocations: 283.9 kB / 0.6165 GB, free: 13.12 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/0.5816, allocations: 162 kB / 0.6166 GB, free: 12.96 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004593/0.5862, allocations: 2.56 MB / 0.6191 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.5862, allocations: 3.984 kB / 0.6191 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.5862, allocations: 3.984 kB / 0.6191 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/0.587, allocations: 450.6 kB / 0.6196 GB, free: 9.914 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/0.5874, allocations: 32 kB / 0.6196 GB, free: 9.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.5885, allocations: 71.94 kB / 0.6197 GB, free: 9.812 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/0.5888, allocations: 113.1 kB / 0.6198 GB, free: 9.703 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005357/0.5941, allocations: 2.473 MB / 0.6222 GB, free: 7.258 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004512/0.5987, allocations: 2.963 MB / 0.6251 GB, free: 4.277 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001239/0.5999, allocations: 0.856 MB / 0.6259 GB, free: 3.426 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001344/0.6013, allocations: 0.9187 MB / 0.6268 GB, free: 2.508 MB / 478.1 MB Notification: Performance of Backend: time 3.71e-07/0.6013, allocations: 0 / 0.6268 GB, free: 2.508 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009272/0.6105, allocations: 3.582 MB / 0.6303 GB, free: 14.99 MB / 494.1 MB Notification: Performance of SimCode: time 0.006587/0.6171, allocations: 4.268 MB / 0.6345 GB, free: 10.69 MB / 494.1 MB Notification: Performance of Templates: time 0.08632/0.7035, allocations: 56.93 MB / 0.6901 GB, free: 1.762 MB / 0.5294 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1)