Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.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.001321/0.001321, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.002056/0.002056, allocations: 211 kB / 24.48 MB, free: 4.035 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.432/1.432, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2357/0.2357, allocations: 46.88 MB / 361.1 MB, free: 4.641 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.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|tank.level|tank.medium.T|timeTable.a|timeTable.b|timeTable.last|timeTable.nextEvent",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") [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.002286/0.002286, allocations: 75.88 kB / 0.4968 GB, free: 7.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3449, allocations: 65.99 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01935/0.3643, allocations: 17.09 MB / 0.5779 GB, free: 3.848 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.3745, allocations: 7.034 MB / 0.5848 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007251/0.3752, allocations: 19.88 kB / 0.5848 GB, free: 12.78 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009492/0.3762, allocations: 401.7 kB / 0.5852 GB, free: 12.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002474/0.3787, allocations: 1.038 MB / 0.5862 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004765/0.3834, allocations: 1.989 MB / 0.5881 GB, free: 9.363 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002893/0.3863, allocations: 2.203 MB / 0.5903 GB, free: 7.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009389/0.3873, allocations: 0.5474 MB / 0.5908 GB, free: 6.59 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3888, allocations: 0.8761 MB / 0.5917 GB, free: 5.711 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001327/0.3902, allocations: 0.8878 MB / 0.5925 GB, free: 4.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.3903, allocations: 84 kB / 0.5926 GB, free: 4.738 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002639/0.3929, allocations: 1.357 MB / 0.5939 GB, free: 3.379 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003696/0.3933, allocations: 346.9 kB / 0.5943 GB, free: 3.039 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005521/0.3939, allocations: 493.7 kB / 0.5947 GB, free: 2.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003033/0.3969, allocations: 2.04 MB / 0.5967 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3969, allocations: 0 / 0.5967 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3969, allocations: 0 / 0.5967 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.3969, allocations: 0 / 0.5967 GB, free: 0.5078 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.003128/0.4, allocations: 1.429 MB / 0.5981 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.4001, allocations: 12.03 kB / 0.5981 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003992/0.4005, allocations: 124.3 kB / 0.5982 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.4018, allocations: 0.6562 MB / 0.5989 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.4019, allocations: 112.7 kB / 0.599 GB, free: 14.06 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.402, allocations: 55.98 kB / 0.599 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.4037, allocations: 1.007 MB / 0.6 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.4037, allocations: 3.938 kB / 0.6 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.662e-05/0.4038, allocations: 31.98 kB / 0.6001 GB, free: 12.92 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.944e-05/0.4038, allocations: 49.28 kB / 0.6001 GB, free: 12.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.4053, allocations: 0.9184 MB / 0.601 GB, free: 11.95 MB / 446.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.006536/0.4119, allocations: 4.062 MB / 0.605 GB, free: 7.691 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.4129, allocations: 0.6176 MB / 0.6056 GB, free: 7.066 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005799/0.4135, allocations: 370.1 kB / 0.6059 GB, free: 6.699 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003561/0.4171, allocations: 2.346 MB / 0.6082 GB, free: 4.102 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008078/0.4179, allocations: 499.2 kB / 0.6087 GB, free: 3.582 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 2.004e-06/0.4179, allocations: 0 / 0.6087 GB, free: 3.582 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.005682/0.4236, allocations: 2.626 MB / 0.6113 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001619/0.4237, allocations: 243.7 kB / 0.6115 GB, free: 0.5508 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.4248, allocations: 0.8447 MB / 0.6123 GB, free: 15.69 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-05/0.4249, allocations: 37.7 kB / 0.6124 GB, free: 15.65 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000422/0.4253, allocations: 428.5 kB / 0.6128 GB, free: 15.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.4255, allocations: 186.5 kB / 0.6129 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002818/0.4258, allocations: 170.5 kB / 0.6131 GB, free: 14.87 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.426, allocations: 337.9 kB / 0.6134 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006076/0.4266, allocations: 380.6 kB / 0.6138 GB, free: 14.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/0.4274, allocations: 0.6136 MB / 0.6144 GB, free: 13.43 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001342/0.4287, allocations: 0.9711 MB / 0.6153 GB, free: 12.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4287, allocations: 4 kB / 0.6153 GB, free: 12.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002283/0.431, allocations: 1.275 MB / 0.6166 GB, free: 11.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.322e-05/0.4311, allocations: 37.7 kB / 0.6166 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4311, allocations: 4 kB / 0.6166 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009795/0.4321, allocations: 365.7 kB / 0.617 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006023/0.4327, allocations: 155.7 kB / 0.6171 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.4341, allocations: 1.452 MB / 0.6185 GB, free: 8.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.4348, allocations: 39.97 kB / 0.6186 GB, free: 8.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.922e-05/0.4349, allocations: 32 kB / 0.6186 GB, free: 8.926 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008992/0.4358, allocations: 0.5722 MB / 0.6192 GB, free: 8.352 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000826/0.4366, allocations: 0.6183 MB / 0.6198 GB, free: 7.625 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001371/0.438, allocations: 0.9641 MB / 0.6207 GB, free: 6.559 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.576e-06/0.438, allocations: 0 / 0.6207 GB, free: 6.559 MB / 462.1 MB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002216/0.4402, allocations: 1.263 MB / 0.6219 GB, free: 5.273 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.4402, allocations: 43.73 kB / 0.622 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.4402, allocations: 8 kB / 0.622 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000817/0.4411, allocations: 337.8 kB / 0.6223 GB, free: 4.883 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005838/0.4416, allocations: 155.7 kB / 0.6225 GB, free: 4.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001352/0.443, allocations: 1.448 MB / 0.6239 GB, free: 3.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006863/0.4437, allocations: 35.98 kB / 0.6239 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.59e-05/0.4438, allocations: 35.98 kB / 0.6239 GB, free: 3.16 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 11 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,tank.inFlow[2],tank.inFlow[1],tank.regularFlow[2],tank.regularFlow[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,1), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000336/0.4441, allocations: 269.1 kB / 0.6242 GB, free: 2.887 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.4443, allocations: 95.56 kB / 0.6243 GB, free: 2.793 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002099/0.4464, allocations: 1.099 MB / 0.6254 GB, free: 1.672 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.4464, allocations: 3.984 kB / 0.6254 GB, free: 1.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.063e-06/0.4464, allocations: 3.984 kB / 0.6254 GB, free: 1.664 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000453/0.4468, allocations: 256.4 kB / 0.6256 GB, free: 1.395 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.447, allocations: 12 kB / 0.6256 GB, free: 1.383 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/0.4475, allocations: 35.97 kB / 0.6257 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.4476, allocations: 52.31 kB / 0.6257 GB, free: 1.297 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002086/0.4497, allocations: 1.129 MB / 0.6268 GB, free: 140 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002148/0.4518, allocations: 1.502 MB / 0.6283 GB, free: 14.61 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005406/0.4524, allocations: 351.4 kB / 0.6286 GB, free: 14.27 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0007841/0.4532, allocations: 0.5771 MB / 0.6292 GB, free: 13.7 MB / 478.1 MB Notification: Performance of Backend: time 4.41e-07/0.4532, allocations: 0 / 0.6292 GB, free: 13.7 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004373/0.4575, allocations: 1.689 MB / 0.6308 GB, free: 11.98 MB / 478.1 MB Notification: Performance of SimCode: time 0.003603/0.4611, allocations: 2.333 MB / 0.6331 GB, free: 9.598 MB / 478.1 MB Notification: Performance of Templates: time 0.06028/0.5214, allocations: 26.43 MB / 0.6589 GB, free: 15.29 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.04536512400955] Failed to read output from testmodel.py, exit status != 0: ['time', 'tank.level', 'tank.medium.T', 'timeTable.a', 'timeTable.b', 'timeTable.last', 'timeTable.nextEvent'] 0.5311730322428048 0.549585634 0.149497934 Calling exit ...