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.0009777/0.0009777, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.001046/0.001046, allocations: 177 kB / 23.5 MB, free: 1.051 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 0.9837/0.9837, allocations: 177.1 MB / 203.8 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] 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.0259/0.0259, allocations: 6.494 MB / 266.8 MB, free: 6.695 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.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 2.114e-06/2.114e-06, allocations: 0 / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/2.05e-05, allocations: 6.312 kB / 338.1 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004772/0.004793, allocations: 3.792 MB / 341.9 MB, free: 7.305 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.006687, allocations: 1.195 MB / 343.1 MB, free: 6.105 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000239/0.006925, allocations: 11.94 kB / 343.1 MB, free: 6.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003776/0.007303, allocations: 198.9 kB / 343.3 MB, free: 5.898 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000464/0.007767, allocations: 294.3 kB / 343.6 MB, free: 5.609 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.008266, allocations: 367 kB / 343.9 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.008718, allocations: 0.6587 MB / 344.6 MB, free: 4.59 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.008994, allocations: 187.8 kB / 344.8 MB, free: 4.402 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003544/0.009349, allocations: 383 kB / 345.2 MB, free: 4.027 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/0.009584, allocations: 259.2 kB / 345.4 MB, free: 3.773 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.02e-05/0.009635, allocations: 56 kB / 345.5 MB, free: 3.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.009757, allocations: 115.9 kB / 345.6 MB, free: 3.605 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.009878, allocations: 223.2 kB / 345.8 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.009998, allocations: 199.4 kB / 346 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004763/0.01047, allocations: 0.5837 MB / 346.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.01048, allocations: 0 / 346.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.01048, allocations: 0 / 346.6 MB, free: 2.605 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.01049, allocations: 0 / 346.6 MB, free: 2.605 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.0009681/0.01145, allocations: 1.143 MB / 347.7 MB, free: 1.418 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.0115, allocations: 12.02 kB / 347.7 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.01161, allocations: 120.4 kB / 347.8 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004049/0.01202, allocations: 480.9 kB / 348.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.002e-05/0.01205, allocations: 29.38 kB / 348.3 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.436e-05/0.01209, allocations: 40.38 kB / 348.4 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.0125, allocations: 367.8 kB / 348.7 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.01251, allocations: 0 / 348.7 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.01253, allocations: 16 kB / 348.8 MB, free: 328 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.01254, allocations: 8 kB / 348.8 MB, free: 320 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.01276, allocations: 141.8 kB / 348.9 MB, free: 180 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001539/0.01429, allocations: 1.612 MB / 350.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.01462, allocations: 187.3 kB / 350.7 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.202e-05/0.01471, allocations: 49.64 kB / 350.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.01473, allocations: 4 kB / 350.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.01491, allocations: 128.8 kB / 350.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of pre-optimization done (n=26): time 1.683e-06/0.01491, allocations: 0 / 350.9 MB, free: 14.11 MB / 282.7 MB Notification: Performance of matching and sorting (n=26): time 0.0006869/0.0156, allocations: 357.8 kB / 351.2 MB, free: 13.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.01563, allocations: 59.41 kB / 351.3 MB, free: 13.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005878/0.01622, allocations: 0.7026 MB / 352 MB, free: 12.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.429e-05/0.01624, allocations: 37.64 kB / 352 MB, free: 12.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002479/0.01649, allocations: 423.2 kB / 352.4 MB, free: 12.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.394e-05/0.01654, allocations: 91.23 kB / 352.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.01663, allocations: 87.72 kB / 352.6 MB, free: 12.31 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.01681, allocations: 0.5664 MB / 353.2 MB, free: 11.73 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.01692, allocations: 74.42 kB / 353.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.01706, allocations: 176.3 kB / 353.4 MB, free: 11.44 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.01729, allocations: 232.1 kB / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01729, allocations: 0 / 353.6 MB, free: 11.17 MB / 282.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0004583/0.01775, allocations: 418.6 kB / 354.1 MB, free: 10.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.403e-05/0.01778, allocations: 41.69 kB / 354.1 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.01779, allocations: 4 kB / 354.1 MB, free: 10.69 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002207/0.01801, allocations: 63.64 kB / 354.2 MB, free: 10.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.01816, allocations: 63.91 kB / 354.2 MB, free: 10.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.01935, allocations: 2.133 MB / 356.4 MB, free: 8.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.01948, allocations: 39.72 kB / 356.4 MB, free: 8.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.0195, allocations: 23.92 kB / 356.4 MB, free: 8.242 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: 6 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$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 (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.0001271/0.01963, allocations: 176.5 kB / 356.6 MB, free: 8.059 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.711e-05/0.01968, allocations: 71.58 kB / 356.7 MB, free: 7.988 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.02002, allocations: 271.2 kB / 356.9 MB, free: 7.711 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.02002, allocations: 4 kB / 356.9 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.02003, allocations: 0 / 356.9 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.02003, allocations: 0 / 356.9 MB, free: 7.707 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004149/0.02045, allocations: 432.4 kB / 357.4 MB, free: 7.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.02045, allocations: 8 kB / 357.4 MB, free: 7.242 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.02057, allocations: 31.98 kB / 357.4 MB, free: 7.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001408/0.02071, allocations: 67.56 kB / 357.5 MB, free: 7.141 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.02072, allocations: 11.98 kB / 357.5 MB, free: 7.129 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.02183, allocations: 2.126 MB / 359.6 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.02183, allocations: 0 / 359.6 MB, free: 4.887 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.02224, allocations: 355.4 kB / 359.9 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.02231, allocations: 79.53 kB / 360 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.02235, allocations: 8 kB / 360 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.02243, allocations: 15.98 kB / 360 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.403e-05/0.0225, allocations: 23.95 kB / 360.1 MB, free: 4.387 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.02251, allocations: 11.94 kB / 360.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003623/0.02287, allocations: 466.9 kB / 360.5 MB, free: 3.926 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02287, allocations: 0 / 360.5 MB, free: 3.926 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003272/0.0232, allocations: 127.7 kB / 360.7 MB, free: 3.801 MB / 282.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.001278/0.02448, allocations: 0.5674 MB / 361.2 MB, free: 3.461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005179/0.02499, allocations: 438.3 kB / 361.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.025, allocations: 448 / 361.7 MB, free: 2.992 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002015/0.0252, allocations: 281.7 kB / 361.9 MB, free: 2.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.02552, allocations: 92.12 kB / 362 MB, free: 2.605 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.02752, allocations: 1.121 MB / 363.1 MB, free: 1.445 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.02763, allocations: 161.2 kB / 363.3 MB, free: 1.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.02775, allocations: 56.23 kB / 363.4 MB, free: 1.215 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.615e-05/0.02782, allocations: 44.5 kB / 363.4 MB, free: 1.172 MB / 282.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02782, allocations: 0 / 363.4 MB, free: 1.172 MB / 282.7 MB Notification: Performance of Templates: time 0.00937/0.03719, allocations: 6.73 MB / 370.1 MB, free: 10.49 MB / 298.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: 3.05197398387827]