Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.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.001711/0.001711, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002103/0.002103, allocations: 213.3 kB / 24.49 MB, free: 3.934 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.2265/0.2265, allocations: 46.96 MB / 361.6 MB, free: 4.027 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.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_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_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002155/0.002155, allocations: 68.09 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3313, allocations: 66.04 MB / 0.5618 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank): time 0.01798/0.3493, allocations: 15.5 MB / 0.577 GB, free: 4.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.3595, allocations: 6.334 MB / 0.5831 GB, free: 14.39 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007672/0.3603, allocations: 27.75 kB / 0.5832 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009963/0.3613, allocations: 389.8 kB / 0.5835 GB, free: 13.98 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002369/0.3637, allocations: 1.058 MB / 0.5846 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004758/0.3684, allocations: 2.021 MB / 0.5865 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002837/0.3713, allocations: 2.277 MB / 0.5888 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008394/0.3721, allocations: 0.5518 MB / 0.5893 GB, free: 8.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.3735, allocations: 0.8956 MB / 0.5902 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.3747, allocations: 0.8917 MB / 0.5911 GB, free: 6.258 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.3749, allocations: 84 kB / 0.5911 GB, free: 6.176 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002312/0.3772, allocations: 1.17 MB / 0.5923 GB, free: 5.004 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.3775, allocations: 338.9 kB / 0.5926 GB, free: 4.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004798/0.378, allocations: 414.2 kB / 0.593 GB, free: 4.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002646/0.3807, allocations: 1.994 MB / 0.5949 GB, free: 2.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3807, allocations: 0 / 0.5949 GB, free: 2.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.3807, allocations: 0 / 0.5949 GB, free: 2.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.3807, allocations: 0 / 0.5949 GB, free: 2.266 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.002993/0.3837, allocations: 1.35 MB / 0.5963 GB, free: 0.875 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3837, allocations: 8.031 kB / 0.5963 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004106/0.3841, allocations: 112.3 kB / 0.5964 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001151/0.3853, allocations: 0.5984 MB / 0.597 GB, free: 140 kB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001782/0.3855, allocations: 168 kB / 0.5971 GB, free: 15.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.3856, allocations: 52 kB / 0.5972 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001921/0.3875, allocations: 1.387 MB / 0.5985 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.3875, allocations: 4 kB / 0.5985 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.201e-05/0.3876, allocations: 23.98 kB / 0.5985 GB, free: 14.34 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-05/0.3877, allocations: 53.28 kB / 0.5986 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.3892, allocations: 0.9435 MB / 0.5995 GB, free: 13.34 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.006106/0.3954, allocations: 3.262 MB / 0.6027 GB, free: 10.01 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001094/0.3964, allocations: 0.6446 MB / 0.6033 GB, free: 9.352 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/0.3971, allocations: 399.8 kB / 0.6037 GB, free: 8.953 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002863/0.3999, allocations: 1.282 MB / 0.605 GB, free: 7.652 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009451/0.4009, allocations: 0.7328 MB / 0.6057 GB, free: 6.832 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 2.615e-06/0.4009, allocations: 0 / 0.6057 GB, free: 6.832 MB / 446.1 MB Notification: Performance of matching and sorting (n=53): time 0.005612/0.4065, allocations: 2.435 MB / 0.6081 GB, free: 4.328 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001338/0.4066, allocations: 243.8 kB / 0.6083 GB, free: 4.031 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008642/0.4075, allocations: 0.6953 MB / 0.609 GB, free: 3.324 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.28e-05/0.4076, allocations: 37.7 kB / 0.609 GB, free: 3.281 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.4079, allocations: 448 kB / 0.6094 GB, free: 2.84 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.4081, allocations: 186.5 kB / 0.6096 GB, free: 2.656 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002986/0.4084, allocations: 166.5 kB / 0.6098 GB, free: 2.488 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.4086, allocations: 386.8 kB / 0.6101 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006485/0.4092, allocations: 418.3 kB / 0.6105 GB, free: 1.684 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009338/0.4102, allocations: 0.797 MB / 0.6113 GB, free: 0.7344 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.4116, allocations: 0.9683 MB / 0.6123 GB, free: 15.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4116, allocations: 0 / 0.6123 GB, free: 15.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002281/0.4138, allocations: 1.301 MB / 0.6135 GB, free: 14.33 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.4139, allocations: 45.64 kB / 0.6136 GB, free: 14.28 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.4139, allocations: 8.062 kB / 0.6136 GB, free: 14.27 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001019/0.4149, allocations: 365.4 kB / 0.6139 GB, free: 13.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006421/0.4156, allocations: 151.8 kB / 0.6141 GB, free: 13.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.417, allocations: 1.456 MB / 0.6155 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000644/0.4177, allocations: 31.98 kB / 0.6155 GB, free: 12.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.4178, allocations: 39.98 kB / 0.6156 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000901/0.4187, allocations: 0.5972 MB / 0.6162 GB, free: 11.58 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009138/0.4196, allocations: 0.8019 MB / 0.6169 GB, free: 10.62 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001322/0.4209, allocations: 0.9653 MB / 0.6179 GB, free: 9.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.216e-06/0.4209, allocations: 0 / 0.6179 GB, free: 9.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=97) (initialization_lambda0): time 0.002166/0.4231, allocations: 1.298 MB / 0.6191 GB, free: 8.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.4231, allocations: 45.78 kB / 0.6192 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.4231, allocations: 8 kB / 0.6192 GB, free: 8.172 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000811/0.4239, allocations: 333.4 kB / 0.6195 GB, free: 7.84 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006085/0.4245, allocations: 159.7 kB / 0.6197 GB, free: 7.684 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.4259, allocations: 1.432 MB / 0.6211 GB, free: 6.199 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006764/0.4266, allocations: 43.97 kB / 0.6211 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.4267, allocations: 36 kB / 0.6211 GB, free: 6.121 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.000332/0.427, allocations: 269.8 kB / 0.6214 GB, free: 5.844 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001439/0.4271, allocations: 79.53 kB / 0.6215 GB, free: 5.766 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002144/0.4293, allocations: 1.119 MB / 0.6226 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.4293, allocations: 4 kB / 0.6226 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4293, allocations: 3.938 kB / 0.6226 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003964/0.4297, allocations: 159.4 kB / 0.6227 GB, free: 4.449 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.4298, allocations: 12 kB / 0.6227 GB, free: 4.438 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004906/0.4303, allocations: 31.98 kB / 0.6228 GB, free: 4.406 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.4304, allocations: 52.34 kB / 0.6228 GB, free: 4.355 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002214/0.4327, allocations: 1.161 MB / 0.624 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002185/0.4348, allocations: 1.547 MB / 0.6255 GB, free: 1.57 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005719/0.4354, allocations: 385 kB / 0.6258 GB, free: 1.191 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006009/0.436, allocations: 479 kB / 0.6263 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of Backend: time 5.41e-07/0.436, allocations: 0 / 0.6263 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004555/0.4406, allocations: 1.75 MB / 0.628 GB, free: 14.94 MB / 478.1 MB Notification: Performance of SimCode: time 0.003367/0.4439, allocations: 2.259 MB / 0.6302 GB, free: 12.64 MB / 478.1 MB Notification: Performance of Templates: time 0.0407/0.4846, allocations: 26.5 MB / 0.6561 GB, free: 2.402 MB / 494.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.84975539399602] 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.4932226009987062 0.5071708469999999 0.12349990199999994 Calling exit ...