Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001663/0.001663, allocations: 112.6 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.001931/0.001931, 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.448/1.448, allocations: 225.6 MB / 250.6 MB, free: 13.38 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.0427/0.0427, allocations: 8.535 MB / 314.3 MB, free: 420 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.TestGensetOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO") translateModel(EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1600,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 71.8 kB / 438.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1035, allocations: 54.2 MB / 492.3 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO): time 0.01003/0.1136, allocations: 7.496 MB / 499.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005904/0.1195, allocations: 3.309 MB / 0.4914 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007067/0.1202, allocations: 31.88 kB / 0.4914 GB, free: 11.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008442/0.121, allocations: 425 kB / 0.4918 GB, free: 11.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.1222, allocations: 0.5592 MB / 0.4923 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.1245, allocations: 1.232 MB / 0.4935 GB, free: 9.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002736/0.1273, allocations: 2.235 MB / 0.4957 GB, free: 7.332 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.1283, allocations: 0.6559 MB / 0.4964 GB, free: 6.629 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.1294, allocations: 0.8094 MB / 0.4972 GB, free: 5.816 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001096/0.1304, allocations: 0.8983 MB / 0.498 GB, free: 4.914 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.1308, allocations: 256 kB / 0.4983 GB, free: 4.664 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005374/0.1313, allocations: 363.9 kB / 0.4986 GB, free: 4.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005364/0.1318, allocations: 0.5842 MB / 0.4992 GB, free: 3.723 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009085/0.1327, allocations: 1.03 MB / 0.5002 GB, free: 2.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2913/0.4241, allocations: 2.863 MB / 0.503 GB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.4241, allocations: 0 / 0.503 GB, free: 10.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.4241, allocations: 0.5 kB / 0.503 GB, free: 10.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001068/0.4242, allocations: 0.7812 kB / 0.503 GB, free: 10.96 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.006361/0.4305, allocations: 2.388 MB / 0.5053 GB, free: 9.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.4306, allocations: 12.67 kB / 0.5053 GB, free: 9.719 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004921/0.4311, allocations: 230.3 kB / 0.5056 GB, free: 9.598 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.4331, allocations: 1.357 MB / 0.5069 GB, free: 9.16 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001592/0.4333, allocations: 134.1 kB / 0.507 GB, free: 9.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001844/0.4335, allocations: 129.6 kB / 0.5071 GB, free: 9.117 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002545/0.436, allocations: 1.383 MB / 0.5085 GB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.793e-05/0.436, allocations: 4.188 kB / 0.5085 GB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/0.4362, allocations: 58.86 kB / 0.5085 GB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.54e-05/0.4362, allocations: 29.31 kB / 0.5086 GB, free: 8.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002494/0.4387, allocations: 1.035 MB / 0.5096 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007765/0.4464, allocations: 5.401 MB / 0.5149 GB, free: 6.793 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.4486, allocations: 0.9465 MB / 0.5158 GB, free: 6.363 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009173/0.4495, allocations: 369.5 kB / 0.5161 GB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.29e-05/0.4495, allocations: 11.8 kB / 0.5161 GB, free: 6.223 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.4506, allocations: 0.5105 MB / 0.5166 GB, free: 6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.465e-06/0.4506, allocations: 1.406 kB / 0.5166 GB, free: 6 MB / 366.1 MB Notification: Performance of matching and sorting (n=75): time 0.006845/0.4575, allocations: 3.362 MB / 0.5199 GB, free: 4.082 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.4575, allocations: 384.4 kB / 0.5203 GB, free: 3.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.46, allocations: 1.916 MB / 0.5222 GB, free: 2.895 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.455e-05/0.4601, allocations: 45.02 kB / 0.5222 GB, free: 2.852 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005864/0.4607, allocations: 0.7861 MB / 0.523 GB, free: 2.242 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001543/0.4608, allocations: 271.3 kB / 0.5232 GB, free: 2.035 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/0.4611, allocations: 210.1 kB / 0.5234 GB, free: 1.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.443e-05/0.4612, allocations: 347.5 kB / 0.5238 GB, free: 1.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009335/0.4621, allocations: 427.8 kB / 0.5242 GB, free: 1.449 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/0.4632, allocations: 0.6864 MB / 0.5248 GB, free: 0.9883 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001881/0.4651, allocations: 1.143 MB / 0.526 GB, free: 280 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/0.4651, allocations: 5.562 kB / 0.526 GB, free: 276 kB / 366.1 MB Notification: Performance of matching and sorting (n=131) (initialization): time 0.002805/0.4679, allocations: 1.399 MB / 0.5273 GB, free: 15.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.112e-05/0.468, allocations: 97.78 kB / 0.5274 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.468, allocations: 5.906 kB / 0.5274 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001803/0.4682, allocations: 47.84 kB / 0.5275 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007985/0.469, allocations: 232 kB / 0.5277 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001423/0.4704, allocations: 1.538 MB / 0.5292 GB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/0.4713, allocations: 96.8 kB / 0.5293 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/0.4714, allocations: 41.56 kB / 0.5293 GB, free: 14.02 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.00144/0.4728, allocations: 0.7697 MB / 0.5301 GB, free: 13.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001003/0.4738, allocations: 0.6197 MB / 0.5307 GB, free: 13.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001703/0.4755, allocations: 1.032 MB / 0.5317 GB, free: 12.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.329e-06/0.4755, allocations: 1.375 kB / 0.5317 GB, free: 12.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=131) (initialization_lambda0): time 0.002378/0.4779, allocations: 1.271 MB / 0.5329 GB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.83e-05/0.478, allocations: 99.53 kB / 0.533 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.478, allocations: 10.44 kB / 0.533 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.4781, allocations: 44.61 kB / 0.5331 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006692/0.4788, allocations: 212.3 kB / 0.5333 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.4802, allocations: 1.539 MB / 0.5348 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008506/0.481, allocations: 75.75 kB / 0.5349 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.469e-05/0.4811, allocations: 41.11 kB / 0.5349 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.0003983/0.4815, allocations: 316.3 kB / 0.5352 GB, free: 9.984 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002945/0.4818, allocations: 169 kB / 0.5354 GB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.4842, allocations: 1.073 MB / 0.5364 GB, free: 9.289 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/0.4842, allocations: 5.625 kB / 0.5364 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4842, allocations: 4 kB / 0.5364 GB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006509/0.4849, allocations: 353.8 kB / 0.5368 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.4851, allocations: 13.91 kB / 0.5368 GB, free: 8.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.4858, allocations: 80.38 kB / 0.5369 GB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.4859, allocations: 65.39 kB / 0.5369 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002814/0.4887, allocations: 1.2 MB / 0.5381 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00341/0.4921, allocations: 1.703 MB / 0.5398 GB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009738/0.4931, allocations: 418.1 kB / 0.5402 GB, free: 5.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002354/0.4955, allocations: 1.328 MB / 0.5414 GB, free: 4.262 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.4955, allocations: 0 / 0.5414 GB, free: 4.262 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008004/0.5035, allocations: 2.675 MB / 0.5441 GB, free: 1.98 MB / 382.1 MB Notification: Performance of SimCode: time 0.007074/0.5105, allocations: 3.543 MB / 0.5475 GB, free: 14.37 MB / 398.1 MB Notification: Performance of Templates: time 0.04443/0.555, allocations: 23.23 MB / 0.5702 GB, free: 7.219 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestGensets.TestGensetOO.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.359163034998346] Failed to read output from testmodel.py, exit status != 0: 0.5626269769854844 0.578160372 0.15098793800000002 Calling exit ...