Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001158/0.001158, allocations: 111 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.00132, allocations: 207.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2143/0.2143, allocations: 46.11 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 71.89 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3024, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.03155/0.3339, allocations: 32.58 MB / 0.5635 GB, free: 1.023 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02536/0.3593, allocations: 18.98 MB / 0.582 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.3612, allocations: 47.69 kB / 0.5821 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.3634, allocations: 0.6989 MB / 0.5827 GB, free: 13.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007101/0.3705, allocations: 2.588 MB / 0.5853 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01304/0.3836, allocations: 5.309 MB / 0.5904 GB, free: 5.352 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006314/0.3899, allocations: 4.529 MB / 0.5949 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002352/0.3923, allocations: 1.31 MB / 0.5961 GB, free: 15.47 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.3956, allocations: 1.717 MB / 0.5978 GB, free: 13.75 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003086/0.3987, allocations: 1.814 MB / 0.5996 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000729/0.3995, allocations: 180 kB / 0.5998 GB, free: 11.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006136/0.4056, allocations: 2.808 MB / 0.6025 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.407, allocations: 0.67 MB / 0.6032 GB, free: 8.266 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.4091, allocations: 0.9916 MB / 0.6041 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009402/0.4186, allocations: 4.231 MB / 0.6083 GB, free: 3.027 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4186, allocations: 4 kB / 0.6083 GB, free: 3.023 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4186, allocations: 0 / 0.6083 GB, free: 3.023 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.815e-05/0.4187, allocations: 0 / 0.6083 GB, free: 3.023 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.007393/0.4261, allocations: 2.491 MB / 0.6107 GB, free: 488 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.4262, allocations: 8.922 kB / 0.6107 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009511/0.4271, allocations: 197.8 kB / 0.6109 GB, free: 280 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002584/0.4297, allocations: 1.192 MB / 0.6121 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/0.4299, allocations: 183.2 kB / 0.6122 GB, free: 14.82 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000367/0.4303, allocations: 119.9 kB / 0.6124 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/0.4341, allocations: 1.934 MB / 0.6142 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.4342, allocations: 0 / 0.6142 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/0.4344, allocations: 47.97 kB / 0.6143 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001594/0.4345, allocations: 118.2 kB / 0.6144 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003422/0.438, allocations: 1.949 MB / 0.6163 GB, free: 10.58 MB / 478.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.0125/0.4505, allocations: 7.254 MB / 0.6234 GB, free: 2.957 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.4527, allocations: 1.4 MB / 0.6248 GB, free: 1.547 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.4539, allocations: 0.8431 MB / 0.6256 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006363/0.4603, allocations: 4.511 MB / 0.63 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.4604, allocations: 51.5 kB / 0.63 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000741/0.4611, allocations: 174.5 kB / 0.6302 GB, free: 11.54 MB / 494.1 MB Notification: Performance of pre-optimization done (n=118): time 4.849e-06/0.4611, allocations: 4 kB / 0.6302 GB, free: 11.54 MB / 494.1 MB Notification: Performance of matching and sorting (n=133): time 0.0212/0.4823, allocations: 6.585 MB / 0.6366 GB, free: 4.891 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001359/0.4825, allocations: 230.9 kB / 0.6369 GB, free: 4.617 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002112/0.4846, allocations: 1.371 MB / 0.6382 GB, free: 3.234 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002187/0.4849, allocations: 53.7 kB / 0.6382 GB, free: 3.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/0.4854, allocations: 0.6574 MB / 0.6389 GB, free: 2.512 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004757/0.4859, allocations: 465.3 kB / 0.6393 GB, free: 2.051 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006299/0.4866, allocations: 327.3 kB / 0.6396 GB, free: 1.723 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.4867, allocations: 305.1 kB / 0.6399 GB, free: 1.422 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/0.4882, allocations: 0.8363 MB / 0.6407 GB, free: 0.582 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001753/0.4899, allocations: 1.178 MB / 0.6419 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003155/0.4931, allocations: 1.948 MB / 0.6438 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.4931, allocations: 11.88 kB / 0.6438 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00477/0.4979, allocations: 2.617 MB / 0.6464 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.498, allocations: 8 kB / 0.6464 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-05/0.498, allocations: 8 kB / 0.6464 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009146/0.5071, allocations: 1.681 MB / 0.648 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/0.5087, allocations: 339.5 kB / 0.6484 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003023/0.5118, allocations: 1.781 MB / 0.6501 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.5134, allocations: 63.95 kB / 0.6502 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002641/0.5136, allocations: 75.95 kB / 0.6502 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002033/0.5157, allocations: 1.105 MB / 0.6513 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001703/0.5174, allocations: 1.155 MB / 0.6524 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003021/0.5204, allocations: 1.899 MB / 0.6543 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.743e-06/0.5205, allocations: 0 / 0.6543 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.00448/0.525, allocations: 2.432 MB / 0.6567 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.525, allocations: 11.98 kB / 0.6567 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.525, allocations: 15.94 kB / 0.6567 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005498/0.5305, allocations: 1.055 MB / 0.6577 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.532, allocations: 351.6 kB / 0.6581 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002122/0.5342, allocations: 1.458 MB / 0.6595 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001444/0.5356, allocations: 83.89 kB / 0.6596 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.5359, allocations: 75.95 kB / 0.6596 GB, free: 12.64 MB / 0.5137 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.0005219/0.5364, allocations: 272.1 kB / 0.6599 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004426/0.5368, allocations: 169.9 kB / 0.6601 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004824/0.5417, allocations: 2.557 MB / 0.6625 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.1e-05/0.5417, allocations: 11.91 kB / 0.6626 GB, free: 9.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5417, allocations: 4 kB / 0.6626 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009239/0.5427, allocations: 446.7 kB / 0.663 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003285/0.543, allocations: 32 kB / 0.663 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/0.5442, allocations: 59.95 kB / 0.6631 GB, free: 9.074 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002691/0.5444, allocations: 121.1 kB / 0.6632 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005669/0.5501, allocations: 2.466 MB / 0.6656 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004847/0.555, allocations: 2.958 MB / 0.6685 GB, free: 3.512 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001352/0.5564, allocations: 0.8651 MB / 0.6693 GB, free: 2.648 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001474/0.5579, allocations: 0.9187 MB / 0.6702 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of Backend: time 7.61e-07/0.5579, allocations: 0 / 0.6702 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01044/0.5683, allocations: 3.585 MB / 0.6737 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of SimCode: time 0.006883/0.5752, allocations: 4.262 MB / 0.6779 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of Templates: time 0.3041/0.8794, allocations: 55.6 MB / 0.7322 GB, free: 168 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1)