Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001463/0.001463, 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.001639/0.001639, allocations: 215.9 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 8.066 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.04062/0.04062, allocations: 8.541 MB / 321.7 MB, free: 10.66 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.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_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.002013/0.002013, allocations: 75.88 kB / 448.2 MB, free: 15.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1081, 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.005898/0.114, allocations: 3.775 MB / 0.4955 GB, free: 4.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003458/0.1175, allocations: 1.947 MB / 0.4974 GB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000534/0.118, allocations: 11.94 kB / 0.4974 GB, free: 2.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006252/0.1186, allocations: 206.9 kB / 0.4976 GB, free: 2.039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009093/0.1195, allocations: 282.6 kB / 0.4979 GB, free: 1.762 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.1206, allocations: 398.6 kB / 0.4983 GB, free: 1.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008378/0.1214, allocations: 0.6393 MB / 0.4989 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003232/0.1217, allocations: 159.1 kB / 0.499 GB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.1221, allocations: 271 kB / 0.4993 GB, free: 312 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004883/0.1226, allocations: 322.6 kB / 0.4996 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.902e-05/0.1226, allocations: 56 kB / 0.4997 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003293/0.123, allocations: 187.9 kB / 0.4998 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002262/0.1232, allocations: 227.2 kB / 0.5001 GB, free: 15.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.1235, allocations: 334 kB / 0.5004 GB, free: 15.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.1247, allocations: 0.9456 MB / 0.5013 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1247, allocations: 0 / 0.5013 GB, free: 14.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1247, allocations: 0 / 0.5013 GB, free: 14.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.1247, 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.001904/0.1266, allocations: 1.063 MB / 0.5023 GB, free: 13.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1267, allocations: 12.03 kB / 0.5023 GB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001561/0.1268, allocations: 88.38 kB / 0.5024 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008885/0.1277, allocations: 0.5302 MB / 0.5029 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.695e-05/0.1278, allocations: 33.12 kB / 0.503 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.1278, allocations: 39.95 kB / 0.503 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008535/0.1287, allocations: 434.4 kB / 0.5034 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.1287, allocations: 0 / 0.5034 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.1287, allocations: 15.94 kB / 0.5034 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1288, allocations: 8 kB / 0.5035 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.1296, allocations: 311.7 kB / 0.5038 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.1323, allocations: 1.639 MB / 0.5054 GB, free: 9.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009103/0.1332, allocations: 318.7 kB / 0.5057 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/0.1335, allocations: 112.8 kB / 0.5058 GB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.52e-05/0.1336, allocations: 4 kB / 0.5058 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004766/0.134, allocations: 186.8 kB / 0.5059 GB, free: 9.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.265e-06/0.134, allocations: 4 kB / 0.5059 GB, free: 9.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001431/0.1355, allocations: 477.6 kB / 0.5064 GB, free: 8.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.1356, allocations: 136.5 kB / 0.5065 GB, free: 8.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.1369, allocations: 0.9652 MB / 0.5075 GB, free: 7.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.219e-05/0.1369, allocations: 33.7 kB / 0.5075 GB, free: 7.641 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003143/0.1372, allocations: 344.3 kB / 0.5078 GB, free: 7.301 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.29e-05/0.1373, allocations: 87.34 kB / 0.5079 GB, free: 7.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.1374, allocations: 73.69 kB / 0.508 GB, free: 7.137 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002187/0.1377, allocations: 382.8 kB / 0.5084 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.1381, allocations: 136.8 kB / 0.5085 GB, free: 6.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004549/0.1385, allocations: 233.2 kB / 0.5087 GB, free: 6.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007576/0.1393, allocations: 340.5 kB / 0.509 GB, free: 5.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1393, allocations: 0 / 0.509 GB, free: 5.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001123/0.1404, allocations: 0.499 MB / 0.5095 GB, free: 5.477 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.23e-05/0.1404, allocations: 37.69 kB / 0.5096 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.1405, allocations: 8.156 kB / 0.5096 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001475/0.1406, allocations: 20.86 kB / 0.5096 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003395/0.1409, allocations: 87.81 kB / 0.5097 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.1421, allocations: 1.26 MB / 0.5109 GB, free: 3.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.1424, allocations: 51.7 kB / 0.5109 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.1424, allocations: 19.98 kB / 0.511 GB, free: 3.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006079/0.143, allocations: 351.9 kB / 0.5113 GB, free: 3.523 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004054/0.1434, allocations: 206 kB / 0.5115 GB, free: 3.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006621/0.1441, allocations: 328.1 kB / 0.5118 GB, free: 2.938 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.1441, allocations: 4 kB / 0.5118 GB, free: 2.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009897/0.1451, allocations: 474.9 kB / 0.5123 GB, free: 2.453 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/0.1451, allocations: 41.69 kB / 0.5123 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.786e-06/0.1451, allocations: 0 / 0.5123 GB, free: 2.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.928e-05/0.1452, allocations: 20.84 kB / 0.5123 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.1455, allocations: 75.89 kB / 0.5124 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001039/0.1465, allocations: 1.275 MB / 0.5136 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.1468, allocations: 51.94 kB / 0.5137 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1469, 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.0001733/0.147, allocations: 200.2 kB / 0.5139 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1471, allocations: 67.52 kB / 0.514 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009694/0.1481, allocations: 383.3 kB / 0.5143 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1481, allocations: 0 / 0.5143 GB, free: 200 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1481, allocations: 4 kB / 0.5143 GB, free: 196 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.1481, allocations: 4 kB / 0.5143 GB, free: 192 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1913/0.3395, allocations: 0.5174 MB / 0.5148 GB, free: 26.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3395, allocations: 1.781 kB / 0.5148 GB, free: 26.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003149/0.3398, allocations: 54.3 kB / 0.5149 GB, free: 26.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001086/0.3399, allocations: 22.41 kB / 0.5149 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.3399, allocations: 5.312 kB / 0.5149 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006782/0.3406, allocations: 1.27 MB / 0.5162 GB, free: 25.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3406, allocations: 0 / 0.5162 GB, free: 25.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.3417, allocations: 0.5259 MB / 0.5167 GB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001593/0.3419, allocations: 89.89 kB / 0.5168 GB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.157e-05/0.342, allocations: 6.25 kB / 0.5168 GB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.3422, allocations: 26.25 kB / 0.5168 GB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.3423, allocations: 29.16 kB / 0.5168 GB, free: 25.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3423, allocations: 10.17 kB / 0.5168 GB, free: 25.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007112/0.343, allocations: 0.69 MB / 0.5175 GB, free: 25.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.343, allocations: 0 / 0.5175 GB, free: 25.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000682/0.3437, allocations: 244.8 kB / 0.5177 GB, free: 25.38 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.002469/0.3461, allocations: 0.7093 MB / 0.5184 GB, free: 25.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.3476, allocations: 0.797 MB / 0.5192 GB, free: 24.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3476, allocations: 0 / 0.5192 GB, free: 24.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004017/0.348, allocations: 247.8 kB / 0.5194 GB, free: 24.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005175/0.3485, allocations: 90.92 kB / 0.5195 GB, free: 24.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001921/0.3504, allocations: 1.39 MB / 0.5209 GB, free: 24.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.3508, allocations: 0.9307 MB / 0.5218 GB, free: 23.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.351, allocations: 46.3 kB / 0.5218 GB, free: 23.46 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.351, allocations: 5.031 kB / 0.5218 GB, free: 23.46 MB / 382.1 MB Notification: Performance of Templates: time 0.01647/0.3674, allocations: 11.5 MB / 0.5331 GB, free: 20.36 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.267454134998843] Failed to read output from testmodel.py, exit status != 0: 0.3751577290240675 0.387180252 0.26014254400000003 Calling exit ...