Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 209.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.435/1.435, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.221/0.221, allocations: 46.97 MB / 361.6 MB, free: 4.059 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 67.91 kB / 0.4973 GB, free: 7.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.332, allocations: 66.04 MB / 0.5618 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve): time 0.03506/0.3671, allocations: 29.78 MB / 0.5909 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02632/0.3934, allocations: 17.19 MB / 0.6077 GB, free: 5.098 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001596/0.395, allocations: 67.38 kB / 0.6078 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.3968, allocations: 0.6872 MB / 0.6084 GB, free: 4.34 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006455/0.4032, allocations: 2.636 MB / 0.611 GB, free: 1.691 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01255/0.4158, allocations: 5.429 MB / 0.6163 GB, free: 12.27 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006399/0.4222, allocations: 4.731 MB / 0.6209 GB, free: 7.523 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001757/0.4239, allocations: 1.151 MB / 0.622 GB, free: 6.34 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003045/0.427, allocations: 1.783 MB / 0.6238 GB, free: 4.551 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002989/0.43, allocations: 1.954 MB / 0.6257 GB, free: 2.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003782/0.4304, allocations: 180 kB / 0.6259 GB, free: 2.414 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004723/0.4351, allocations: 2.332 MB / 0.6281 GB, free: 80 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008489/0.4359, allocations: 0.697 MB / 0.6288 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.4371, allocations: 0.8247 MB / 0.6296 GB, free: 14.55 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006692/0.4438, allocations: 4.17 MB / 0.6337 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4438, allocations: 0 / 0.6337 GB, free: 10.37 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4438, allocations: 0 / 0.6337 GB, free: 10.37 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.297e-05/0.4438, allocations: 3.938 kB / 0.6337 GB, free: 10.36 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.006284/0.4501, allocations: 2.467 MB / 0.6361 GB, free: 7.852 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.4501, allocations: 8.031 kB / 0.6361 GB, free: 7.844 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006433/0.4508, allocations: 210.8 kB / 0.6363 GB, free: 7.637 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.4531, allocations: 1.109 MB / 0.6374 GB, free: 6.488 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.4533, allocations: 272.2 kB / 0.6377 GB, free: 6.184 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002388/0.4535, allocations: 116 kB / 0.6378 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003775/0.4573, allocations: 2.465 MB / 0.6402 GB, free: 3.402 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.4573, allocations: 7.953 kB / 0.6402 GB, free: 3.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.4575, allocations: 55.95 kB / 0.6403 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001691/0.4577, allocations: 114.2 kB / 0.6404 GB, free: 3.227 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/0.4611, allocations: 1.964 MB / 0.6423 GB, free: 1.254 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.01212/0.4732, allocations: 5.418 MB / 0.6476 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002296/0.4755, allocations: 1.295 MB / 0.6488 GB, free: 10.46 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.4768, allocations: 0.778 MB / 0.6496 GB, free: 9.684 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006081/0.4829, allocations: 2.604 MB / 0.6521 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.483, allocations: 51.56 kB / 0.6522 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007997/0.4838, allocations: 167.2 kB / 0.6523 GB, free: 6.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=117): time 3.928e-06/0.4838, allocations: 0 / 0.6523 GB, free: 6.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=132): time 0.02098/0.5047, allocations: 6.436 MB / 0.6586 GB, free: 392 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.5049, allocations: 222.9 kB / 0.6588 GB, free: 120 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.5066, allocations: 1.146 MB / 0.66 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001683/0.5068, allocations: 49.7 kB / 0.66 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005733/0.5073, allocations: 0.7003 MB / 0.6607 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/0.5078, allocations: 475.9 kB / 0.6611 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006099/0.5084, allocations: 327.4 kB / 0.6615 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5086, allocations: 309 kB / 0.6618 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.5101, allocations: 0.8285 MB / 0.6626 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001997/0.5121, allocations: 1.316 MB / 0.6638 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003289/0.5154, allocations: 1.935 MB / 0.6657 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.5154, allocations: 0 / 0.6657 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=202) (initialization): time 0.005027/0.5205, allocations: 2.551 MB / 0.6682 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.544e-05/0.5205, allocations: 11.94 kB / 0.6682 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.739e-05/0.5205, allocations: 8 kB / 0.6682 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00862/0.5291, allocations: 1.533 MB / 0.6697 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/0.5308, allocations: 331.5 kB / 0.6701 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003143/0.534, allocations: 1.75 MB / 0.6718 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.5354, allocations: 67.97 kB / 0.6718 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.5356, allocations: 79.95 kB / 0.6719 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00199/0.5376, allocations: 1.093 MB / 0.673 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001861/0.5395, allocations: 1.294 MB / 0.6742 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0031/0.5426, allocations: 1.887 MB / 0.6761 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.005e-06/0.5426, allocations: 7.938 kB / 0.6761 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of matching and sorting (n=202) (initialization_lambda0): time 0.004589/0.5472, allocations: 2.394 MB / 0.6784 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.5472, allocations: 11.94 kB / 0.6784 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.5472, allocations: 12 kB / 0.6785 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006123/0.5533, allocations: 1.059 MB / 0.6795 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.555, allocations: 343.5 kB / 0.6798 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.5573, allocations: 1.473 MB / 0.6813 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/0.5588, allocations: 76.08 kB / 0.6813 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001924/0.559, allocations: 79.95 kB / 0.6814 GB, free: 8.297 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,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0004809/0.5595, allocations: 271.8 kB / 0.6817 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003486/0.5598, allocations: 155.1 kB / 0.6818 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00509/0.5649, allocations: 2.5 MB / 0.6843 GB, free: 5.371 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.011e-05/0.5649, allocations: 7.969 kB / 0.6843 GB, free: 5.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.804e-06/0.5649, allocations: 3.938 kB / 0.6843 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009998/0.5659, allocations: 358.6 kB / 0.6846 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002609/0.5662, allocations: 36 kB / 0.6846 GB, free: 4.973 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.5672, allocations: 59.95 kB / 0.6847 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.5675, allocations: 121.1 kB / 0.6848 GB, free: 4.793 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005766/0.5733, allocations: 2.435 MB / 0.6872 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005067/0.5783, allocations: 2.948 MB / 0.6901 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001395/0.5797, allocations: 0.8143 MB / 0.6909 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001152/0.5809, allocations: 0.7572 MB / 0.6916 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of Backend: time 6.51e-07/0.5809, allocations: 4 kB / 0.6916 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009368/0.5902, allocations: 3.395 MB / 0.6949 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of SimCode: time 0.006936/0.5972, allocations: 4.239 MB / 0.6991 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of Templates: time 0.3097/0.9069, allocations: 57.57 MB / 0.7553 GB, free: 154.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.1988841950005735] 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.9161175930057652 0.924061406 0.47804768299999995 Calling exit ...