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.001246/0.001246, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001314/0.001314, allocations: 188.4 kB / 22.23 MB, free: 5.105 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.352/1.352, allocations: 225.6 MB / 251 MB, free: 13.02 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.04088/0.04088, allocations: 8.54 MB / 314.8 MB, free: 144 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.00187/0.00187, allocations: 68.12 kB / 438.9 MB, free: 12.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08757/0.08944, allocations: 54.25 MB / 493.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005799/0.09524, allocations: 3.687 MB / 496.9 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.09826, allocations: 1.804 MB / 498.7 MB, free: 280 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.0986, allocations: 11.94 kB / 498.7 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004961/0.0991, allocations: 191 kB / 498.9 MB, free: 76 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006752/0.09977, allocations: 230.8 kB / 499.1 MB, free: 15.85 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009573/0.1007, allocations: 409.5 kB / 499.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009722/0.1017, allocations: 0.6236 MB / 0.4884 GB, free: 14.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003951/0.1021, allocations: 155.2 kB / 0.4886 GB, free: 14.66 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003955/0.1025, allocations: 259 kB / 0.4888 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005293/0.103, allocations: 310.7 kB / 0.4891 GB, free: 14.11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.1031, allocations: 56 kB / 0.4892 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002946/0.1034, allocations: 136 kB / 0.4893 GB, free: 13.92 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.1037, allocations: 215.3 kB / 0.4895 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003411/0.104, allocations: 334 kB / 0.4898 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001076/0.1051, allocations: 0.8714 MB / 0.4907 GB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1051, allocations: 0 / 0.4907 GB, free: 12.5 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1051, allocations: 0 / 0.4907 GB, free: 12.5 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.682e-05/0.1051, allocations: 0 / 0.4907 GB, free: 12.5 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.001997/0.1071, allocations: 1.032 MB / 0.4917 GB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1071, allocations: 12.03 kB / 0.4917 GB, free: 11.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001616/0.1073, allocations: 84.38 kB / 0.4918 GB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/0.1082, allocations: 0.5224 MB / 0.4923 GB, free: 10.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/0.1082, allocations: 33.12 kB / 0.4923 GB, free: 10.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.183e-05/0.1083, allocations: 47.94 kB / 0.4923 GB, free: 10.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008531/0.1091, allocations: 426.4 kB / 0.4928 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.1092, allocations: 0 / 0.4928 GB, free: 10.27 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.48e-05/0.1092, allocations: 20 kB / 0.4928 GB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.1092, allocations: 12 kB / 0.4928 GB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/0.11, allocations: 299.7 kB / 0.4931 GB, free: 9.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002571/0.1126, allocations: 1.628 MB / 0.4947 GB, free: 8.242 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000876/0.1135, allocations: 310.8 kB / 0.495 GB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000338/0.1138, allocations: 116.7 kB / 0.4951 GB, free: 7.812 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.1138, allocations: 4 kB / 0.4951 GB, free: 7.809 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004524/0.1143, allocations: 191.1 kB / 0.4953 GB, free: 7.609 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.834e-06/0.1143, allocations: 0 / 0.4953 GB, free: 7.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001414/0.1157, allocations: 469.7 kB / 0.4957 GB, free: 7.141 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.193e-05/0.1158, allocations: 136.5 kB / 0.4958 GB, free: 6.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001215/0.117, allocations: 0.9377 MB / 0.4967 GB, free: 6.031 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.1171, allocations: 37.64 kB / 0.4968 GB, free: 5.988 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003147/0.1174, allocations: 344.4 kB / 0.4971 GB, free: 5.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.05e-05/0.1174, allocations: 87.27 kB / 0.4972 GB, free: 5.562 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.1176, allocations: 85.58 kB / 0.4973 GB, free: 5.473 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002149/0.1178, allocations: 378.8 kB / 0.4976 GB, free: 5.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003997/0.1182, allocations: 136.7 kB / 0.4978 GB, free: 4.957 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000443/0.1186, allocations: 225.3 kB / 0.498 GB, free: 4.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007551/0.1194, allocations: 352.5 kB / 0.4983 GB, free: 4.328 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-06/0.1194, allocations: 0 / 0.4983 GB, free: 4.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001076/0.1205, allocations: 496.2 kB / 0.4988 GB, free: 3.828 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.1205, allocations: 29.7 kB / 0.4988 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.1205, allocations: 11.94 kB / 0.4988 GB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001505/0.1207, allocations: 24.84 kB / 0.4989 GB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.121, allocations: 79.88 kB / 0.4989 GB, free: 3.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.1221, allocations: 1.271 MB / 0.5002 GB, free: 2.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.1224, allocations: 51.94 kB / 0.5002 GB, free: 2.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.066e-05/0.1225, allocations: 16 kB / 0.5002 GB, free: 2.223 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005633/0.123, allocations: 343.9 kB / 0.5006 GB, free: 1.883 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003869/0.1234, allocations: 209.3 kB / 0.5008 GB, free: 1.645 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006738/0.1241, allocations: 327.8 kB / 0.5011 GB, free: 1.293 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.1241, allocations: 4 kB / 0.5011 GB, free: 1.289 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0009685/0.1251, allocations: 479 kB / 0.5015 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.1251, allocations: 33.7 kB / 0.5016 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.985e-06/0.1251, allocations: 0 / 0.5016 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.284e-05/0.1252, allocations: 24.84 kB / 0.5016 GB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002986/0.1255, allocations: 80.11 kB / 0.5017 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.1265, allocations: 1.265 MB / 0.5029 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002952/0.1268, allocations: 47.78 kB / 0.503 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.1269, allocations: 16 kB / 0.503 GB, free: 15.22 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.0001814/0.127, allocations: 206 kB / 0.5032 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.1271, allocations: 71.45 kB / 0.5032 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009155/0.1281, allocations: 375.3 kB / 0.5036 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.1281, allocations: 4 kB / 0.5036 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1281, allocations: 3.938 kB / 0.5036 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1281, allocations: 3.938 kB / 0.5036 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006011/0.1287, allocations: 0.5157 MB / 0.5041 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1287, allocations: 4 kB / 0.5041 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.1289, allocations: 47.95 kB / 0.5042 GB, free: 13.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.327e-05/0.129, allocations: 24.84 kB / 0.5042 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/0.129, allocations: 4 kB / 0.5042 GB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.1301, allocations: 1.271 MB / 0.5054 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1301, allocations: 0 / 0.5054 GB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.1313, allocations: 0.5139 MB / 0.5059 GB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.1314, allocations: 79.55 kB / 0.506 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.523e-05/0.1315, allocations: 12 kB / 0.506 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.1317, allocations: 31.95 kB / 0.506 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.1318, allocations: 19.97 kB / 0.5061 GB, free: 11.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1318, allocations: 11.98 kB / 0.5061 GB, free: 11.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008505/0.1327, allocations: 0.6709 MB / 0.5067 GB, free: 11.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1327, allocations: 0 / 0.5067 GB, free: 11.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006693/0.1333, allocations: 223.5 kB / 0.5069 GB, free: 10.95 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.002351/0.1357, allocations: 0.6403 MB / 0.5076 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.1374, allocations: 0.8034 MB / 0.5083 GB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1374, allocations: 4.125 kB / 0.5084 GB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004947/0.1379, allocations: 242.5 kB / 0.5086 GB, free: 9.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.1384, allocations: 101.3 kB / 0.5087 GB, free: 9.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.1406, allocations: 1.328 MB / 0.51 GB, free: 8.027 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000633/0.1412, allocations: 0.9365 MB / 0.5109 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002529/0.1415, allocations: 88.2 kB / 0.511 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001111/0.1416, allocations: 35.44 kB / 0.511 GB, free: 6.938 MB / 382.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1416, allocations: 0 / 0.511 GB, free: 6.938 MB / 382.1 MB Notification: Performance of Templates: time 0.1728/0.3144, allocations: 7.333 MB / 0.5182 GB, free: 35.53 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: 4.415989208035171] Failed to read output from testmodel.py, exit status != 0: 0.32111365254968405 0.331761822 0.22432177699999994 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7efd5cdbd7b0>