Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.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.001653/0.001653, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002372/0.002372, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.395/1.395, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.04066/0.04066, allocations: 8.54 MB / 321.7 MB, free: 10.65 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") [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.002619/0.002619, allocations: 75.88 kB / 448.2 MB, free: 15.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1091, allocations: 55.41 MB / 0.4918 GB, free: 8.004 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.006026/0.1152, allocations: 3.771 MB / 0.4955 GB, free: 4.211 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.1184, allocations: 1.944 MB / 0.4974 GB, free: 2.262 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002901/0.1187, allocations: 11.94 kB / 0.4974 GB, free: 2.25 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005469/0.1193, allocations: 202.9 kB / 0.4976 GB, free: 2.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006678/0.1199, allocations: 282.6 kB / 0.4979 GB, free: 1.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001007/0.1209, allocations: 402.8 kB / 0.4982 GB, free: 1.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008298/0.1218, allocations: 0.651 MB / 0.4989 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003368/0.1221, allocations: 151.2 kB / 0.499 GB, free: 0.5742 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.1225, allocations: 267 kB / 0.4993 GB, free: 320 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000612/0.1231, allocations: 322.7 kB / 0.4996 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.694e-05/0.1232, allocations: 60 kB / 0.4996 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003409/0.1235, allocations: 187.8 kB / 0.4998 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000233/0.1237, allocations: 223.3 kB / 0.5 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.124, allocations: 342 kB / 0.5004 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1251, allocations: 0.9455 MB / 0.5013 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1251, allocations: 0 / 0.5013 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1251, allocations: 0 / 0.5013 GB, free: 14.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.628e-06/0.1251, allocations: 0 / 0.5013 GB, free: 14.25 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: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001847/0.127, allocations: 1.063 MB / 0.5023 GB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.127, allocations: 8.031 kB / 0.5023 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.1272, allocations: 88.38 kB / 0.5024 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008248/0.128, allocations: 0.5379 MB / 0.5029 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.081e-05/0.128, allocations: 29.12 kB / 0.503 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/0.1281, allocations: 43.95 kB / 0.503 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008196/0.1289, allocations: 434.4 kB / 0.5034 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1289, allocations: 0 / 0.5034 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.129, allocations: 12 kB / 0.5034 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.129, allocations: 11.94 kB / 0.5034 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007745/0.1298, allocations: 315.7 kB / 0.5037 GB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002575/0.1323, allocations: 1.628 MB / 0.5053 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008971/0.1332, allocations: 318.8 kB / 0.5056 GB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003173/0.1335, allocations: 112.8 kB / 0.5057 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1336, allocations: 7.984 kB / 0.5058 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004651/0.134, allocations: 194.7 kB / 0.5059 GB, free: 9.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.763e-06/0.134, allocations: 0 / 0.5059 GB, free: 9.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001361/0.1354, allocations: 469.7 kB / 0.5064 GB, free: 8.824 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.1355, allocations: 144.4 kB / 0.5065 GB, free: 8.652 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/0.1367, allocations: 0.9613 MB / 0.5075 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.796e-05/0.1368, allocations: 37.64 kB / 0.5075 GB, free: 7.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003204/0.1371, allocations: 348.4 kB / 0.5078 GB, free: 7.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.03e-05/0.1372, allocations: 83.28 kB / 0.5079 GB, free: 7.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.1373, allocations: 73.69 kB / 0.508 GB, free: 7.133 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.1375, allocations: 386.8 kB / 0.5084 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004218/0.1379, allocations: 136.8 kB / 0.5085 GB, free: 6.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.1384, allocations: 221.3 kB / 0.5087 GB, free: 6.359 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.1392, allocations: 352.4 kB / 0.509 GB, free: 5.984 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1392, allocations: 0 / 0.509 GB, free: 5.984 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001118/0.1403, allocations: 0.4912 MB / 0.5095 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.1404, allocations: 29.7 kB / 0.5095 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.1404, allocations: 12.16 kB / 0.5096 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001586/0.1405, allocations: 24.84 kB / 0.5096 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.1408, allocations: 75.89 kB / 0.5096 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00114/0.142, allocations: 1.267 MB / 0.5109 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.1423, allocations: 59.72 kB / 0.5109 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.1423, allocations: 12 kB / 0.511 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006012/0.1429, allocations: 355.9 kB / 0.5113 GB, free: 3.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003963/0.1433, allocations: 209.9 kB / 0.5115 GB, free: 3.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000663/0.144, allocations: 328.2 kB / 0.5118 GB, free: 2.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.144, allocations: 0 / 0.5118 GB, free: 2.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009946/0.145, allocations: 482.9 kB / 0.5123 GB, free: 2.445 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.145, allocations: 29.7 kB / 0.5123 GB, free: 2.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/0.145, allocations: 4 kB / 0.5123 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.952e-05/0.1451, allocations: 28.78 kB / 0.5123 GB, free: 2.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002824/0.1454, allocations: 71.89 kB / 0.5124 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.1465, allocations: 1.271 MB / 0.5136 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.1467, allocations: 51.91 kB / 0.5137 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.1468, allocations: 12 kB / 0.5137 GB, free: 0.8594 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.0001864/0.147, allocations: 208.3 kB / 0.5139 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.68e-05/0.1471, allocations: 67.52 kB / 0.514 GB, free: 0.582 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009486/0.148, allocations: 375.3 kB / 0.5143 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.148, allocations: 4 kB / 0.5143 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.148, allocations: 0 / 0.5143 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.148, allocations: 0 / 0.5143 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2125/0.3605, allocations: 0.5234 MB / 0.5148 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3605, allocations: 1.453 kB / 0.5148 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/0.3608, allocations: 50.22 kB / 0.5149 GB, free: 26.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000108/0.3609, allocations: 20.92 kB / 0.5149 GB, free: 26.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.556e-05/0.3609, allocations: 6.859 kB / 0.5149 GB, free: 26.65 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007214/0.3617, allocations: 1.273 MB / 0.5162 GB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3617, allocations: 1.25 kB / 0.5162 GB, free: 25.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.3628, allocations: 0.5313 MB / 0.5167 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.363, allocations: 82.62 kB / 0.5168 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.239e-05/0.3631, allocations: 4.875 kB / 0.5168 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3633, allocations: 27.39 kB / 0.5168 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/0.3634, allocations: 34.75 kB / 0.5168 GB, free: 25.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-05/0.3634, allocations: 6.5 kB / 0.5168 GB, free: 25.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007173/0.3641, allocations: 0.6913 MB / 0.5175 GB, free: 25.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3641, allocations: 0.6562 kB / 0.5175 GB, free: 25.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006829/0.3648, allocations: 252.3 kB / 0.5177 GB, free: 25.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,iceT.tokgFuel.y) * 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.002478/0.3673, allocations: 0.6986 MB / 0.5184 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001608/0.3689, allocations: 0.7938 MB / 0.5192 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3689, allocations: 0 / 0.5192 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000423/0.3693, allocations: 249.9 kB / 0.5194 GB, free: 24.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.3699, allocations: 100.8 kB / 0.5195 GB, free: 24.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002164/0.3721, allocations: 1.376 MB / 0.5209 GB, free: 24.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.3725, allocations: 0.9398 MB / 0.5218 GB, free: 23.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001393/0.3726, allocations: 43.98 kB / 0.5218 GB, free: 23.37 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3726, allocations: 2.906 kB / 0.5218 GB, free: 23.37 MB / 382.1 MB Notification: Performance of Templates: time 0.01784/0.3904, allocations: 11.5 MB / 0.5331 GB, free: 20.27 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.346417708089575] Failed to read output from testmodel.py, exit status != 0: 0.3992352809291333 0.411180557 0.28372346400000004 Calling exit ...