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.001119/0.001119, allocations: 111.7 kB / 18.46 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001227, allocations: 207.9 kB / 19.41 MB, free: 3.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 75.88 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.3023, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.03145/0.3338, allocations: 32.58 MB / 0.5635 GB, free: 1.055 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02508/0.3589, allocations: 18.97 MB / 0.582 GB, free: 14.04 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3609, allocations: 51.62 kB / 0.5821 GB, free: 13.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.363, allocations: 0.7027 MB / 0.5827 GB, free: 13.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006143/0.3691, allocations: 2.553 MB / 0.5852 GB, free: 10.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01182/0.381, allocations: 5.31 MB / 0.5904 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005959/0.3869, allocations: 4.517 MB / 0.5948 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001983/0.3889, allocations: 1.306 MB / 0.5961 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003007/0.392, allocations: 1.713 MB / 0.5978 GB, free: 13.83 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003095/0.3951, allocations: 1.822 MB / 0.5996 GB, free: 12 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004882/0.3956, allocations: 180 kB / 0.5997 GB, free: 11.83 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005251/0.4009, allocations: 2.812 MB / 0.6025 GB, free: 9.012 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007634/0.4016, allocations: 0.6622 MB / 0.6031 GB, free: 8.348 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.4028, allocations: 0.9838 MB / 0.6041 GB, free: 7.359 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005781/0.4086, allocations: 4.247 MB / 0.6082 GB, free: 3.102 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4086, allocations: 0 / 0.6082 GB, free: 3.102 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4087, allocations: 0 / 0.6082 GB, free: 3.102 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.4087, allocations: 0 / 0.6082 GB, free: 3.102 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.00533/0.414, allocations: 2.485 MB / 0.6107 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.4141, allocations: 8.922 kB / 0.6107 GB, free: 0.5508 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005561/0.4146, allocations: 201.8 kB / 0.6109 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/0.4163, allocations: 1.188 MB / 0.612 GB, free: 15.11 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001641/0.4165, allocations: 187.2 kB / 0.6122 GB, free: 14.9 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002189/0.4167, allocations: 115.9 kB / 0.6123 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/0.4198, allocations: 1.927 MB / 0.6142 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.4198, allocations: 4 kB / 0.6142 GB, free: 12.79 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001545/0.42, allocations: 51.95 kB / 0.6142 GB, free: 12.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001591/0.4201, allocations: 114.2 kB / 0.6143 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003218/0.4234, allocations: 1.953 MB / 0.6163 GB, free: 10.66 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.01208/0.4355, allocations: 7.25 MB / 0.6233 GB, free: 3.043 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.4375, allocations: 1.4 MB / 0.6247 GB, free: 1.633 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001215/0.4388, allocations: 0.8441 MB / 0.6255 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005849/0.4446, allocations: 4.511 MB / 0.6299 GB, free: 11.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/0.4447, allocations: 55.56 kB / 0.63 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007046/0.4454, allocations: 178.5 kB / 0.6302 GB, free: 11.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=118): time 3.897e-06/0.4454, allocations: 4 kB / 0.6302 GB, free: 11.61 MB / 494.1 MB Notification: Performance of matching and sorting (n=133): time 0.01955/0.465, allocations: 6.587 MB / 0.6366 GB, free: 4.965 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4651, allocations: 218.9 kB / 0.6368 GB, free: 4.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.467, allocations: 1.379 MB / 0.6381 GB, free: 3.312 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000167/0.4672, allocations: 53.7 kB / 0.6382 GB, free: 3.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/0.4677, allocations: 0.6613 MB / 0.6388 GB, free: 2.586 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.4681, allocations: 461.3 kB / 0.6393 GB, free: 2.129 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005525/0.4686, allocations: 327.4 kB / 0.6396 GB, free: 1.801 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/0.4687, allocations: 305.1 kB / 0.6399 GB, free: 1.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.4701, allocations: 0.8363 MB / 0.6407 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.4718, allocations: 1.182 MB / 0.6419 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/0.4747, allocations: 1.952 MB / 0.6438 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.4748, allocations: 4 kB / 0.6438 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00477/0.4795, allocations: 2.61 MB / 0.6463 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4796, allocations: 8 kB / 0.6463 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.649e-05/0.4796, allocations: 15.98 kB / 0.6463 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009725/0.4893, allocations: 1.681 MB / 0.648 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.4908, allocations: 331.5 kB / 0.6483 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002977/0.4938, allocations: 1.777 MB / 0.65 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.4953, allocations: 67.95 kB / 0.6501 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002087/0.4955, allocations: 79.95 kB / 0.6502 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001883/0.4974, allocations: 1.105 MB / 0.6513 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001625/0.499, allocations: 1.155 MB / 0.6524 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003002/0.502, allocations: 1.895 MB / 0.6542 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.018e-05/0.502, allocations: 4 kB / 0.6542 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of matching and sorting (n=203) (initialization_lambda0): time 0.004362/0.5064, allocations: 2.432 MB / 0.6566 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5064, allocations: 8 kB / 0.6566 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/0.5065, allocations: 11.98 kB / 0.6566 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005582/0.5121, allocations: 1.059 MB / 0.6577 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.5135, allocations: 351.4 kB / 0.658 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/0.5156, allocations: 1.465 MB / 0.6594 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.5169, allocations: 75.95 kB / 0.6595 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.5171, allocations: 71.97 kB / 0.6596 GB, free: 12.73 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.0004688/0.5176, allocations: 276.1 kB / 0.6598 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000422/0.518, allocations: 173.9 kB / 0.66 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00462/0.5226, allocations: 2.552 MB / 0.6625 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/0.5227, allocations: 11.91 kB / 0.6625 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.5227, allocations: 0 / 0.6625 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000749/0.5234, allocations: 442.7 kB / 0.6629 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/0.5237, allocations: 31.98 kB / 0.663 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/0.5248, allocations: 67.95 kB / 0.663 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.5251, allocations: 117.1 kB / 0.6631 GB, free: 9.047 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005382/0.5305, allocations: 2.466 MB / 0.6655 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004539/0.535, allocations: 2.962 MB / 0.6684 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001263/0.5363, allocations: 0.8633 MB / 0.6693 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001276/0.5376, allocations: 0.9226 MB / 0.6702 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of Backend: time 3.81e-07/0.5376, allocations: 0 / 0.6702 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008777/0.5464, allocations: 3.596 MB / 0.6737 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of SimCode: time 0.006293/0.5527, allocations: 4.253 MB / 0.6778 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of Templates: time 0.303/0.8557, allocations: 56.85 MB / 0.7334 GB, free: 166.9 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)