Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001529/0.001529, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.00154/0.00154, allocations: 217.3 kB / 22.99 MB, free: 4.945 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.06219/0.06219, allocations: 8.546 MB / 321.7 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 3.0.0/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_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_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.002097/0.002097, allocations: 71.89 kB / 448.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1214, allocations: 55.42 MB / 0.4917 GB, free: 7.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006232/0.1277, allocations: 3.6 MB / 0.4952 GB, free: 4.004 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002673/0.1303, allocations: 1.172 MB / 0.4964 GB, free: 2.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003024/0.1306, allocations: 11.94 kB / 0.4964 GB, free: 2.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005313/0.1312, allocations: 210.9 kB / 0.4966 GB, free: 2.609 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006538/0.1318, allocations: 274.6 kB / 0.4969 GB, free: 2.34 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008065/0.1326, allocations: 377.6 kB / 0.4972 GB, free: 1.977 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007972/0.1334, allocations: 0.6432 MB / 0.4979 GB, free: 1.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000409/0.1338, allocations: 191.9 kB / 0.498 GB, free: 1.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004135/0.1343, allocations: 274.9 kB / 0.4983 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003983/0.1347, allocations: 290.6 kB / 0.4986 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.003e-05/0.1347, allocations: 52 kB / 0.4986 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.135, allocations: 123.9 kB / 0.4987 GB, free: 416 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002474/0.1352, allocations: 215.3 kB / 0.4989 GB, free: 200 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002944/0.1355, allocations: 266.5 kB / 0.4992 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.1366, allocations: 0.9063 MB / 0.5001 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1366, allocations: 0 / 0.5001 GB, free: 15.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1366, allocations: 0 / 0.5001 GB, free: 15.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.1366, allocations: 0 / 0.5001 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.001896/0.1385, allocations: 1.047 MB / 0.5011 GB, free: 13.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1385, allocations: 8.031 kB / 0.5011 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.1387, allocations: 88.38 kB / 0.5012 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.1395, allocations: 0.5379 MB / 0.5017 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.269e-05/0.1396, allocations: 32.94 kB / 0.5018 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.646e-05/0.1397, allocations: 40 kB / 0.5018 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008497/0.1405, allocations: 439.8 kB / 0.5022 GB, free: 12.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.1405, allocations: 7.984 kB / 0.5022 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.025e-05/0.1406, allocations: 20 kB / 0.5022 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1406, allocations: 8 kB / 0.5023 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007865/0.1414, allocations: 307.7 kB / 0.5025 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002515/0.1439, allocations: 1.491 MB / 0.504 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008149/0.1447, allocations: 298.8 kB / 0.5043 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.145, allocations: 120.8 kB / 0.5044 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.788e-05/0.1451, allocations: 4 kB / 0.5044 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004435/0.1455, allocations: 195.1 kB / 0.5046 GB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.744e-06/0.1455, allocations: 0 / 0.5046 GB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001629/0.1471, allocations: 0.5211 MB / 0.5051 GB, free: 9.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.1472, allocations: 63.33 kB / 0.5052 GB, free: 9.641 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001185/0.1484, allocations: 0.926 MB / 0.5061 GB, free: 8.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.366e-05/0.1484, allocations: 29.7 kB / 0.5061 GB, free: 8.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.1487, allocations: 364.5 kB / 0.5064 GB, free: 8.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.82e-05/0.1488, allocations: 91.23 kB / 0.5065 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.149, allocations: 74.06 kB / 0.5066 GB, free: 8.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.1492, allocations: 382.8 kB / 0.507 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003695/0.1496, allocations: 150.4 kB / 0.5071 GB, free: 7.598 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004212/0.15, allocations: 225.5 kB / 0.5073 GB, free: 7.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.1507, allocations: 341.6 kB / 0.5076 GB, free: 6.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1507, allocations: 0 / 0.5076 GB, free: 6.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001246/0.152, allocations: 0.5387 MB / 0.5082 GB, free: 6.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.152, allocations: 41.58 kB / 0.5082 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.152, allocations: 0 / 0.5082 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002792/0.1523, allocations: 61.03 kB / 0.5083 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.1527, allocations: 71.89 kB / 0.5083 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001951/0.1546, allocations: 1.68 MB / 0.51 GB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.1549, allocations: 51.86 kB / 0.51 GB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.739e-05/0.1549, allocations: 15.98 kB / 0.51 GB, free: 4.398 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.0003618/0.1553, allocations: 262.5 kB / 0.5103 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.268e-05/0.1554, allocations: 71.47 kB / 0.5104 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009914/0.1564, allocations: 408.1 kB / 0.5108 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.1564, allocations: 0 / 0.5108 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.1564, allocations: 0 / 0.5108 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.266e-05/0.1564, allocations: 7.922 kB / 0.5108 GB, free: 3.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000501/0.1569, allocations: 401 kB / 0.5111 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1569, allocations: 3.938 kB / 0.5111 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.1571, allocations: 51.95 kB / 0.5112 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/0.1573, allocations: 52.81 kB / 0.5112 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.1574, allocations: 12 kB / 0.5113 GB, free: 3.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/0.1592, allocations: 1.68 MB / 0.5129 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1592, allocations: 3.984 kB / 0.5129 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.1605, allocations: 0.5407 MB / 0.5134 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.1606, allocations: 79.55 kB / 0.5135 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.475e-05/0.1607, allocations: 8 kB / 0.5135 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.1609, allocations: 31.91 kB / 0.5135 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.161, allocations: 27.89 kB / 0.5136 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.161, allocations: 11.98 kB / 0.5136 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2598/0.4208, allocations: 0.6568 MB / 0.5142 GB, free: 26.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4208, allocations: 0 / 0.5142 GB, free: 26.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001009/0.4218, allocations: 131.2 kB / 0.5143 GB, free: 26.66 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.002692/0.4245, allocations: 0.6415 MB / 0.515 GB, free: 26.51 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001233/0.4257, allocations: 0.4911 MB / 0.5155 GB, free: 26.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4257, allocations: 0 / 0.5155 GB, free: 26.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004828/0.4262, allocations: 273 kB / 0.5157 GB, free: 26.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/0.4268, allocations: 90.34 kB / 0.5158 GB, free: 26.18 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002607/0.4294, allocations: 1.4 MB / 0.5172 GB, free: 25.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.4299, allocations: 347.8 kB / 0.5175 GB, free: 25.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.43, allocations: 39.86 kB / 0.5175 GB, free: 25.49 MB / 382.1 MB Notification: Performance of SimCode: time 1.323e-06/0.43, allocations: 0 / 0.5175 GB, free: 25.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01871/0.4488, allocations: 11.11 MB / 0.5284 GB, free: 22.93 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.757867000997066] Failed to read output from testmodel.py, exit status != 0: 0.45687765209004283 0.469430465 0.330276528 Calling exit ...