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.002028/0.002028, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 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.002493/0.002493, allocations: 223.6 kB / 22.25 MB, free: 5.109 MB / 14.72 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.541/1.541, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 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.04381/0.04381, allocations: 8.537 MB / 321 MB, free: 10.41 MB / 254.1 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: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 71.91 kB / 447.4 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.107, allocations: 55.41 MB / 0.491 GB, free: 7.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006133/0.1132, allocations: 3.603 MB / 0.4945 GB, free: 4.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1156, allocations: 1.176 MB / 0.4957 GB, free: 2.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002463/0.1159, allocations: 11.94 kB / 0.4957 GB, free: 2.812 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005291/0.1164, allocations: 210.8 kB / 0.4959 GB, free: 2.605 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006534/0.117, allocations: 274.6 kB / 0.4961 GB, free: 2.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007909/0.1178, allocations: 369.9 kB / 0.4965 GB, free: 1.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007582/0.1186, allocations: 0.6472 MB / 0.4971 GB, free: 1.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004102/0.119, allocations: 191.8 kB / 0.4973 GB, free: 1.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004619/0.1195, allocations: 274.9 kB / 0.4976 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.1199, allocations: 290.6 kB / 0.4978 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001011/0.12, allocations: 56 kB / 0.4979 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.1202, allocations: 123.9 kB / 0.498 GB, free: 412 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002405/0.1204, allocations: 215.3 kB / 0.4982 GB, free: 196 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003114/0.1207, allocations: 262.5 kB / 0.4985 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.1218, allocations: 0.9063 MB / 0.4994 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1218, allocations: 0 / 0.4994 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1218, allocations: 0 / 0.4994 GB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.1218, allocations: 0 / 0.4994 GB, free: 15.02 MB / 382.1 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.001845/0.1237, allocations: 1.047 MB / 0.5004 GB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.1237, allocations: 12.03 kB / 0.5004 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.1239, allocations: 88.38 kB / 0.5005 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008704/0.1247, allocations: 0.53 MB / 0.501 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.1248, allocations: 36.94 kB / 0.501 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.171e-05/0.1248, allocations: 47.98 kB / 0.5011 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008827/0.1257, allocations: 431.8 kB / 0.5015 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/0.1258, allocations: 4 kB / 0.5015 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.016e-05/0.1258, allocations: 19.98 kB / 0.5015 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1258, allocations: 12 kB / 0.5015 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008104/0.1266, allocations: 307.7 kB / 0.5018 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.1292, allocations: 1.495 MB / 0.5033 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008409/0.1301, allocations: 302.8 kB / 0.5036 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.1304, allocations: 116.8 kB / 0.5037 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.1304, allocations: 0 / 0.5037 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000461/0.1309, allocations: 195.1 kB / 0.5039 GB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.733e-06/0.1309, allocations: 0 / 0.5039 GB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001708/0.1326, allocations: 0.5211 MB / 0.5044 GB, free: 9.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.1327, allocations: 59.47 kB / 0.5044 GB, free: 9.645 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.1339, allocations: 0.926 MB / 0.5053 GB, free: 8.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.816e-05/0.1339, allocations: 33.7 kB / 0.5054 GB, free: 8.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/0.1342, allocations: 360.4 kB / 0.5057 GB, free: 8.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.021e-05/0.1343, allocations: 95.23 kB / 0.5058 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.1344, allocations: 74.08 kB / 0.5059 GB, free: 8.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.1347, allocations: 382.8 kB / 0.5062 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004838/0.1351, allocations: 150.4 kB / 0.5064 GB, free: 7.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.1356, allocations: 233.4 kB / 0.5066 GB, free: 7.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007485/0.1363, allocations: 341.6 kB / 0.5069 GB, free: 6.973 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.1363, allocations: 0 / 0.5069 GB, free: 6.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001207/0.1375, allocations: 0.5387 MB / 0.5074 GB, free: 6.414 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.477e-05/0.1376, allocations: 29.7 kB / 0.5075 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.1376, allocations: 4 kB / 0.5075 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002971/0.1379, allocations: 68.97 kB / 0.5075 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.1382, allocations: 67.89 kB / 0.5076 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.1402, allocations: 1.676 MB / 0.5092 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003156/0.1406, allocations: 43.83 kB / 0.5093 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.1406, allocations: 19.94 kB / 0.5093 GB, free: 4.402 MB / 382.1 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.0003805/0.141, allocations: 269.6 kB / 0.5096 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.861e-05/0.1411, allocations: 75.47 kB / 0.5096 GB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/0.1421, allocations: 401 kB / 0.51 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.1421, allocations: 4 kB / 0.51 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.1421, allocations: 0 / 0.51 GB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1421, allocations: 7.922 kB / 0.51 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005338/0.1426, allocations: 405 kB / 0.5104 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.1426, allocations: 0 / 0.5104 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002867/0.1429, allocations: 47.89 kB / 0.5105 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002375/0.1431, allocations: 64.81 kB / 0.5105 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.1432, allocations: 4 kB / 0.5105 GB, free: 3.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001968/0.1451, allocations: 1.68 MB / 0.5122 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1451, allocations: 0 / 0.5122 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.1465, allocations: 0.5407 MB / 0.5127 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002015/0.1467, allocations: 83.55 kB / 0.5128 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.489e-05/0.1468, allocations: 4 kB / 0.5128 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002345/0.1471, allocations: 27.91 kB / 0.5128 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.1472, allocations: 31.95 kB / 0.5128 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.1472, allocations: 4 kB / 0.5128 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2115/0.3587, allocations: 0.6647 MB / 0.5135 GB, free: 26.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3587, allocations: 0 / 0.5135 GB, free: 26.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009222/0.3596, allocations: 132.6 kB / 0.5136 GB, free: 26.59 MB / 382.1 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.002521/0.3621, allocations: 0.6395 MB / 0.5142 GB, free: 26.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3632, allocations: 0.4913 MB / 0.5147 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.3632, allocations: 2.25 kB / 0.5147 GB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004281/0.3636, allocations: 264.7 kB / 0.515 GB, free: 26.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005299/0.3641, allocations: 105.3 kB / 0.5151 GB, free: 26.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.3661, allocations: 1.363 MB / 0.5164 GB, free: 25.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3664, allocations: 355.1 kB / 0.5167 GB, free: 25.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001731/0.3666, allocations: 74.73 kB / 0.5168 GB, free: 25.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.3667, allocations: 40.58 kB / 0.5169 GB, free: 25.45 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3667, allocations: 0 / 0.5169 GB, free: 25.45 MB / 382.1 MB Notification: Performance of Templates: time 0.01396/0.3806, allocations: 7.272 MB / 0.524 GB, free: 24.66 MB / 382.1 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=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.245805561542511] Failed to read output from testmodel.py, exit status != 0: 0.3882502280175686 0.406519204 0.280789982 Calling exit ...