Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.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.001549/0.001549, allocations: 112.3 kB / 18.71 MB, free: 3.113 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.004632/0.004632, allocations: 189.8 kB / 21.96 MB, free: 5.664 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.414/1.414, allocations: 225.6 MB / 250.7 MB, free: 13.37 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.04227/0.04227, allocations: 8.559 MB / 314.4 MB, free: 408 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.TestGenset1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1") translateModel(EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 71.86 kB / 438.2 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08408/0.08602, allocations: 54.2 MB / 492.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1): time 0.009731/0.09575, allocations: 7.384 MB / 499.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004311/0.1001, allocations: 2.611 MB / 0.4906 GB, free: 12.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005222/0.1006, allocations: 31.88 kB / 0.4907 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000799/0.1014, allocations: 413.2 kB / 0.4911 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001071/0.1025, allocations: 0.5475 MB / 0.4916 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002067/0.1045, allocations: 1.23 MB / 0.4928 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00226/0.1068, allocations: 2.168 MB / 0.4949 GB, free: 8.203 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009795/0.1078, allocations: 0.6398 MB / 0.4955 GB, free: 7.52 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008676/0.1086, allocations: 0.7821 MB / 0.4963 GB, free: 6.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009399/0.1096, allocations: 0.8477 MB / 0.4971 GB, free: 5.883 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000297/0.1099, allocations: 236 kB / 0.4974 GB, free: 5.652 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004448/0.1103, allocations: 323.9 kB / 0.4977 GB, free: 5.336 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005247/0.1108, allocations: 0.5529 MB / 0.4982 GB, free: 4.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009/0.1117, allocations: 0.991 MB / 0.4992 GB, free: 3.785 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002872/0.1146, allocations: 2.736 MB / 0.5018 GB, free: 1.039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.1146, allocations: 0 / 0.5018 GB, free: 1.039 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1146, allocations: 0 / 0.5018 GB, free: 1.039 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.1146, allocations: 0 / 0.5018 GB, free: 1.039 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: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.1724/0.287, allocations: 2.336 MB / 0.5041 GB, free: 22.02 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.287, allocations: 13.02 kB / 0.5041 GB, free: 22.01 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002973/0.2873, allocations: 221.6 kB / 0.5044 GB, free: 21.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001636/0.289, allocations: 1.335 MB / 0.5057 GB, free: 21.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001301/0.2891, allocations: 123 kB / 0.5058 GB, free: 21.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001533/0.2892, allocations: 129.8 kB / 0.5059 GB, free: 21.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/0.2915, allocations: 1.299 MB / 0.5072 GB, free: 20.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.2915, allocations: 1.125 kB / 0.5072 GB, free: 20.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.63e-05/0.2916, allocations: 52.52 kB / 0.5072 GB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.2916, allocations: 28.44 kB / 0.5072 GB, free: 20.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/0.2939, allocations: 1.001 MB / 0.5082 GB, free: 20.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006051/0.2999, allocations: 5.254 MB / 0.5134 GB, free: 16.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001907/0.3018, allocations: 0.9155 MB / 0.5142 GB, free: 16.51 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007724/0.3026, allocations: 354.4 kB / 0.5146 GB, free: 16.38 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.565e-05/0.3027, allocations: 19.22 kB / 0.5146 GB, free: 16.37 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009933/0.3037, allocations: 0.4926 MB / 0.5151 GB, free: 16.15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=70): time 2.525e-06/0.3037, allocations: 1.406 kB / 0.5151 GB, free: 16.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006195/0.3099, allocations: 3.29 MB / 0.5183 GB, free: 14.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3099, allocations: 222.2 kB / 0.5185 GB, free: 14.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.3122, allocations: 1.844 MB / 0.5203 GB, free: 13.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.956e-05/0.3122, allocations: 44.95 kB / 0.5204 GB, free: 13.29 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/0.3128, allocations: 0.7769 MB / 0.5211 GB, free: 12.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/0.3129, allocations: 262.3 kB / 0.5214 GB, free: 12.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000291/0.3132, allocations: 206.3 kB / 0.5216 GB, free: 12.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.78e-05/0.3133, allocations: 344.8 kB / 0.5219 GB, free: 12.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009132/0.3142, allocations: 416.4 kB / 0.5223 GB, free: 11.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009793/0.3152, allocations: 0.6351 MB / 0.5229 GB, free: 11.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/0.3169, allocations: 1.119 MB / 0.524 GB, free: 10.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3169, allocations: 1.344 kB / 0.524 GB, free: 10.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002374/0.3193, allocations: 1.347 MB / 0.5253 GB, free: 9.953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.3194, allocations: 99.84 kB / 0.5254 GB, free: 9.848 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.3194, allocations: 9.969 kB / 0.5254 GB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/0.3195, allocations: 42.5 kB / 0.5255 GB, free: 9.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.3203, allocations: 227.4 kB / 0.5257 GB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000874/0.3212, allocations: 1.548 MB / 0.5272 GB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007373/0.3219, allocations: 86.48 kB / 0.5273 GB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.445e-05/0.322, allocations: 43.34 kB / 0.5273 GB, free: 8.18 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.001064/0.3231, allocations: 0.7447 MB / 0.528 GB, free: 7.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006685/0.3237, allocations: 0.5683 MB / 0.5286 GB, free: 7.285 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001276/0.325, allocations: 0.9976 MB / 0.5296 GB, free: 6.535 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.325, allocations: 2.297 kB / 0.5296 GB, free: 6.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.001853/0.3269, allocations: 1.233 MB / 0.5308 GB, free: 5.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.3269, allocations: 96.16 kB / 0.5309 GB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3269, allocations: 7.344 kB / 0.5309 GB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001186/0.327, allocations: 40.66 kB / 0.5309 GB, free: 5.719 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000659/0.3277, allocations: 208.8 kB / 0.5311 GB, free: 5.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007981/0.3285, allocations: 1.544 MB / 0.5326 GB, free: 4.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000679/0.3292, allocations: 87.34 kB / 0.5327 GB, free: 4.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.652e-05/0.3293, allocations: 37.41 kB / 0.5327 GB, free: 4.09 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 (powerRef.count,$PRE.powerRef.count,powerRef.T_start,$PRE.powerRef.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.000221/0.3295, allocations: 324.2 kB / 0.5331 GB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.3297, allocations: 161.4 kB / 0.5332 GB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001943/0.3316, allocations: 1.039 MB / 0.5342 GB, free: 2.953 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3316, allocations: 3.984 kB / 0.5342 GB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3316, allocations: 0 / 0.5342 GB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003434/0.3319, allocations: 344 kB / 0.5346 GB, free: 2.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.3321, allocations: 23.88 kB / 0.5346 GB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005898/0.3327, allocations: 71.92 kB / 0.5346 GB, free: 2.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.3328, allocations: 60.52 kB / 0.5347 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002174/0.335, allocations: 1.175 MB / 0.5358 GB, free: 1.227 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002757/0.3377, allocations: 1.667 MB / 0.5375 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009253/0.3387, allocations: 396.9 kB / 0.5379 GB, free: 15.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001885/0.3405, allocations: 1.285 MB / 0.5391 GB, free: 13.86 MB / 382.1 MB Notification: Performance of Backend: time 2e-07/0.3405, allocations: 0 / 0.5391 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006718/0.3473, allocations: 2.563 MB / 0.5416 GB, free: 11.63 MB / 382.1 MB Notification: Performance of SimCode: time 0.005097/0.3523, allocations: 3.499 MB / 0.545 GB, free: 8.066 MB / 382.1 MB Notification: Performance of Templates: time 0.03721/0.3896, allocations: 21.77 MB / 0.5663 GB, free: 2.34 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.032097229966894] Failed to read output from testmodel.py, exit status != 0: 0.39704418706241995 0.41217280900000003 0.294498696 Calling exit ...