Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 109.2 kB / 18.7 MB, free: 3.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005683/0.005683, allocations: 183 kB / 21.96 MB, free: 5.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 250.7 MB, free: 13.39 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04334/0.04334, allocations: 8.545 MB / 314.4 MB, free: 436 kB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2") translateModel(EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 60.08 kB / 438.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09407/0.09618, allocations: 54.21 MB / 492.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2): time 0.01056/0.1067, allocations: 7.387 MB / 499.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006216/0.1129, allocations: 3.281 MB / 0.4913 GB, free: 11.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.1142, allocations: 31.88 kB / 0.4913 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.1154, allocations: 417.1 kB / 0.4917 GB, free: 11.49 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.1173, allocations: 0.5631 MB / 0.4923 GB, free: 10.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.1201, allocations: 1.211 MB / 0.4935 GB, free: 9.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003242/0.1234, allocations: 2.195 MB / 0.4956 GB, free: 7.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001452/0.1248, allocations: 0.632 MB / 0.4962 GB, free: 6.852 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/0.1262, allocations: 0.79 MB / 0.497 GB, free: 6.059 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001453/0.1277, allocations: 0.8788 MB / 0.4978 GB, free: 5.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005076/0.1282, allocations: 248 kB / 0.4981 GB, free: 4.934 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006506/0.1288, allocations: 359.9 kB / 0.4984 GB, free: 4.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005555/0.1294, allocations: 0.5724 MB / 0.499 GB, free: 4.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001051/0.1304, allocations: 1.003 MB / 0.5 GB, free: 3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.1341, allocations: 2.807 MB / 0.5027 GB, free: 188 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1341, allocations: 7.938 kB / 0.5027 GB, free: 180 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1341, allocations: 0 / 0.5027 GB, free: 180 kB / 366.1 MB Notification: Performance of Transformations before backend: time 3.929e-05/0.1341, allocations: 0 / 0.5027 GB, free: 180 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.2261/0.3602, allocations: 2.343 MB / 0.505 GB, free: 22.17 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.3603, allocations: 15.7 kB / 0.505 GB, free: 22.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003854/0.3607, allocations: 222.4 kB / 0.5052 GB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.3625, allocations: 1.346 MB / 0.5065 GB, free: 21.22 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/0.3627, allocations: 122.3 kB / 0.5067 GB, free: 21.14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.3628, allocations: 129.6 kB / 0.5068 GB, free: 21.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.3652, allocations: 1.337 MB / 0.5081 GB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/0.3653, allocations: 5.766 kB / 0.5081 GB, free: 20.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.3654, allocations: 57.28 kB / 0.5081 GB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.072e-05/0.3654, allocations: 27.09 kB / 0.5082 GB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/0.3677, allocations: 1.007 MB / 0.5092 GB, free: 20.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007515/0.3752, allocations: 5.303 MB / 0.5143 GB, free: 16.84 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.3772, allocations: 0.9057 MB / 0.5152 GB, free: 16.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000801/0.378, allocations: 358.1 kB / 0.5156 GB, free: 16.29 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.766e-05/0.378, allocations: 14.81 kB / 0.5156 GB, free: 16.29 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.3793, allocations: 0.4944 MB / 0.5161 GB, free: 16.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=70): time 3.848e-06/0.3793, allocations: 1.656 kB / 0.5161 GB, free: 16.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.007295/0.3866, allocations: 3.293 MB / 0.5193 GB, free: 14.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.639e-05/0.3867, allocations: 353.3 kB / 0.5196 GB, free: 13.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002671/0.3894, allocations: 1.889 MB / 0.5215 GB, free: 13.03 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001233/0.3895, allocations: 44.23 kB / 0.5215 GB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/0.3901, allocations: 0.7797 MB / 0.5223 GB, free: 12.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.3903, allocations: 259.6 kB / 0.5225 GB, free: 12.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.3906, allocations: 207.2 kB / 0.5227 GB, free: 12.07 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.3906, allocations: 354.6 kB / 0.523 GB, free: 11.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009523/0.3916, allocations: 412.2 kB / 0.5234 GB, free: 11.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001058/0.3926, allocations: 0.6728 MB / 0.5241 GB, free: 10.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.3946, allocations: 1.115 MB / 0.5252 GB, free: 10.19 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.832e-06/0.3946, allocations: 1.844 kB / 0.5252 GB, free: 10.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002742/0.3973, allocations: 1.366 MB / 0.5265 GB, free: 9.434 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.3974, allocations: 100.5 kB / 0.5266 GB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.3974, allocations: 5.969 kB / 0.5266 GB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.3976, allocations: 48.94 kB / 0.5267 GB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007922/0.3984, allocations: 230.5 kB / 0.5269 GB, free: 9.246 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009982/0.3994, allocations: 1.545 MB / 0.5284 GB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/0.4004, allocations: 87.2 kB / 0.5285 GB, free: 7.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.4005, allocations: 43.3 kB / 0.5285 GB, free: 7.66 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: genset.iceT.wSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001226/0.4017, allocations: 0.76 MB / 0.5293 GB, free: 7.215 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007277/0.4025, allocations: 0.5945 MB / 0.5298 GB, free: 6.73 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00138/0.4038, allocations: 1.01 MB / 0.5308 GB, free: 5.977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.528e-06/0.4038, allocations: 1.312 kB / 0.5308 GB, free: 5.977 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.002146/0.406, allocations: 1.245 MB / 0.532 GB, free: 5.277 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.406, allocations: 100.8 kB / 0.5321 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.406, allocations: 7.812 kB / 0.5322 GB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001321/0.4062, allocations: 40.97 kB / 0.5322 GB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006749/0.4068, allocations: 211.5 kB / 0.5324 GB, free: 5.102 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008228/0.4077, allocations: 1.545 MB / 0.5339 GB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008702/0.4085, allocations: 75.27 kB / 0.534 GB, free: 3.527 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.73e-05/0.4086, allocations: 39.58 kB / 0.534 GB, free: 3.516 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: genset.iceT.wSensor.flange.phi:VARIABLE(flow=false unit = \"rad\" fixed = true ) \"Absolute rotation angle of flange\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,genset.gen.limTau.state,genset.gen.limitingTorque,$whenCondition1,genset.toFuelGrams.local_reset,genset.iceT.tokgFuel.local_reset,genset.gen.pDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002956/0.4089, allocations: 327 kB / 0.5343 GB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002054/0.4091, allocations: 159 kB / 0.5345 GB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002035/0.4111, allocations: 1.045 MB / 0.5355 GB, free: 1.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4111, allocations: 3.984 kB / 0.5355 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.4111, allocations: 0.875 kB / 0.5355 GB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004378/0.4116, allocations: 347.9 kB / 0.5358 GB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/0.4117, allocations: 20 kB / 0.5358 GB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006244/0.4124, allocations: 79.58 kB / 0.5359 GB, free: 1.512 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.4125, allocations: 56.58 kB / 0.536 GB, free: 1.453 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002185/0.4147, allocations: 1.179 MB / 0.5371 GB, free: 244 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003281/0.418, allocations: 1.664 MB / 0.5388 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009445/0.4189, allocations: 398.8 kB / 0.5391 GB, free: 14.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002076/0.421, allocations: 1.312 MB / 0.5404 GB, free: 12.85 MB / 382.1 MB Notification: Performance of Backend: time 7.01e-07/0.421, allocations: 4 kB / 0.5404 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007619/0.4286, allocations: 2.649 MB / 0.543 GB, free: 10.54 MB / 382.1 MB Notification: Performance of SimCode: time 0.005506/0.4341, allocations: 3.5 MB / 0.5464 GB, free: 6.973 MB / 382.1 MB Notification: Performance of Templates: time 0.04228/0.4764, allocations: 22.7 MB / 0.5686 GB, free: 328 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.277954011922702] Failed to read output from testmodel.py, exit status != 0: 0.4843639947939664 0.49886109300000003 0.361683109 Calling exit ...