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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002302/0.002302, allocations: 197.9 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04231/0.04231, allocations: 8.536 MB / 314.7 MB, free: 296 kB / 238.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.89 kB / 438.7 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09789/0.09979, allocations: 54.2 MB / 492.9 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005984/0.1058, allocations: 3.696 MB / 496.6 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003059/0.1088, allocations: 1.796 MB / 498.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.1091, allocations: 7.938 kB / 498.4 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.1095, allocations: 202.9 kB / 498.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005327/0.1101, allocations: 230.8 kB / 498.8 MB, free: 228 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009006/0.111, allocations: 398.2 kB / 499.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007389/0.1117, allocations: 0.6237 MB / 499.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003172/0.112, allocations: 150.7 kB / 499.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003014/0.1123, allocations: 247 kB / 0.4885 GB, free: 14.81 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000484/0.1128, allocations: 306.7 kB / 0.4888 GB, free: 14.51 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.262e-05/0.1129, allocations: 56 kB / 0.4888 GB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.1131, allocations: 139.9 kB / 0.4889 GB, free: 14.32 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002242/0.1134, allocations: 219.2 kB / 0.4891 GB, free: 14.1 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003074/0.1137, allocations: 326.1 kB / 0.4895 GB, free: 13.78 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001051/0.1147, allocations: 0.8792 MB / 0.4903 GB, free: 12.9 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1147, allocations: 4 kB / 0.4903 GB, free: 12.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1147, allocations: 0 / 0.4903 GB, free: 12.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1147, allocations: 0 / 0.4903 GB, free: 12.89 MB / 366.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.002021/0.1168, allocations: 1.096 MB / 0.4914 GB, free: 11.74 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1168, allocations: 19.89 kB / 0.4914 GB, free: 11.72 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.1169, allocations: 84.38 kB / 0.4915 GB, free: 11.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008912/0.1178, allocations: 0.5906 MB / 0.4921 GB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.1179, allocations: 29.12 kB / 0.4921 GB, free: 10.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.287e-05/0.1179, allocations: 43.95 kB / 0.4921 GB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008833/0.1188, allocations: 430.4 kB / 0.4925 GB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.1188, allocations: 0 / 0.4925 GB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.159e-05/0.1189, allocations: 16 kB / 0.4926 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.1189, allocations: 8 kB / 0.4926 GB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008696/0.1198, allocations: 311.7 kB / 0.4929 GB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002697/0.1225, allocations: 1.695 MB / 0.4945 GB, free: 8.387 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009493/0.1234, allocations: 306.8 kB / 0.4948 GB, free: 8.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.1238, allocations: 124.7 kB / 0.4949 GB, free: 7.953 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.1238, allocations: 4 kB / 0.4949 GB, free: 7.949 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004859/0.1243, allocations: 187.1 kB / 0.4951 GB, free: 7.754 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.703e-06/0.1243, allocations: 4 kB / 0.4951 GB, free: 7.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001537/0.1258, allocations: 0.5383 MB / 0.4956 GB, free: 7.188 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.1259, allocations: 140.5 kB / 0.4958 GB, free: 7.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.1271, allocations: 0.9338 MB / 0.4967 GB, free: 6.078 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.1271, allocations: 29.7 kB / 0.4967 GB, free: 6.043 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.1274, allocations: 344.4 kB / 0.497 GB, free: 5.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.674e-05/0.1275, allocations: 83.33 kB / 0.4971 GB, free: 5.621 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.1277, allocations: 81.58 kB / 0.4972 GB, free: 5.535 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.1279, allocations: 374.8 kB / 0.4976 GB, free: 5.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004192/0.1283, allocations: 152.7 kB / 0.4977 GB, free: 5.008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.1288, allocations: 221.3 kB / 0.4979 GB, free: 4.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008411/0.1296, allocations: 348.5 kB / 0.4983 GB, free: 4.387 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.1296, allocations: 4 kB / 0.4983 GB, free: 4.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001128/0.1307, allocations: 491.2 kB / 0.4987 GB, free: 3.887 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.191e-05/0.1308, allocations: 37.69 kB / 0.4988 GB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1308, allocations: 4.156 kB / 0.4988 GB, free: 3.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001484/0.1309, allocations: 24.86 kB / 0.4988 GB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.1313, allocations: 83.88 kB / 0.4989 GB, free: 3.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1326, allocations: 1.367 MB / 0.5002 GB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.1329, allocations: 51.8 kB / 0.5003 GB, free: 2.172 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1329, allocations: 12 kB / 0.5003 GB, free: 2.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006155/0.1335, allocations: 348 kB / 0.5006 GB, free: 1.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004314/0.134, allocations: 209.2 kB / 0.5008 GB, free: 1.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007249/0.1347, allocations: 335.8 kB / 0.5011 GB, free: 1.219 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.1347, allocations: 0 / 0.5011 GB, free: 1.219 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001031/0.1357, allocations: 471.3 kB / 0.5016 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.1358, allocations: 44.28 kB / 0.5016 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.1358, allocations: 7.984 kB / 0.5016 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.448e-05/0.1359, allocations: 20.84 kB / 0.5016 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.1362, allocations: 71.89 kB / 0.5017 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001128/0.1373, allocations: 1.371 MB / 0.503 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003167/0.1376, allocations: 52 kB / 0.5031 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.1376, allocations: 8 kB / 0.5031 GB, free: 15.03 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.0001805/0.1378, allocations: 204.7 kB / 0.5033 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.1379, allocations: 71.52 kB / 0.5034 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.1389, allocations: 372.2 kB / 0.5037 GB, free: 14.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.1389, allocations: 7.984 kB / 0.5037 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.1389, allocations: 3.938 kB / 0.5037 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1389, allocations: 0 / 0.5037 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006479/0.1396, allocations: 0.544 MB / 0.5043 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1396, allocations: 0 / 0.5043 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.1399, allocations: 51.89 kB / 0.5043 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.96e-05/0.14, allocations: 28.8 kB / 0.5043 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.14, allocations: 7.984 kB / 0.5043 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.1411, allocations: 1.364 MB / 0.5057 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.1411, allocations: 7.969 kB / 0.5057 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001337/0.1424, allocations: 0.5242 MB / 0.5062 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002141/0.1426, allocations: 160.6 kB / 0.5063 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.1427, allocations: 8 kB / 0.5064 GB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.143, allocations: 23.97 kB / 0.5064 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.84e-05/0.1431, allocations: 27.97 kB / 0.5064 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.1431, allocations: 7.984 kB / 0.5064 GB, free: 11.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008678/0.1439, allocations: 0.6709 MB / 0.5071 GB, free: 10.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1439, allocations: 0 / 0.5071 GB, free: 10.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006709/0.1446, allocations: 223.5 kB / 0.5073 GB, free: 10.49 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.002475/0.1471, allocations: 0.6441 MB / 0.5079 GB, free: 10.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00175/0.1488, allocations: 0.7966 MB / 0.5087 GB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.1488, allocations: 0 / 0.5087 GB, free: 9.293 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005566/0.1494, allocations: 251.1 kB / 0.5089 GB, free: 9.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.1499, allocations: 90.67 kB / 0.509 GB, free: 8.953 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002426/0.1523, allocations: 1.343 MB / 0.5103 GB, free: 7.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.1531, allocations: 0.9287 MB / 0.5112 GB, free: 6.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002544/0.1533, allocations: 96.14 kB / 0.5113 GB, free: 6.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.1535, allocations: 39.44 kB / 0.5114 GB, free: 6.484 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1535, allocations: 0 / 0.5114 GB, free: 6.484 MB / 382.1 MB Notification: Performance of Templates: time 0.1878/0.3413, allocations: 7.28 MB / 0.5185 GB, free: 36.25 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 -s gbode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.837088007014245] Failed to read output from testmodel.py, exit status != 0: 0.3479816857725382 0.35953243700000004 0.24229106500000003 Calling exit ...