Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.0006837/0.0006837, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00105/0.001734, 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.0006882/0.0006882, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009771/0.001665, 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.9923/0.9923, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08128/1.074, allocations: 53.67 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.03381/0.03381, allocations: 6.482 MB / 250.6 MB, free: 8.348 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004131/0.03794, allocations: 2.484 MB / 253.1 MB, free: 5.859 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.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 254.4 MB, free: 4.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.359e-05, allocations: 6.25 kB / 254.4 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.00569/0.005713, allocations: 3.899 MB / 258.3 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.008378, allocations: 2.01 MB / 260.3 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.008726, allocations: 11.94 kB / 260.3 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.009092, allocations: 230.6 kB / 260.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005609/0.009653, allocations: 310.2 kB / 260.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006274/0.01028, allocations: 386.9 kB / 261.2 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006751/0.01096, allocations: 0.6782 MB / 261.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003447/0.0113, allocations: 239.7 kB / 262.1 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000595/0.0119, allocations: 0.4883 MB / 262.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.01221, allocations: 243.2 kB / 262.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.141e-05/0.01228, allocations: 64 kB / 262.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004471/0.01272, allocations: 131.8 kB / 263.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001452/0.01287, allocations: 195.4 kB / 263.2 MB, free: 11.67 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.01301, allocations: 179.4 kB / 263.4 MB, free: 11.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005584/0.01357, allocations: 0.5876 MB / 264 MB, free: 10.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.118e-05/0.01358, allocations: 0 / 264 MB, free: 10.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01358, allocations: 0 / 264 MB, free: 10.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.01359, allocations: 4 kB / 264 MB, free: 10.9 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00102/0.01461, allocations: 1.166 MB / 265.2 MB, free: 9.699 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.959e-05/0.01464, allocations: 15.92 kB / 265.2 MB, free: 9.684 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.638e-05/0.01474, allocations: 92.86 kB / 265.3 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.01514, allocations: 394.2 kB / 265.7 MB, free: 9.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.01517, allocations: 37.38 kB / 265.7 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.069e-05/0.01522, allocations: 56.27 kB / 265.8 MB, free: 9.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.01558, allocations: 364.4 kB / 266.1 MB, free: 8.715 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.712e-05/0.01559, allocations: 3.984 kB / 266.1 MB, free: 8.711 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/0.01562, allocations: 20 kB / 266.1 MB, free: 8.691 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.01563, allocations: 15.94 kB / 266.2 MB, free: 8.676 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000153/0.01578, allocations: 110.9 kB / 266.3 MB, free: 8.566 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001191/0.01697, allocations: 1.16 MB / 267.4 MB, free: 7.367 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.0172, allocations: 149.3 kB / 267.6 MB, free: 7.211 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.01726, allocations: 56.7 kB / 267.6 MB, free: 7.152 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.01728, allocations: 4 kB / 267.6 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001546/0.01744, allocations: 123.3 kB / 267.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.01744, allocations: 0 / 267.8 MB, free: 7.016 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.0004859/0.01793, allocations: 281 kB / 268 MB, free: 6.73 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.01796, allocations: 59.39 kB / 268.1 MB, free: 6.66 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004146/0.01837, allocations: 0.6109 MB / 268.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.01839, allocations: 33.7 kB / 268.7 MB, free: 6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.01852, allocations: 274.3 kB / 269 MB, free: 5.727 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.01857, allocations: 111.1 kB / 269.1 MB, free: 5.617 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.802e-05/0.01865, allocations: 82.14 kB / 269.2 MB, free: 5.527 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.01876, allocations: 382.6 kB / 269.6 MB, free: 5.145 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.956e-05/0.01883, allocations: 66.67 kB / 269.6 MB, free: 5.074 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.366e-05/0.01892, allocations: 145.4 kB / 269.8 MB, free: 4.902 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.01909, allocations: 206.8 kB / 270 MB, free: 4.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.0191, allocations: 0 / 270 MB, free: 4.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005843/0.01968, allocations: 320.2 kB / 270.3 MB, free: 4.332 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.62e-05/0.01972, allocations: 38.62 kB / 270.3 MB, free: 4.289 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01972, allocations: 4 kB / 270.3 MB, free: 4.285 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.01989, allocations: 63.86 kB / 270.4 MB, free: 4.219 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000156/0.02005, allocations: 75.91 kB / 270.5 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008636/0.02091, allocations: 1.561 MB / 272 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.02104, allocations: 43.72 kB / 272.1 MB, free: 2.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.668e-05/0.02106, allocations: 15.98 kB / 272.1 MB, free: 2.434 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: 9 (ice.tokgFuel.local_reset,stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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.0001116/0.02117, allocations: 136.6 kB / 272.2 MB, free: 2.289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.02121, allocations: 47.89 kB / 272.3 MB, free: 2.242 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.02147, allocations: 220.1 kB / 272.5 MB, free: 2.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.02147, allocations: 4 kB / 272.5 MB, free: 2.004 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-06/0.02147, allocations: 4.125 kB / 272.5 MB, free: 2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.02148, allocations: 7.922 kB / 272.5 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.0217, allocations: 285.5 kB / 272.8 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0217, allocations: 4 kB / 272.8 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.02182, allocations: 51.91 kB / 272.8 MB, free: 1.641 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.02188, allocations: 67.5 kB / 272.9 MB, free: 1.574 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001251/0.022, allocations: 55.64 kB / 272.9 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.02202, allocations: 4 kB / 272.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.114/0.136, allocations: 1.57 MB / 274.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.136, allocations: 0 / 274.5 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.1364, allocations: 282.5 kB / 274.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.687e-05/0.1365, allocations: 9.031 kB / 274.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.1366, allocations: 19.02 kB / 274.8 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.925e-05/0.1366, allocations: 33.19 kB / 274.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.279e-05/0.1367, allocations: 4.156 kB / 274.9 MB, free: 11.15 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002919/0.137, allocations: 281.9 kB / 275.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.137, allocations: 0 / 275.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003864/0.1373, allocations: 150.2 kB / 275.3 MB, free: 11.12 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.001874/0.1392, allocations: 0.8653 MB / 276.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004492/0.1397, allocations: 376.8 kB / 276.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.818e-05/0.1397, allocations: 8.312 kB / 276.5 MB, free: 10.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002062/0.1399, allocations: 218.4 kB / 276.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.1403, allocations: 0.5569 MB / 277.3 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.1439, allocations: 1.209 MB / 278.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001651/0.1441, allocations: 178.5 kB / 278.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.1442, allocations: 57.08 kB / 278.7 MB, free: 9.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001811/0.1444, allocations: 131.8 kB / 278.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of SimCode: time 1.242e-06/0.1444, allocations: 0 / 278.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of Templates: time 0.0123/0.1567, allocations: 7.447 MB / 286.3 MB, free: 8.109 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO -abortSlowSimulation -alarm=240 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.835127094760537]