Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.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.001363/0.001363, 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.001404/0.001404, allocations: 200.2 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.482/1.482, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.04247/0.04247, allocations: 8.55 MB / 314.7 MB, free: 304 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/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.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 438.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09808/0.1, allocations: 54.2 MB / 492.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.005813/0.1059, allocations: 3.715 MB / 496.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.109, allocations: 1.8 MB / 498.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002319/0.1092, allocations: 7.938 kB / 498.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004581/0.1097, allocations: 195 kB / 498.6 MB, free: 464 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005162/0.1102, allocations: 238.8 kB / 498.8 MB, free: 224 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008898/0.1111, allocations: 404.4 kB / 499.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007761/0.1118, allocations: 0.6199 MB / 499.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.1122, allocations: 154.7 kB / 500 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.1125, allocations: 251 kB / 0.4885 GB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004706/0.113, allocations: 306.7 kB / 0.4888 GB, free: 14.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.113, allocations: 55.98 kB / 0.4888 GB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001902/0.1132, allocations: 104 kB / 0.4889 GB, free: 14.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002097/0.1134, allocations: 215.3 kB / 0.4891 GB, free: 14.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002902/0.1137, allocations: 326 kB / 0.4894 GB, free: 13.81 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009985/0.1147, allocations: 0.8481 MB / 0.4903 GB, free: 12.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.1147, allocations: 4 kB / 0.4903 GB, free: 12.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1147, allocations: 0 / 0.4903 GB, free: 12.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1148, allocations: 0 / 0.4903 GB, free: 12.95 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.001895/0.1167, allocations: 1.099 MB / 0.4913 GB, free: 11.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.1167, allocations: 11.89 kB / 0.4914 GB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1168, allocations: 84.42 kB / 0.4914 GB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008273/0.1177, allocations: 0.5789 MB / 0.492 GB, free: 11.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.1177, allocations: 32.94 kB / 0.492 GB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.1178, allocations: 39.95 kB / 0.4921 GB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008722/0.1186, allocations: 424.7 kB / 0.4925 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1187, allocations: 0 / 0.4925 GB, free: 10.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.968e-05/0.1187, allocations: 12 kB / 0.4925 GB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/0.1187, allocations: 8 kB / 0.4925 GB, free: 10.56 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008782/0.1196, allocations: 311.7 kB / 0.4928 GB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002582/0.1222, allocations: 1.688 MB / 0.4944 GB, free: 8.484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.1231, allocations: 314.8 kB / 0.4947 GB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003552/0.1235, allocations: 120.8 kB / 0.4949 GB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.1235, allocations: 4 kB / 0.4949 GB, free: 8.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004756/0.124, allocations: 183.1 kB / 0.495 GB, free: 7.852 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.114e-06/0.124, allocations: 0 / 0.495 GB, free: 7.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001497/0.1255, allocations: 0.5366 MB / 0.4956 GB, free: 7.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.511e-05/0.1256, allocations: 89.09 kB / 0.4956 GB, free: 7.184 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001128/0.1267, allocations: 0.9222 MB / 0.4965 GB, free: 6.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.582e-05/0.1267, allocations: 29.7 kB / 0.4966 GB, free: 6.219 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.127, allocations: 336.3 kB / 0.4969 GB, free: 5.887 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/0.1271, allocations: 91.34 kB / 0.497 GB, free: 5.797 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1272, allocations: 73.69 kB / 0.4971 GB, free: 5.719 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.1274, allocations: 378.8 kB / 0.4974 GB, free: 5.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004102/0.1279, allocations: 140.7 kB / 0.4976 GB, free: 5.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.1283, allocations: 215.5 kB / 0.4978 GB, free: 4.961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008173/0.1291, allocations: 344.6 kB / 0.4981 GB, free: 4.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1291, allocations: 0 / 0.4981 GB, free: 4.594 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001122/0.1303, allocations: 491.2 kB / 0.4986 GB, free: 4.098 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.1303, allocations: 40.77 kB / 0.4986 GB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1303, allocations: 0 / 0.4986 GB, free: 4.055 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.1305, allocations: 24.84 kB / 0.4986 GB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.1308, allocations: 84.05 kB / 0.4987 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001155/0.132, allocations: 1.371 MB / 0.5 GB, free: 2.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.1323, allocations: 55.8 kB / 0.5001 GB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.1323, allocations: 15.94 kB / 0.5001 GB, free: 2.363 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005939/0.1329, allocations: 336 kB / 0.5004 GB, free: 2.031 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000413/0.1333, allocations: 191.7 kB / 0.5006 GB, free: 1.816 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007241/0.1341, allocations: 327.9 kB / 0.5009 GB, free: 1.465 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.894e-06/0.1341, allocations: 0 / 0.5009 GB, free: 1.465 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001046/0.1351, allocations: 475.1 kB / 0.5014 GB, free: 0.9844 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.1352, allocations: 33.7 kB / 0.5014 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.1352, allocations: 224 / 0.5014 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.254e-05/0.1352, allocations: 28.84 kB / 0.5014 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.1355, allocations: 79.83 kB / 0.5015 GB, free: 0.8359 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/0.1366, allocations: 1.375 MB / 0.5028 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003081/0.1369, allocations: 39.86 kB / 0.5029 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.137, allocations: 8 kB / 0.5029 GB, free: 15.27 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.0001893/0.1371, allocations: 213.6 kB / 0.5031 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.647e-05/0.1372, allocations: 67.53 kB / 0.5032 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009838/0.1382, allocations: 368 kB / 0.5035 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.1382, allocations: 4 kB / 0.5035 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.1382, allocations: 4 kB / 0.5035 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.1382, allocations: 3.984 kB / 0.5035 GB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006103/0.1389, allocations: 0.5284 MB / 0.504 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1389, allocations: 0 / 0.504 GB, free: 14.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002992/0.1392, allocations: 51.91 kB / 0.5041 GB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.46e-05/0.1392, allocations: 20.84 kB / 0.5041 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.1393, allocations: 8 kB / 0.5041 GB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/0.1403, allocations: 1.376 MB / 0.5055 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1403, allocations: 4.156 kB / 0.5055 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.1417, allocations: 0.5197 MB / 0.506 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000246/0.142, allocations: 156.7 kB / 0.5061 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.1421, allocations: 11.98 kB / 0.5061 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002629/0.1423, allocations: 23.97 kB / 0.5062 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.511e-05/0.1424, allocations: 31.84 kB / 0.5062 GB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.1424, allocations: 8 kB / 0.5062 GB, free: 11.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009906/0.1434, allocations: 0.6591 MB / 0.5068 GB, free: 10.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1434, allocations: 4 kB / 0.5068 GB, free: 10.98 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008658/0.1443, allocations: 219.4 kB / 0.5071 GB, free: 10.77 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.002534/0.1468, allocations: 0.5825 MB / 0.5076 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.1486, allocations: 0.7893 MB / 0.5084 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1486, allocations: 128 / 0.5084 GB, free: 9.625 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005276/0.1491, allocations: 250.5 kB / 0.5086 GB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005868/0.1497, allocations: 109.1 kB / 0.5087 GB, free: 9.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002298/0.152, allocations: 1.339 MB / 0.51 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000596/0.1526, allocations: 0.9404 MB / 0.511 GB, free: 6.934 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.1529, allocations: 80.22 kB / 0.511 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.153, allocations: 39.42 kB / 0.5111 GB, free: 6.812 MB / 382.1 MB Notification: Performance of SimCode: time 8.71e-07/0.153, allocations: 7.938 kB / 0.5111 GB, free: 6.805 MB / 382.1 MB Notification: Performance of Templates: time 0.01414/0.1671, allocations: 6.824 MB / 0.5177 GB, free: 0 / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.847147777210921] Failed to read output from testmodel.py, exit status != 0: 0.3803569618612528 0.393817332 0.276308739 Calling exit ...