Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001635/0.001635, allocations: 109.3 kB / 18.68 MB, free: 3.191 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.009107/0.009107, allocations: 196.3 kB / 21.93 MB, free: 5.594 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.401/1.401, allocations: 225.6 MB / 250.6 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04368/0.04368, allocations: 8.53 MB / 314.3 MB, free: 400 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/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_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2") translateModel(EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 75.81 kB / 438.1 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0925/0.09451, allocations: 54.21 MB / 492.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2): time 0.01012/0.1046, allocations: 7.376 MB / 499.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006309/0.1109, allocations: 3.296 MB / 0.4912 GB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.1121, allocations: 27.94 kB / 0.4913 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009511/0.1131, allocations: 421.1 kB / 0.4917 GB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.1145, allocations: 0.5592 MB / 0.4922 GB, free: 10.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0025/0.117, allocations: 1.203 MB / 0.4934 GB, free: 9.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003831/0.1208, allocations: 2.203 MB / 0.4955 GB, free: 7.488 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001148/0.122, allocations: 0.6359 MB / 0.4962 GB, free: 6.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.1231, allocations: 0.7899 MB / 0.4969 GB, free: 6.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.1242, allocations: 0.875 MB / 0.4978 GB, free: 5.137 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003369/0.1245, allocations: 252 kB / 0.498 GB, free: 4.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005988/0.1251, allocations: 355.9 kB / 0.4984 GB, free: 4.543 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006401/0.1258, allocations: 0.5646 MB / 0.4989 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009652/0.1268, allocations: 1.014 MB / 0.4999 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003541/0.1303, allocations: 2.81 MB / 0.5026 GB, free: 140 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1303, allocations: 0 / 0.5026 GB, free: 140 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1303, allocations: 3.938 kB / 0.5026 GB, free: 136 kB / 366.1 MB Notification: Performance of Transformations before backend: time 3.585e-05/0.1303, allocations: 0 / 0.5026 GB, free: 136 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.2063/0.3366, allocations: 2.347 MB / 0.5049 GB, free: 22.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.3367, allocations: 12.86 kB / 0.505 GB, free: 22.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003824/0.3371, allocations: 224 kB / 0.5052 GB, free: 21.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00186/0.3389, allocations: 1.344 MB / 0.5065 GB, free: 21.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001357/0.3391, allocations: 124.8 kB / 0.5066 GB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.3392, allocations: 126.5 kB / 0.5067 GB, free: 21.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002393/0.3416, allocations: 1.334 MB / 0.508 GB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.3417, allocations: 9.719 kB / 0.508 GB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.3418, allocations: 52.12 kB / 0.5081 GB, free: 20.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.3418, allocations: 27.56 kB / 0.5081 GB, free: 20.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00225/0.344, allocations: 1.008 MB / 0.5091 GB, free: 19.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007408/0.3514, allocations: 5.306 MB / 0.5143 GB, free: 16.78 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002011/0.3535, allocations: 0.904 MB / 0.5152 GB, free: 16.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000859/0.3543, allocations: 358.4 kB / 0.5155 GB, free: 16.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.041e-05/0.3544, allocations: 16.72 kB / 0.5155 GB, free: 16.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.3556, allocations: 0.494 MB / 0.516 GB, free: 16.01 MB / 366.1 MB Notification: Performance of pre-optimization done (n=70): time 3.096e-06/0.3556, allocations: 1.125 kB / 0.516 GB, free: 16.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006811/0.3624, allocations: 3.286 MB / 0.5192 GB, free: 14.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.3625, allocations: 353.7 kB / 0.5195 GB, free: 13.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003548/0.3661, allocations: 1.883 MB / 0.5214 GB, free: 12.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.3663, allocations: 50.53 kB / 0.5214 GB, free: 12.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006389/0.3669, allocations: 0.7728 MB / 0.5222 GB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.3671, allocations: 265.6 kB / 0.5224 GB, free: 12.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003246/0.3674, allocations: 206.6 kB / 0.5226 GB, free: 12.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.3675, allocations: 354.8 kB / 0.523 GB, free: 11.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009382/0.3685, allocations: 411.4 kB / 0.5234 GB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009788/0.3694, allocations: 0.6689 MB / 0.524 GB, free: 10.95 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001843/0.3713, allocations: 1.123 MB / 0.5251 GB, free: 10.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.3713, allocations: 1.125 kB / 0.5251 GB, free: 10.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002775/0.3741, allocations: 1.372 MB / 0.5265 GB, free: 9.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.218e-05/0.3741, allocations: 91.27 kB / 0.5265 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.3741, allocations: 5.656 kB / 0.5265 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001895/0.3743, allocations: 50.05 kB / 0.5266 GB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007512/0.3751, allocations: 230.7 kB / 0.5268 GB, free: 9.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009288/0.376, allocations: 1.541 MB / 0.5283 GB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.377, allocations: 90.36 kB / 0.5284 GB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.975e-05/0.3771, allocations: 44.5 kB / 0.5284 GB, free: 7.617 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.001251/0.3783, allocations: 0.755 MB / 0.5292 GB, free: 7.172 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007181/0.3791, allocations: 0.5919 MB / 0.5298 GB, free: 6.688 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001366/0.3804, allocations: 1.01 MB / 0.5308 GB, free: 5.934 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.439e-06/0.3804, allocations: 1.375 kB / 0.5308 GB, free: 5.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.002093/0.3825, allocations: 1.249 MB / 0.532 GB, free: 5.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.3826, allocations: 97.56 kB / 0.5321 GB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/0.3826, allocations: 7.75 kB / 0.5321 GB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.3827, allocations: 44.16 kB / 0.5321 GB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.3833, allocations: 204 kB / 0.5323 GB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008637/0.3842, allocations: 1.547 MB / 0.5338 GB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008634/0.385, allocations: 79.2 kB / 0.5339 GB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.746e-05/0.3851, allocations: 39.55 kB / 0.5339 GB, free: 3.473 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.0003103/0.3854, allocations: 327.5 kB / 0.5342 GB, free: 3.168 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003126/0.3857, allocations: 159.6 kB / 0.5344 GB, free: 3.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00207/0.3878, allocations: 1.05 MB / 0.5354 GB, free: 1.941 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.3878, allocations: 3.984 kB / 0.5354 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.3878, allocations: 0 / 0.5354 GB, free: 1.938 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005834/0.3884, allocations: 351.9 kB / 0.5358 GB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/0.3886, allocations: 20 kB / 0.5358 GB, free: 1.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006084/0.3892, allocations: 75.92 kB / 0.5359 GB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.3893, allocations: 52.58 kB / 0.5359 GB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002167/0.3915, allocations: 1.182 MB / 0.5371 GB, free: 212 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003139/0.3947, allocations: 1.667 MB / 0.5387 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008548/0.3955, allocations: 401 kB / 0.5391 GB, free: 14.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001993/0.3975, allocations: 1.308 MB / 0.5403 GB, free: 12.81 MB / 382.1 MB Notification: Performance of Backend: time 2.41e-07/0.3975, allocations: 0 / 0.5403 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007833/0.4053, allocations: 2.644 MB / 0.5429 GB, free: 10.54 MB / 382.1 MB Notification: Performance of SimCode: time 0.006951/0.4123, allocations: 3.503 MB / 0.5463 GB, free: 6.965 MB / 382.1 MB Notification: Performance of Templates: time 0.04474/0.457, allocations: 22.7 MB / 0.5685 GB, free: 324 kB / 398.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.208810850977898] Failed to read output from testmodel.py, exit status != 0: 0.4650992989772931 0.481258427 0.347716532 Calling exit ...