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.001879/0.001879, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 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.001989/0.001989, allocations: 173.6 kB / 22.76 MB, free: 1.664 MB / 18.57 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 1.568/1.568, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04358/0.04358, allocations: 6.497 MB / 266 MB, free: 6.656 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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 1.964e-06/1.964e-06, allocations: 0 / 337.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.482e-05, allocations: 2.312 kB / 337.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.004415/0.004439, allocations: 3.838 MB / 341.2 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002324/0.006764, allocations: 1.913 MB / 343.1 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002739/0.007037, allocations: 11.94 kB / 343.1 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004515/0.007489, allocations: 210.8 kB / 343.3 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005686/0.008058, allocations: 302.2 kB / 343.6 MB, free: 4.82 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006077/0.008665, allocations: 379 kB / 344 MB, free: 4.449 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004842/0.009149, allocations: 0.6899 MB / 344.7 MB, free: 3.758 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003382/0.009488, allocations: 233.8 kB / 344.9 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.00988, allocations: 407 kB / 345.3 MB, free: 3.125 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000296/0.01018, allocations: 271.2 kB / 345.6 MB, free: 2.859 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.01e-05/0.01025, allocations: 60 kB / 345.6 MB, free: 2.801 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.01041, allocations: 135.8 kB / 345.8 MB, free: 2.668 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001432/0.01055, allocations: 231.2 kB / 346 MB, free: 2.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.01072, allocations: 223.2 kB / 346.2 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007034/0.01142, allocations: 0.9268 MB / 347.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.01143, allocations: 4 kB / 347.1 MB, free: 1.289 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.01143, allocations: 0 / 347.1 MB, free: 1.289 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.01144, allocations: 0 / 347.1 MB, free: 1.289 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.001483/0.01292, allocations: 1.263 MB / 348.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.01296, allocations: 8.031 kB / 348.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.01318, allocations: 132.3 kB / 348.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008831/0.01406, allocations: 0.4969 MB / 349 MB, free: 15.32 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.01411, allocations: 37.36 kB / 349.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.397e-05/0.01421, allocations: 48.38 kB / 349.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009796/0.01519, allocations: 0.4913 MB / 349.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/0.01521, allocations: 3.953 kB / 349.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.01526, allocations: 20 kB / 349.6 MB, free: 14.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.01527, allocations: 12 kB / 349.6 MB, free: 14.68 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.01605, allocations: 315.8 kB / 350 MB, free: 14.38 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003481/0.01953, allocations: 2.005 MB / 352 MB, free: 12.31 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007856/0.02032, allocations: 323.1 kB / 352.3 MB, free: 11.98 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003051/0.02062, allocations: 115.6 kB / 352.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.754e-05/0.02067, allocations: 8 kB / 352.4 MB, free: 11.86 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004677/0.02114, allocations: 197.4 kB / 352.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.02114, allocations: 4 kB / 352.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=30): time 0.001637/0.02278, allocations: 0.5318 MB / 353.1 MB, free: 11.1 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.308e-05/0.02283, allocations: 55.41 kB / 353.2 MB, free: 11.04 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001278/0.02411, allocations: 0.8979 MB / 354.1 MB, free: 10.12 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.02414, allocations: 33.7 kB / 354.1 MB, free: 10.08 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.02464, allocations: 491.1 kB / 354.6 MB, free: 9.59 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.02476, allocations: 107.2 kB / 354.7 MB, free: 9.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001784/0.02494, allocations: 111.8 kB / 354.8 MB, free: 9.367 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004504/0.02539, allocations: 0.6211 MB / 355.4 MB, free: 8.734 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.02575, allocations: 150.6 kB / 355.6 MB, free: 8.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.02621, allocations: 256.1 kB / 355.8 MB, free: 8.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.02695, allocations: 378.9 kB / 356.2 MB, free: 7.879 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.02695, allocations: 0 / 356.2 MB, free: 7.879 MB / 282.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.00118/0.02813, allocations: 0.5543 MB / 356.7 MB, free: 7.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/0.02817, allocations: 33.92 kB / 356.8 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.02818, allocations: 4 kB / 356.8 MB, free: 7.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003192/0.0285, allocations: 67.64 kB / 356.9 MB, free: 7.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002862/0.02879, allocations: 71.89 kB / 356.9 MB, free: 7.117 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00254/0.03133, allocations: 2.278 MB / 359.2 MB, free: 4.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002878/0.03162, allocations: 43.77 kB / 359.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.072e-05/0.03165, allocations: 12 kB / 359.3 MB, free: 4.668 MB / 282.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 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$whenCondition1,ice.tokgFuel.local_reset) * 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.0003076/0.03195, allocations: 228.4 kB / 359.5 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.03207, allocations: 79.53 kB / 359.6 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000983/0.03306, allocations: 396 kB / 359.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.03306, allocations: 4 kB / 359.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-06/0.03306, allocations: 0 / 359.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.03307, allocations: 0 / 359.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.03391, allocations: 0.5901 MB / 360.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.03391, allocations: 0 / 360.5 MB, free: 3.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.03415, allocations: 47.86 kB / 360.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002623/0.03442, allocations: 67.64 kB / 360.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.03444, allocations: 8.109 kB / 360.7 MB, free: 3.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002186/0.03663, allocations: 2.262 MB / 362.9 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.03663, allocations: 4.031 kB / 362.9 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.03792, allocations: 0.5689 MB / 363.5 MB, free: 220 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.03811, allocations: 83.44 kB / 363.6 MB, free: 136 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.395e-05/0.03818, allocations: 11.98 kB / 363.6 MB, free: 124 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.03837, allocations: 15.98 kB / 363.6 MB, free: 108 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.03847, allocations: 35.95 kB / 363.6 MB, free: 72 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.03849, allocations: 7.984 kB / 363.6 MB, free: 64 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0007753/0.03927, allocations: 0.5341 MB / 364.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03927, allocations: 0 / 364.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005777/0.03985, allocations: 147.6 kB / 364.3 MB, free: 15.39 MB / 298.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.004632/0.04448, allocations: 0.653 MB / 365 MB, free: 15.04 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001478/0.04596, allocations: 0.5799 MB / 365.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.04596, allocations: 0 / 365.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005752/0.04653, allocations: 341.4 kB / 365.9 MB, free: 14.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.04713, allocations: 97.66 kB / 366 MB, free: 13.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002343/0.04948, allocations: 1.247 MB / 367.2 MB, free: 12.68 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004362/0.04991, allocations: 354.7 kB / 367.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001875/0.0501, allocations: 64.31 kB / 367.6 MB, free: 12.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.05022, allocations: 36.5 kB / 367.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.05022, allocations: 0 / 367.7 MB, free: 12.21 MB / 298.7 MB Notification: Performance of Templates: time 0.01574/0.06596, allocations: 6.94 MB / 374.6 MB, free: 5.32 MB / 298.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: 4.691597842960618]