Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001825/0.001825, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 230.2 MB / 257.8 MB, free: 8.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2374/0.2374, allocations: 46.91 MB / 361.1 MB, free: 4.602 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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=5003,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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002232/0.002232, allocations: 75.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3334, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.03763/0.371, allocations: 33.1 MB / 0.5935 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0304/0.4014, allocations: 19.12 MB / 0.6122 GB, free: 0.625 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.4033, allocations: 47.69 kB / 0.6122 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002467/0.4058, allocations: 0.7067 MB / 0.6129 GB, free: 15.86 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00703/0.4128, allocations: 2.593 MB / 0.6155 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01351/0.4263, allocations: 5.281 MB / 0.6206 GB, free: 7.984 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.007454/0.4338, allocations: 4.54 MB / 0.6251 GB, free: 3.434 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002795/0.4366, allocations: 1.138 MB / 0.6262 GB, free: 2.266 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005322/0.4419, allocations: 1.729 MB / 0.6279 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004026/0.4459, allocations: 1.951 MB / 0.6298 GB, free: 14.57 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007246/0.4466, allocations: 180 kB / 0.6299 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006418/0.4531, allocations: 2.866 MB / 0.6327 GB, free: 11.53 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.4543, allocations: 0.6892 MB / 0.6334 GB, free: 10.84 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001976/0.4563, allocations: 0.9877 MB / 0.6344 GB, free: 9.844 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008954/0.4652, allocations: 4.299 MB / 0.6386 GB, free: 5.531 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4652, allocations: 0 / 0.6386 GB, free: 5.531 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4652, allocations: 0 / 0.6386 GB, free: 5.531 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.077e-05/0.4653, allocations: 4 kB / 0.6386 GB, free: 5.527 MB / 478.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.007818/0.4731, allocations: 2.535 MB / 0.641 GB, free: 2.93 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.4732, allocations: 8.031 kB / 0.6411 GB, free: 2.922 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009324/0.4741, allocations: 218.8 kB / 0.6413 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.4769, allocations: 1.197 MB / 0.6424 GB, free: 1.453 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002247/0.4771, allocations: 183.2 kB / 0.6426 GB, free: 1.254 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/0.4775, allocations: 123.9 kB / 0.6427 GB, free: 1.133 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/0.4814, allocations: 1.942 MB / 0.6446 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.4814, allocations: 7.984 kB / 0.6446 GB, free: 15.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000197/0.4816, allocations: 47.97 kB / 0.6447 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001781/0.4818, allocations: 114.2 kB / 0.6448 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/0.4855, allocations: 1.972 MB / 0.6467 GB, free: 12.97 MB / 494.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.01493/0.5005, allocations: 7.305 MB / 0.6538 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/0.503, allocations: 1.306 MB / 0.6551 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.5044, allocations: 0.7795 MB / 0.6559 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007755/0.5122, allocations: 4.505 MB / 0.6603 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/0.5122, allocations: 51.56 kB / 0.6603 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009224/0.5131, allocations: 183 kB / 0.6605 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=117): time 4.979e-06/0.5132, allocations: 0 / 0.6605 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=132): time 0.02173/0.5349, allocations: 6.592 MB / 0.6669 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000152/0.535, allocations: 218.9 kB / 0.6671 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.5374, allocations: 1.375 MB / 0.6685 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.5375, allocations: 53.7 kB / 0.6685 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006351/0.5382, allocations: 0.6858 MB / 0.6692 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004905/0.5387, allocations: 471.9 kB / 0.6697 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006366/0.5393, allocations: 335.4 kB / 0.67 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5394, allocations: 305.1 kB / 0.6703 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/0.541, allocations: 0.8246 MB / 0.6711 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.5429, allocations: 1.17 MB / 0.6722 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.5465, allocations: 1.927 MB / 0.6741 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-05/0.5465, allocations: 7.984 kB / 0.6741 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005469/0.552, allocations: 2.571 MB / 0.6766 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/0.552, allocations: 8 kB / 0.6766 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-05/0.552, allocations: 12.03 kB / 0.6766 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008008/0.56, allocations: 1.524 MB / 0.6781 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/0.5617, allocations: 335.5 kB / 0.6784 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.5651, allocations: 1.75 MB / 0.6802 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/0.567, allocations: 63.97 kB / 0.6802 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003143/0.5673, allocations: 75.95 kB / 0.6803 GB, free: 9.328 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002302/0.5696, allocations: 1.089 MB / 0.6814 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001969/0.5716, allocations: 1.155 MB / 0.6825 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00347/0.575, allocations: 1.883 MB / 0.6843 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.091e-05/0.575, allocations: 4 kB / 0.6843 GB, free: 4.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.005004/0.58, allocations: 2.414 MB / 0.6867 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.5801, allocations: 10.19 kB / 0.6867 GB, free: 2.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.5801, allocations: 12 kB / 0.6867 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005694/0.5858, allocations: 1.051 MB / 0.6877 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001671/0.5874, allocations: 351.5 kB / 0.6881 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.5899, allocations: 1.481 MB / 0.6895 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.5915, allocations: 67.95 kB / 0.6896 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/0.5918, allocations: 79.95 kB / 0.6897 GB, free: 15.43 MB / 0.5294 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,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0006219/0.5924, allocations: 275.8 kB / 0.6899 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005467/0.593, allocations: 174.9 kB / 0.6901 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005283/0.5982, allocations: 2.508 MB / 0.6925 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.38e-05/0.5983, allocations: 11.91 kB / 0.6925 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.5983, allocations: 4.125 kB / 0.6925 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.5993, allocations: 463.6 kB / 0.693 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003684/0.5997, allocations: 31.94 kB / 0.693 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.601, allocations: 67.94 kB / 0.6931 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002524/0.6012, allocations: 117.1 kB / 0.6932 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006316/0.6075, allocations: 2.447 MB / 0.6956 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005422/0.613, allocations: 2.967 MB / 0.6985 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001442/0.6144, allocations: 0.8104 MB / 0.6993 GB, free: 5.52 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00169/0.6161, allocations: 0.9226 MB / 0.7002 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of Backend: time 2.81e-07/0.6161, allocations: 0 / 0.7002 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01125/0.6273, allocations: 3.406 MB / 0.7035 GB, free: 1.176 MB / 0.5294 GB Notification: Performance of SimCode: time 0.009024/0.6364, allocations: 4.33 MB / 0.7077 GB, free: 12.8 MB / 0.545 GB Notification: Performance of Templates: time 0.3237/0.9601, allocations: 56.6 MB / 0.763 GB, free: 146.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.197223836090416] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank1.level', 'tank1.medium.T', 'tank2.level', 'tank2.medium.T', 'tank3.level', 'tank3.medium.T', 'valveDelayed.filter.x[1]', 'valveDelayed.filter.x[2]'] 0.9687584126368165 0.9777358309999999 0.510028903 Calling exit ...