Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001353/0.001353, allocations: 110.4 kB / 18.68 MB, free: 3.316 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.001286/0.001286, allocations: 200.4 kB / 21.94 MB, free: 76 kB / 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.37 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.04178/0.04178, allocations: 8.546 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.TestGenset1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1") translateModel(EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.89 kB / 438.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09068/0.09263, allocations: 54.21 MB / 492.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1): time 0.009606/0.1022, allocations: 7.376 MB / 499.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004451/0.1067, allocations: 2.619 MB / 0.4906 GB, free: 12.58 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006513/0.1073, allocations: 31.88 kB / 0.4906 GB, free: 12.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008238/0.1082, allocations: 421.1 kB / 0.491 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001148/0.1093, allocations: 0.5475 MB / 0.4915 GB, free: 11.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.1114, allocations: 1.217 MB / 0.4927 GB, free: 10.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.1137, allocations: 2.172 MB / 0.4948 GB, free: 8.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009941/0.1147, allocations: 0.6359 MB / 0.4955 GB, free: 7.527 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000887/0.1156, allocations: 0.7782 MB / 0.4962 GB, free: 6.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000914/0.1165, allocations: 0.8516 MB / 0.4971 GB, free: 5.891 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002869/0.1168, allocations: 236 kB / 0.4973 GB, free: 5.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004504/0.1173, allocations: 327.9 kB / 0.4976 GB, free: 5.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005154/0.1178, allocations: 0.5529 MB / 0.4981 GB, free: 4.785 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009817/0.1188, allocations: 0.9871 MB / 0.4991 GB, free: 3.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002911/0.1217, allocations: 2.732 MB / 0.5018 GB, free: 1.051 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1217, allocations: 0 / 0.5018 GB, free: 1.051 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1217, allocations: 0 / 0.5018 GB, free: 1.051 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.259e-05/0.1217, allocations: 0 / 0.5018 GB, free: 1.051 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.1828/0.3045, allocations: 2.344 MB / 0.5041 GB, free: 22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.3046, allocations: 12.59 kB / 0.5041 GB, free: 22 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.3049, allocations: 222.1 kB / 0.5043 GB, free: 21.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.307, allocations: 1.332 MB / 0.5056 GB, free: 21.15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.3071, allocations: 122.3 kB / 0.5057 GB, free: 21.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.3073, allocations: 128.4 kB / 0.5058 GB, free: 21.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002416/0.3097, allocations: 1.301 MB / 0.5071 GB, free: 20.41 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.071e-05/0.3097, allocations: 4.453 kB / 0.5071 GB, free: 20.41 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.3098, allocations: 47.97 kB / 0.5071 GB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-05/0.3099, allocations: 29.12 kB / 0.5072 GB, free: 20.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00237/0.3122, allocations: 1.006 MB / 0.5081 GB, free: 20.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007112/0.3193, allocations: 5.248 MB / 0.5133 GB, free: 16.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.3213, allocations: 0.9143 MB / 0.5142 GB, free: 16.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008002/0.3221, allocations: 358.9 kB / 0.5145 GB, free: 16.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.716e-05/0.3222, allocations: 16.12 kB / 0.5145 GB, free: 16.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.3232, allocations: 0.4899 MB / 0.515 GB, free: 16.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=70): time 2.485e-06/0.3232, allocations: 1.781 kB / 0.515 GB, free: 16.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=72): time 0.006448/0.3296, allocations: 3.285 MB / 0.5182 GB, free: 14.27 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.3297, allocations: 223.8 kB / 0.5184 GB, free: 14.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.3321, allocations: 1.856 MB / 0.5202 GB, free: 13.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.49e-05/0.3321, allocations: 43.27 kB / 0.5203 GB, free: 13.25 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005318/0.3327, allocations: 0.7756 MB / 0.521 GB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.3328, allocations: 263.5 kB / 0.5213 GB, free: 12.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.3331, allocations: 203.1 kB / 0.5215 GB, free: 12.35 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.125e-05/0.3332, allocations: 342.7 kB / 0.5218 GB, free: 12.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000914/0.3341, allocations: 410.5 kB / 0.5222 GB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000984/0.3351, allocations: 0.6367 MB / 0.5228 GB, free: 11.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001788/0.3369, allocations: 1.121 MB / 0.5239 GB, free: 10.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3369, allocations: 1.594 kB / 0.5239 GB, free: 10.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002434/0.3393, allocations: 1.347 MB / 0.5252 GB, free: 9.945 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/0.3393, allocations: 95.19 kB / 0.5253 GB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3394, allocations: 5.75 kB / 0.5253 GB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001858/0.3395, allocations: 49.48 kB / 0.5254 GB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008399/0.3404, allocations: 230.1 kB / 0.5256 GB, free: 9.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009197/0.3413, allocations: 1.552 MB / 0.5271 GB, free: 8.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007861/0.3421, allocations: 91.8 kB / 0.5272 GB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.635e-05/0.3422, allocations: 40.3 kB / 0.5272 GB, free: 8.172 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.001136/0.3433, allocations: 0.7464 MB / 0.528 GB, free: 7.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006967/0.344, allocations: 0.571 MB / 0.5285 GB, free: 7.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001317/0.3453, allocations: 0.9948 MB / 0.5295 GB, free: 6.531 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.937e-06/0.3453, allocations: 5.719 kB / 0.5295 GB, free: 6.527 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization_lambda0): time 0.001894/0.3472, allocations: 1.232 MB / 0.5307 GB, free: 5.832 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.3472, allocations: 96.88 kB / 0.5308 GB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3472, allocations: 5.859 kB / 0.5308 GB, free: 5.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001187/0.3474, allocations: 46.41 kB / 0.5308 GB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000677/0.348, allocations: 208.4 kB / 0.531 GB, free: 5.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008055/0.3489, allocations: 1.545 MB / 0.5326 GB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007076/0.3496, allocations: 76.91 kB / 0.5326 GB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.577e-05/0.3496, allocations: 37.91 kB / 0.5327 GB, free: 4.082 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.0002236/0.3498, allocations: 316.1 kB / 0.533 GB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.35, allocations: 161.4 kB / 0.5331 GB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001947/0.3519, allocations: 1.046 MB / 0.5341 GB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.352, allocations: 3.984 kB / 0.5341 GB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.352, allocations: 3.938 kB / 0.5341 GB, free: 2.926 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004204/0.3524, allocations: 340 kB / 0.5345 GB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.3525, allocations: 27.38 kB / 0.5345 GB, free: 2.551 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.3531, allocations: 79.91 kB / 0.5346 GB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.3532, allocations: 48.59 kB / 0.5346 GB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002153/0.3554, allocations: 1.179 MB / 0.5358 GB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002762/0.3581, allocations: 1.66 MB / 0.5374 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009137/0.3591, allocations: 400.9 kB / 0.5378 GB, free: 15.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001917/0.361, allocations: 1.285 MB / 0.539 GB, free: 13.84 MB / 382.1 MB Notification: Performance of Backend: time 2.11e-07/0.361, allocations: 0 / 0.539 GB, free: 13.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006773/0.3678, allocations: 2.562 MB / 0.5415 GB, free: 11.62 MB / 382.1 MB Notification: Performance of SimCode: time 0.005099/0.3729, allocations: 3.501 MB / 0.545 GB, free: 8.051 MB / 382.1 MB Notification: Performance of Templates: time 0.03793/0.4108, allocations: 21.78 MB / 0.5662 GB, free: 2.32 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGenset1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.255722182046156] Failed to read output from testmodel.py, exit status != 0: 0.41832988598616794 0.433599816 0.308913634 Calling exit ...