Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.001407/0.001407, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.002369/0.002369, allocations: 219.5 kB / 22.99 MB, free: 4.914 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.513/1.513, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.04331/0.04331, allocations: 8.554 MB / 321.7 MB, free: 10.4 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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [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.002144/0.002144, allocations: 71.89 kB / 448.1 MB, free: 15.13 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1097, allocations: 55.43 MB / 0.4917 GB, free: 7.605 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.005836/0.1156, allocations: 3.517 MB / 0.4952 GB, free: 4.066 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00324/0.1188, allocations: 1.882 MB / 0.497 GB, free: 2.176 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.1191, allocations: 11.94 kB / 0.497 GB, free: 2.164 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005016/0.1196, allocations: 198.9 kB / 0.4972 GB, free: 1.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006969/0.1203, allocations: 290.6 kB / 0.4975 GB, free: 1.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008564/0.1211, allocations: 400.7 kB / 0.4979 GB, free: 1.297 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000776/0.1219, allocations: 0.6315 MB / 0.4985 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.1222, allocations: 155.1 kB / 0.4986 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004017/0.1226, allocations: 266.9 kB / 0.4989 GB, free: 252 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.123, allocations: 290.7 kB / 0.4992 GB, free: 15.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.261e-05/0.1231, allocations: 52 kB / 0.4992 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002257/0.1234, allocations: 119.9 kB / 0.4993 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.1236, allocations: 211.2 kB / 0.4995 GB, free: 15.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.1239, allocations: 246.5 kB / 0.4998 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.1249, allocations: 0.8714 MB / 0.5006 GB, free: 14.47 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1249, allocations: 0 / 0.5006 GB, free: 14.47 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1249, allocations: 0 / 0.5006 GB, free: 14.47 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.1249, allocations: 4 kB / 0.5006 GB, free: 14.46 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001843/0.1267, allocations: 1.035 MB / 0.5016 GB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.1268, allocations: 8.031 kB / 0.5016 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.1269, allocations: 88.38 kB / 0.5017 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008806/0.1278, allocations: 0.534 MB / 0.5023 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.182e-05/0.1278, allocations: 36.92 kB / 0.5023 GB, free: 12.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.233e-05/0.1279, allocations: 39.95 kB / 0.5023 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008717/0.1288, allocations: 446.4 kB / 0.5028 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.1288, allocations: 0 / 0.5028 GB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.1289, allocations: 16 kB / 0.5028 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.1289, allocations: 8 kB / 0.5028 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008304/0.1297, allocations: 311.7 kB / 0.5031 GB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.1322, allocations: 1.43 MB / 0.5045 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009366/0.1331, allocations: 312.4 kB / 0.5048 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003477/0.1335, allocations: 116.8 kB / 0.5049 GB, free: 9.949 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.794e-05/0.1335, allocations: 4 kB / 0.5049 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.134, allocations: 187.1 kB / 0.5051 GB, free: 9.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 4.359e-06/0.134, allocations: 7.984 kB / 0.5051 GB, free: 9.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001441/0.1354, allocations: 469.3 kB / 0.5055 GB, free: 9.277 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.295e-05/0.1355, allocations: 93.05 kB / 0.5056 GB, free: 9.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.1367, allocations: 0.9338 MB / 0.5065 GB, free: 8.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.683e-05/0.1368, allocations: 29.7 kB / 0.5065 GB, free: 8.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.1371, allocations: 352.5 kB / 0.5069 GB, free: 7.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.427e-05/0.1372, allocations: 87.39 kB / 0.507 GB, free: 7.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.1373, allocations: 77.59 kB / 0.507 GB, free: 7.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.1375, allocations: 382.8 kB / 0.5074 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004194/0.138, allocations: 162.5 kB / 0.5076 GB, free: 7.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004783/0.1384, allocations: 266.9 kB / 0.5078 GB, free: 6.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00082/0.1393, allocations: 352.5 kB / 0.5081 GB, free: 6.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.1393, allocations: 0 / 0.5081 GB, free: 6.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001136/0.1404, allocations: 0.5086 MB / 0.5086 GB, free: 5.914 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.148e-05/0.1404, allocations: 33.7 kB / 0.5087 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.1404, allocations: 7.938 kB / 0.5087 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.1406, allocations: 24.84 kB / 0.5087 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/0.141, allocations: 79.88 kB / 0.5088 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.1421, allocations: 1.241 MB / 0.51 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.1424, allocations: 55.77 kB / 0.51 GB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.1425, allocations: 12 kB / 0.5101 GB, free: 4.355 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006465/0.1431, allocations: 369.8 kB / 0.5104 GB, free: 3.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004283/0.1435, allocations: 247.7 kB / 0.5106 GB, free: 3.703 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007027/0.1442, allocations: 328.2 kB / 0.511 GB, free: 3.352 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/0.1442, allocations: 7.875 kB / 0.511 GB, free: 3.344 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001029/0.1453, allocations: 0.489 MB / 0.5114 GB, free: 2.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.1453, allocations: 37.7 kB / 0.5115 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.965e-06/0.1453, allocations: 0 / 0.5115 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.331e-05/0.1454, allocations: 24.78 kB / 0.5115 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/0.1457, allocations: 75.89 kB / 0.5116 GB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.1467, allocations: 1.245 MB / 0.5128 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003038/0.147, allocations: 47.78 kB / 0.5128 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.1471, allocations: 12 kB / 0.5129 GB, free: 1.281 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,iceT.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 40 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001791/0.1473, allocations: 200.2 kB / 0.513 GB, free: 1.078 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1474, allocations: 67.52 kB / 0.5131 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009927/0.1483, allocations: 376.2 kB / 0.5135 GB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.1484, allocations: 4 kB / 0.5135 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.1484, allocations: 0 / 0.5135 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1484, allocations: 3.984 kB / 0.5135 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.1489, allocations: 397 kB / 0.5139 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.1489, allocations: 0 / 0.5139 GB, free: 204 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.1492, allocations: 59.89 kB / 0.5139 GB, free: 144 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.999e-05/0.1492, allocations: 20.8 kB / 0.5139 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/0.1493, allocations: 11.98 kB / 0.5139 GB, free: 108 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2128/0.362, allocations: 1.233 MB / 0.5151 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.362, allocations: 2.969 kB / 0.5151 GB, free: 25.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3634, allocations: 0.5268 MB / 0.5157 GB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.3635, allocations: 87.56 kB / 0.5157 GB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.037e-05/0.3636, allocations: 4.906 kB / 0.5158 GB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002489/0.3638, allocations: 26.91 kB / 0.5158 GB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.3639, allocations: 27.34 kB / 0.5158 GB, free: 25.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.364, allocations: 4.312 kB / 0.5158 GB, free: 25.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007672/0.3647, allocations: 0.6718 MB / 0.5165 GB, free: 25.67 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3647, allocations: 0 / 0.5165 GB, free: 25.67 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006685/0.3654, allocations: 218.9 kB / 0.5167 GB, free: 25.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (iceT.inertia.w,iceT.tokgFuel.y,loadTorque.phi) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002509/0.3679, allocations: 0.6528 MB / 0.5173 GB, free: 25.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001574/0.3695, allocations: 0.851 MB / 0.5181 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3695, allocations: 0 / 0.5181 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004633/0.37, allocations: 247.2 kB / 0.5184 GB, free: 25 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006093/0.3706, allocations: 91.83 kB / 0.5185 GB, free: 25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.3726, allocations: 1.372 MB / 0.5198 GB, free: 24.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3729, allocations: 340.3 kB / 0.5201 GB, free: 24.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.3731, allocations: 39.97 kB / 0.5202 GB, free: 24.33 MB / 382.1 MB Notification: Performance of SimCode: time 8.51e-07/0.3731, allocations: 2.438 kB / 0.5202 GB, free: 24.33 MB / 382.1 MB Notification: Performance of Templates: time 0.01851/0.3916, allocations: 11.08 MB / 0.531 GB, free: 21.53 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.886850790120661] Failed to read output from testmodel.py, exit status != 0: 0.3999559651128948 0.412704991 0.28532392100000004 Calling exit ...