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.0007644/0.0007644, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001798, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007495/0.0007495, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009398/0.001689, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 1.036/1.036, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08419/1.12, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.02605/0.02605, allocations: 6.488 MB / 250.5 MB, free: 8.449 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004385/0.03043, allocations: 2.469 MB / 252.9 MB, free: 5.977 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.443e-06/1.443e-06, allocations: 0 / 254.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.181e-05, allocations: 2.312 kB / 254.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004483/0.004495, allocations: 3.813 MB / 258 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.006196, allocations: 1.226 MB / 259.2 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.006374, allocations: 19.88 kB / 259.3 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003582/0.006732, allocations: 226.7 kB / 259.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.007178, allocations: 294.4 kB / 259.8 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005405/0.007719, allocations: 363 kB / 260.1 MB, free: 14.75 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005768/0.008295, allocations: 0.6393 MB / 260.8 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003021/0.008598, allocations: 197.7 kB / 260.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000533/0.009131, allocations: 472 kB / 261.4 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.009394, allocations: 239.3 kB / 261.6 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.00946, allocations: 59.94 kB / 261.7 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.009618, allocations: 115.9 kB / 261.8 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001619/0.00978, allocations: 191.4 kB / 262 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.009945, allocations: 163.5 kB / 262.2 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005931/0.01054, allocations: 0.5448 MB / 262.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.35e-05/0.01055, allocations: 4 kB / 262.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.01055, allocations: 0 / 262.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.612e-05/0.01057, allocations: 0 / 262.7 MB, free: 12.15 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.001233/0.0118, allocations: 1.123 MB / 263.8 MB, free: 10.99 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.01183, allocations: 15.98 kB / 263.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.01194, allocations: 84.86 kB / 263.9 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004487/0.01239, allocations: 394.2 kB / 264.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.01242, allocations: 29.38 kB / 264.3 MB, free: 10.45 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.345e-05/0.01248, allocations: 44.38 kB / 264.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.01285, allocations: 328.4 kB / 264.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.562e-05/0.01286, allocations: 0 / 264.7 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.01289, allocations: 19.94 kB / 264.7 MB, free: 10.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.0129, allocations: 12 kB / 264.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001603/0.01306, allocations: 102.9 kB / 264.8 MB, free: 9.938 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001303/0.01436, allocations: 1.089 MB / 265.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.01461, allocations: 141.3 kB / 266.1 MB, free: 8.656 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/0.01467, allocations: 36.84 kB / 266.1 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.919e-05/0.0147, allocations: 4 kB / 266.1 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.01486, allocations: 115.9 kB / 266.2 MB, free: 8.488 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.01486, allocations: 8 kB / 266.2 MB, free: 8.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=26): time 0.000541/0.0154, allocations: 262.9 kB / 266.5 MB, free: 8.215 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.01543, allocations: 59.41 kB / 266.5 MB, free: 8.145 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005272/0.01596, allocations: 0.5992 MB / 267.1 MB, free: 7.535 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.01598, allocations: 33.7 kB / 267.2 MB, free: 7.496 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.01613, allocations: 262.3 kB / 267.4 MB, free: 7.23 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.01619, allocations: 91.25 kB / 267.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.919e-05/0.01627, allocations: 77.98 kB / 267.6 MB, free: 7.059 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.01641, allocations: 382.6 kB / 268 MB, free: 6.676 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.665e-05/0.01649, allocations: 66.42 kB / 268 MB, free: 6.605 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.01659, allocations: 129.4 kB / 268.2 MB, free: 6.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.01678, allocations: 204.1 kB / 268.4 MB, free: 6.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01678, allocations: 0 / 268.4 MB, free: 6.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003435/0.01712, allocations: 307.1 kB / 268.7 MB, free: 5.895 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.01716, allocations: 37.7 kB / 268.7 MB, free: 5.852 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.01717, allocations: 7.938 kB / 268.7 MB, free: 5.844 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001869/0.01735, allocations: 59.62 kB / 268.8 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.01754, allocations: 71.89 kB / 268.8 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009591/0.0185, allocations: 1.554 MB / 270.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.01864, allocations: 39.77 kB / 270.4 MB, free: 4.027 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.874e-05/0.01866, allocations: 15.94 kB / 270.4 MB, free: 4.012 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.0001183/0.01878, allocations: 132.6 kB / 270.6 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.053e-05/0.01883, allocations: 39.95 kB / 270.6 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.01912, allocations: 224.5 kB / 270.8 MB, free: 3.598 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01912, allocations: 7.984 kB / 270.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01912, allocations: 0 / 270.8 MB, free: 3.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01913, allocations: 3.938 kB / 270.8 MB, free: 3.586 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.01939, allocations: 273.4 kB / 271.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.01939, allocations: 0 / 271.1 MB, free: 3.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.01953, allocations: 43.97 kB / 271.2 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.495e-05/0.01961, allocations: 75.44 kB / 271.2 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001386/0.01974, allocations: 59.62 kB / 271.3 MB, free: 3.121 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.01976, allocations: 4.125 kB / 271.3 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009371/0.02069, allocations: 1.561 MB / 272.8 MB, free: 1.457 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.0207, allocations: 3.938 kB / 272.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.02103, allocations: 266.2 kB / 273.1 MB, free: 1.168 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.02107, allocations: 4 kB / 273.1 MB, free: 1.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.928e-05/0.02117, allocations: 15.98 kB / 273.1 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.02122, allocations: 27.94 kB / 273.2 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.195e-05/0.02123, allocations: 4 kB / 273.2 MB, free: 1.117 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002606/0.02149, allocations: 280.5 kB / 273.4 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02149, allocations: 0 / 273.4 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.02185, allocations: 131.7 kB / 273.6 MB, free: 0.7188 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.002318/0.02417, allocations: 0.8692 MB / 274.4 MB, free: 220 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.1004/0.1246, allocations: 349 kB / 274.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.456e-05/0.1246, allocations: 8.531 kB / 274.8 MB, free: 14.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002103/0.1249, allocations: 201.6 kB / 275 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.1253, allocations: 115 kB / 275.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004094/0.1294, allocations: 1.144 MB / 276.2 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001284/0.1295, allocations: 177.3 kB / 276.4 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001376/0.1296, allocations: 52.3 kB / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001723/0.1298, allocations: 121.5 kB / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1298, allocations: 0.5 kB / 276.6 MB, free: 13.49 MB / 266.7 MB Notification: Performance of Templates: time 0.01105/0.1409, allocations: 7.158 MB / 283.7 MB, free: 12.44 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.7556901639327407]