Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006588/0.0006588, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008847/0.001543, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006981/0.0006981, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009371/0.001635, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9604/0.9604, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1129/1.073, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.02517/0.02517, allocations: 6.483 MB / 250.6 MB, free: 8.352 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002831/0.028, allocations: 2.492 MB / 253.1 MB, free: 5.855 MB / 250.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 254.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.738e-05/1.905e-05, allocations: 6.312 kB / 254.4 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004102/0.004121, allocations: 3.802 MB / 258.2 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001741/0.005862, allocations: 1.23 MB / 259.4 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002347/0.006097, allocations: 15.94 kB / 259.4 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003406/0.006438, allocations: 234.6 kB / 259.7 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004339/0.006871, allocations: 298.3 kB / 260 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.007429, allocations: 367 kB / 260.3 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005917/0.008021, allocations: 0.6509 MB / 261 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002776/0.008299, allocations: 197.8 kB / 261.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004894/0.008788, allocations: 468 kB / 261.6 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.009033, allocations: 239.3 kB / 261.9 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.009087, allocations: 56 kB / 261.9 MB, free: 13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.009244, allocations: 119.8 kB / 262 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.009387, allocations: 191.4 kB / 262.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.009511, allocations: 163.5 kB / 262.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.01003, allocations: 0.5487 MB / 262.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.156e-05/0.01004, allocations: 0 / 262.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.01004, allocations: 0 / 262.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.01005, allocations: 0 / 262.9 MB, free: 11.99 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001026/0.01108, allocations: 1.119 MB / 264 MB, free: 10.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.01111, allocations: 15.98 kB / 264.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.489e-05/0.0112, allocations: 84.86 kB / 264.1 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003742/0.01158, allocations: 390.2 kB / 264.5 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.0116, allocations: 33.38 kB / 264.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.524e-05/0.01165, allocations: 44.36 kB / 264.6 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.01195, allocations: 332.4 kB / 264.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.01197, allocations: 0 / 264.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.01198, allocations: 16 kB / 264.9 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.01199, allocations: 15.98 kB / 265 MB, free: 9.879 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.01212, allocations: 98.88 kB / 265.1 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.01322, allocations: 1.086 MB / 266.1 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.01343, allocations: 145.3 kB / 266.3 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.586e-05/0.01347, allocations: 36.84 kB / 266.3 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.0135, allocations: 8 kB / 266.3 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.01367, allocations: 111.9 kB / 266.4 MB, free: 8.336 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.523e-06/0.01367, allocations: 7.938 kB / 266.4 MB, free: 8.328 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.0004463/0.01411, allocations: 255 kB / 266.7 MB, free: 8.07 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/0.01414, allocations: 63.39 kB / 266.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004474/0.01459, allocations: 0.5992 MB / 267.4 MB, free: 7.387 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.01461, allocations: 33.7 kB / 267.4 MB, free: 7.348 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.01473, allocations: 270.3 kB / 267.6 MB, free: 7.074 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.521e-05/0.01477, allocations: 87.25 kB / 267.7 MB, free: 6.988 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.03e-05/0.01484, allocations: 77.98 kB / 267.8 MB, free: 6.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.01494, allocations: 382.6 kB / 268.2 MB, free: 6.52 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.973e-05/0.015, allocations: 58.44 kB / 268.2 MB, free: 6.457 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.01508, allocations: 130 kB / 268.4 MB, free: 6.301 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.01523, allocations: 216 kB / 268.6 MB, free: 6.055 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01523, allocations: 0 / 268.6 MB, free: 6.055 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0002754/0.01551, allocations: 315.1 kB / 268.9 MB, free: 5.727 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.01554, allocations: 33.7 kB / 268.9 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01555, allocations: 7.922 kB / 268.9 MB, free: 5.68 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001624/0.01571, allocations: 67.62 kB / 269 MB, free: 5.609 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002666/0.01598, allocations: 71.91 kB / 269.1 MB, free: 5.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008688/0.01685, allocations: 1.55 MB / 270.6 MB, free: 3.898 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.01697, allocations: 43.77 kB / 270.7 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.01699, allocations: 15.94 kB / 270.7 MB, free: 3.84 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 6 (ice.tokgFuel.local_reset,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.0171, allocations: 128.6 kB / 270.8 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.896e-05/0.01713, allocations: 43.95 kB / 270.8 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.01738, allocations: 220.6 kB / 271.1 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01738, allocations: 4 kB / 271.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.01739, allocations: 0 / 271.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01739, allocations: 0 / 271.1 MB, free: 3.426 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.01761, allocations: 265.6 kB / 271.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01761, allocations: 4 kB / 271.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001141/0.01772, allocations: 47.97 kB / 271.4 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.01778, allocations: 75.42 kB / 271.4 MB, free: 3.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.0179, allocations: 59.64 kB / 271.5 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.01791, allocations: 4 kB / 271.5 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001029/0.01894, allocations: 1.561 MB / 273.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.01895, allocations: 11.94 kB / 273.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002771/0.01922, allocations: 266.2 kB / 273.3 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.01926, allocations: 11.98 kB / 273.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.01934, allocations: 15.98 kB / 273.4 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.01939, allocations: 23.95 kB / 273.4 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.719e-06/0.0194, allocations: 4 kB / 273.4 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002128/0.01961, allocations: 280.5 kB / 273.7 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01961, allocations: 0 / 273.7 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.01992, allocations: 127.7 kB / 273.8 MB, free: 0.5469 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001756/0.02167, allocations: 0.8727 MB / 274.7 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.09382/0.1155, allocations: 354.6 kB / 275 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.513e-05/0.1155, allocations: 11.41 kB / 275 MB, free: 14.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002128/0.1157, allocations: 211.4 kB / 275.2 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.1163, allocations: 0.557 MB / 275.8 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003278/0.1195, allocations: 1.132 MB / 276.9 MB, free: 13.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/0.1197, allocations: 170.1 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.1198, allocations: 57.44 kB / 277.1 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/0.12, allocations: 122 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of SimCode: time 2.164e-06/0.12, allocations: 2.25 kB / 277.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of Templates: time 0.01132/0.1313, allocations: 7.242 MB / 284.5 MB, free: 11.79 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7965077999979258]