Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001087/0.001087, allocations: 111.7 kB / 18.46 MB, free: 4.613 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.00113/0.00113, allocations: 186.1 kB / 19.39 MB, free: 3.691 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.308/1.308, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2008/0.2008, allocations: 44.19 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 71.89 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3082, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.0328/0.3411, allocations: 32.36 MB / 0.5512 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02765/0.3688, allocations: 18.97 MB / 0.5697 GB, free: 8.586 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001935/0.3708, allocations: 51.69 kB / 0.5698 GB, free: 8.535 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.3732, allocations: 0.6911 MB / 0.5704 GB, free: 7.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007203/0.3805, allocations: 2.582 MB / 0.5729 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01374/0.3942, allocations: 5.313 MB / 0.5781 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006557/0.4008, allocations: 4.528 MB / 0.5826 GB, free: 11.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002209/0.403, allocations: 1.306 MB / 0.5838 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003164/0.4062, allocations: 1.709 MB / 0.5855 GB, free: 8.363 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003114/0.4093, allocations: 1.814 MB / 0.5873 GB, free: 6.543 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006357/0.41, allocations: 176 kB / 0.5874 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005874/0.4159, allocations: 2.788 MB / 0.5902 GB, free: 3.578 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.4171, allocations: 0.6701 MB / 0.5908 GB, free: 2.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.4193, allocations: 0.9799 MB / 0.5918 GB, free: 1.922 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008962/0.4282, allocations: 4.252 MB / 0.5959 GB, free: 13.65 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.4283, allocations: 0 / 0.5959 GB, free: 13.65 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.4283, allocations: 0 / 0.5959 GB, free: 13.65 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.216e-05/0.4284, allocations: 0 / 0.5959 GB, free: 13.65 MB / 462.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.006877/0.4353, allocations: 2.566 MB / 0.5984 GB, free: 11.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.693e-05/0.4353, allocations: 8.031 kB / 0.5984 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007608/0.4361, allocations: 214.8 kB / 0.5986 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.4382, allocations: 1.193 MB / 0.5998 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000168/0.4384, allocations: 183.2 kB / 0.6 GB, free: 9.355 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.4387, allocations: 116 kB / 0.6001 GB, free: 9.242 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/0.442, allocations: 1.927 MB / 0.602 GB, free: 7.242 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.442, allocations: 8 kB / 0.602 GB, free: 7.234 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.4422, allocations: 47.97 kB / 0.602 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001577/0.4423, allocations: 114.2 kB / 0.6021 GB, free: 7.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003355/0.4457, allocations: 1.953 MB / 0.6041 GB, free: 5.113 MB / 462.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.01263/0.4584, allocations: 7.289 MB / 0.6112 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002281/0.4607, allocations: 1.404 MB / 0.6125 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.462, allocations: 0.8479 MB / 0.6134 GB, free: 11.19 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00631/0.4683, allocations: 4.507 MB / 0.6178 GB, free: 6.27 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.4684, allocations: 47.56 kB / 0.6178 GB, free: 6.211 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007726/0.4692, allocations: 183 kB / 0.618 GB, free: 6.031 MB / 478.1 MB Notification: Performance of pre-optimization done (n=118): time 4.037e-06/0.4692, allocations: 0 / 0.618 GB, free: 6.031 MB / 478.1 MB Notification: Performance of matching and sorting (n=133): time 0.01969/0.4889, allocations: 6.621 MB / 0.6245 GB, free: 15.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.489, allocations: 222.9 kB / 0.6247 GB, free: 15.08 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002025/0.4911, allocations: 1.375 MB / 0.626 GB, free: 13.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/0.4912, allocations: 53.7 kB / 0.6261 GB, free: 13.63 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005675/0.4918, allocations: 0.6741 MB / 0.6267 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004275/0.4922, allocations: 483.9 kB / 0.6272 GB, free: 12.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005789/0.4928, allocations: 323.5 kB / 0.6275 GB, free: 12.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.4929, allocations: 305.1 kB / 0.6278 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.4944, allocations: 0.8324 MB / 0.6286 GB, free: 11.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001786/0.4962, allocations: 1.181 MB / 0.6297 GB, free: 9.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/0.4993, allocations: 1.944 MB / 0.6316 GB, free: 7.652 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.4994, allocations: 7.938 kB / 0.6317 GB, free: 7.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004646/0.504, allocations: 2.618 MB / 0.6342 GB, free: 5.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5041, allocations: 8.719 kB / 0.6342 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/0.5041, allocations: 16 kB / 0.6342 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009475/0.5136, allocations: 1.68 MB / 0.6359 GB, free: 3.312 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001616/0.5152, allocations: 331.5 kB / 0.6362 GB, free: 2.988 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.5182, allocations: 1.797 MB / 0.6379 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001411/0.5197, allocations: 63.95 kB / 0.638 GB, free: 1.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002048/0.5199, allocations: 71.97 kB / 0.6381 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001878/0.5218, allocations: 1.101 MB / 0.6392 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001639/0.5234, allocations: 1.159 MB / 0.6403 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002993/0.5264, allocations: 1.899 MB / 0.6421 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.063e-06/0.5264, allocations: 4 kB / 0.6421 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004477/0.5309, allocations: 2.441 MB / 0.6445 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5309, allocations: 8.188 kB / 0.6445 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.172e-05/0.531, allocations: 12 kB / 0.6445 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005642/0.5366, allocations: 1.062 MB / 0.6456 GB, free: 9.051 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.5381, allocations: 347.5 kB / 0.6459 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.5403, allocations: 1.466 MB / 0.6473 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.5417, allocations: 75.89 kB / 0.6474 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.5419, allocations: 75.97 kB / 0.6475 GB, free: 7.07 MB / 0.4981 GB 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.0004903/0.5424, allocations: 285.5 kB / 0.6478 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.5428, allocations: 174.9 kB / 0.6479 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.5476, allocations: 2.55 MB / 0.6504 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.5477, allocations: 7.922 kB / 0.6504 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.5477, allocations: 7.922 kB / 0.6504 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008066/0.5485, allocations: 455.7 kB / 0.6509 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003129/0.5488, allocations: 32 kB / 0.6509 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/0.5499, allocations: 63.94 kB / 0.651 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.5502, allocations: 117.1 kB / 0.6511 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005697/0.5559, allocations: 2.474 MB / 0.6535 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004863/0.5608, allocations: 2.971 MB / 0.6564 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001354/0.5622, allocations: 0.8612 MB / 0.6572 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001304/0.5635, allocations: 0.9187 MB / 0.6581 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of Backend: time 5.01e-07/0.5635, allocations: 8 kB / 0.6581 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009014/0.5725, allocations: 3.605 MB / 0.6617 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of SimCode: time 0.00665/0.5792, allocations: 4.3 MB / 0.6659 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of Templates: time 0.2884/0.8676, allocations: 55.67 MB / 0.7202 GB, free: 180.8 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1)