Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.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.001457/0.001457, allocations: 104.4 kB / 18.7 MB, free: 3.18 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.008392/0.008392, allocations: 187.7 kB / 21.96 MB, free: 5.645 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.424/1.424, allocations: 225.6 MB / 250.7 MB, free: 13.36 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.04211/0.04211, allocations: 8.536 MB / 314.4 MB, free: 404 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.TestGensetOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO") translateModel(EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 75.86 kB / 438.2 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0995/0.1014, allocations: 54.2 MB / 492.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO): time 0.01009/0.1115, allocations: 7.478 MB / 499.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006013/0.1175, allocations: 3.328 MB / 0.4914 GB, free: 11.63 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001051/0.1186, allocations: 31.88 kB / 0.4915 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.1195, allocations: 425.1 kB / 0.4919 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.121, allocations: 0.5553 MB / 0.4924 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002405/0.1234, allocations: 1.238 MB / 0.4936 GB, free: 9.395 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002858/0.1262, allocations: 2.231 MB / 0.4958 GB, free: 7.16 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001182/0.1274, allocations: 0.6559 MB / 0.4964 GB, free: 6.457 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00117/0.1286, allocations: 0.8133 MB / 0.4972 GB, free: 5.641 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001185/0.1298, allocations: 0.9022 MB / 0.4981 GB, free: 4.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003401/0.1301, allocations: 256 kB / 0.4984 GB, free: 4.484 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005507/0.1307, allocations: 352 kB / 0.4987 GB, free: 4.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005533/0.1312, allocations: 0.5919 MB / 0.4993 GB, free: 3.547 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001001/0.1322, allocations: 1.03 MB / 0.5003 GB, free: 2.512 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1947/0.3269, allocations: 2.858 MB / 0.5031 GB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3269, allocations: 0.5 kB / 0.5031 GB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3269, allocations: 0 / 0.5031 GB, free: 10.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.924e-05/0.327, allocations: 4.5 kB / 0.5031 GB, free: 10.98 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.004054/0.331, allocations: 2.387 MB / 0.5054 GB, free: 9.746 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3311, allocations: 12.64 kB / 0.5054 GB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003628/0.3314, allocations: 233.5 kB / 0.5056 GB, free: 9.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.3331, allocations: 1.353 MB / 0.507 GB, free: 9.184 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.3332, allocations: 131.1 kB / 0.5071 GB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001681/0.3334, allocations: 134 kB / 0.5072 GB, free: 9.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002342/0.3357, allocations: 1.381 MB / 0.5086 GB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/0.3358, allocations: 1.062 kB / 0.5086 GB, free: 8.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/0.3359, allocations: 55.09 kB / 0.5086 GB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/0.3359, allocations: 32.56 kB / 0.5086 GB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.3382, allocations: 1.035 MB / 0.5097 GB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007389/0.3456, allocations: 5.406 MB / 0.5149 GB, free: 6.824 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002051/0.3476, allocations: 0.9379 MB / 0.5159 GB, free: 6.395 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009183/0.3485, allocations: 370 kB / 0.5162 GB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.734e-05/0.3486, allocations: 14.91 kB / 0.5162 GB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.3496, allocations: 0.5094 MB / 0.5167 GB, free: 6.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.604e-06/0.3496, allocations: 0 / 0.5167 GB, free: 6.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.006589/0.3562, allocations: 3.359 MB / 0.52 GB, free: 4.109 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.97e-05/0.3563, allocations: 383.7 kB / 0.5204 GB, free: 3.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.3586, allocations: 1.917 MB / 0.5222 GB, free: 2.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.465e-05/0.3587, allocations: 44.27 kB / 0.5223 GB, free: 2.883 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005469/0.3593, allocations: 0.7939 MB / 0.5231 GB, free: 2.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001494/0.3594, allocations: 270 kB / 0.5233 GB, free: 2.062 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002851/0.3597, allocations: 210.3 kB / 0.5235 GB, free: 1.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.3598, allocations: 348.4 kB / 0.5238 GB, free: 1.637 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009335/0.3607, allocations: 425.3 kB / 0.5242 GB, free: 1.477 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001002/0.3617, allocations: 0.6819 MB / 0.5249 GB, free: 1.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001795/0.3635, allocations: 1.15 MB / 0.526 GB, free: 308 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3635, allocations: 2.297 kB / 0.526 GB, free: 308 kB / 366.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002987/0.3665, allocations: 1.402 MB / 0.5274 GB, free: 15.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.23e-05/0.3666, allocations: 96.17 kB / 0.5275 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.3666, allocations: 5.125 kB / 0.5275 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001954/0.3668, allocations: 51.23 kB / 0.5276 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008585/0.3676, allocations: 228.4 kB / 0.5278 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.3691, allocations: 1.545 MB / 0.5293 GB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001083/0.3702, allocations: 92.31 kB / 0.5294 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.3703, allocations: 39.16 kB / 0.5294 GB, free: 14.05 MB / 382.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.001538/0.3718, allocations: 0.7744 MB / 0.5302 GB, free: 13.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009331/0.3727, allocations: 0.6161 MB / 0.5308 GB, free: 13.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001682/0.3744, allocations: 1.029 MB / 0.5318 GB, free: 12.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.901e-06/0.3744, allocations: 1.688 kB / 0.5318 GB, free: 12.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.002413/0.3768, allocations: 1.276 MB / 0.533 GB, free: 11.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.782e-05/0.3769, allocations: 98.36 kB / 0.5331 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.3769, allocations: 8.031 kB / 0.5331 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001334/0.3771, allocations: 45.77 kB / 0.5332 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006622/0.3777, allocations: 209.5 kB / 0.5334 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.3791, allocations: 1.544 MB / 0.5349 GB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009181/0.38, allocations: 78.27 kB / 0.5349 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.38, allocations: 42.67 kB / 0.535 GB, free: 10.27 MB / 382.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: 11 (booleanStep.y,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 (126): * Single equations (assignments): 122 * 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.0004231/0.3805, allocations: 325.9 kB / 0.5353 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002577/0.3807, allocations: 165.1 kB / 0.5355 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.383, allocations: 1.076 MB / 0.5365 GB, free: 9.262 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.383, allocations: 3.984 kB / 0.5365 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.383, allocations: 4 kB / 0.5365 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005797/0.3836, allocations: 352.5 kB / 0.5368 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.3838, allocations: 20.12 kB / 0.5369 GB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/0.3844, allocations: 77.33 kB / 0.5369 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.3846, allocations: 62.73 kB / 0.537 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002705/0.3873, allocations: 1.202 MB / 0.5382 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003364/0.3907, allocations: 1.707 MB / 0.5398 GB, free: 5.98 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009275/0.3916, allocations: 417 kB / 0.5402 GB, free: 5.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001988/0.3936, allocations: 1.324 MB / 0.5415 GB, free: 4.254 MB / 382.1 MB Notification: Performance of Backend: time 1.8e-07/0.3936, allocations: 0 / 0.5415 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007335/0.4009, allocations: 2.668 MB / 0.5441 GB, free: 1.992 MB / 382.1 MB Notification: Performance of SimCode: time 0.005699/0.4066, allocations: 3.55 MB / 0.5476 GB, free: 14.37 MB / 398.1 MB Notification: Performance of Templates: time 0.04015/0.4468, allocations: 23.22 MB / 0.5703 GB, free: 7.227 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.324769179103896] Failed to read output from testmodel.py, exit status != 0: 0.45431903610005975 0.468814224 0.138842204 Calling exit ...