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.001368/0.001368, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002063/0.002063, allocations: 192.4 kB / 22.17 MB, free: 5.652 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.544/1.544, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.04373/0.04373, allocations: 8.548 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.001996/0.001996, allocations: 63.91 kB / 438.7 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1015, allocations: 54.19 MB / 492.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005699/0.1072, allocations: 3.695 MB / 496.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002852/0.1101, allocations: 1.796 MB / 498.3 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002214/0.1103, allocations: 11.94 kB / 498.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.1107, allocations: 191 kB / 498.5 MB, free: 456 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000515/0.1113, allocations: 242.7 kB / 498.8 MB, free: 212 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008439/0.1121, allocations: 392.9 kB / 499.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007116/0.1128, allocations: 0.616 MB / 499.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.1131, allocations: 154.7 kB / 499.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002961/0.1134, allocations: 247 kB / 0.4885 GB, free: 14.8 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.1139, allocations: 318.7 kB / 0.4888 GB, free: 14.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.91e-05/0.114, allocations: 52 kB / 0.4888 GB, free: 14.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.1142, allocations: 139.9 kB / 0.4889 GB, free: 14.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002115/0.1144, allocations: 215.3 kB / 0.4891 GB, free: 14.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002951/0.1147, allocations: 334 kB / 0.4895 GB, free: 13.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001041/0.1157, allocations: 0.8753 MB / 0.4903 GB, free: 12.88 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1157, allocations: 0 / 0.4903 GB, free: 12.88 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1157, allocations: 0 / 0.4903 GB, free: 12.88 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.416e-06/0.1157, allocations: 4 kB / 0.4903 GB, free: 12.88 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.001931/0.1177, allocations: 1.096 MB / 0.4914 GB, free: 11.72 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1177, allocations: 15.83 kB / 0.4914 GB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.1179, allocations: 88.38 kB / 0.4915 GB, free: 11.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008552/0.1187, allocations: 0.5906 MB / 0.4921 GB, free: 10.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.1188, allocations: 29.12 kB / 0.4921 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.698e-05/0.1188, allocations: 43.95 kB / 0.4921 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.1197, allocations: 430.4 kB / 0.4925 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1198, allocations: 0 / 0.4925 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.1198, allocations: 16 kB / 0.4926 GB, free: 10.46 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.1198, allocations: 8 kB / 0.4926 GB, free: 10.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000865/0.1207, allocations: 311.7 kB / 0.4929 GB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002759/0.1234, allocations: 1.692 MB / 0.4945 GB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009923/0.1244, allocations: 317.9 kB / 0.4948 GB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003583/0.1248, allocations: 116.8 kB / 0.4949 GB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.022e-05/0.1248, allocations: 4 kB / 0.4949 GB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.1253, allocations: 187.1 kB / 0.4951 GB, free: 7.742 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 2.535e-06/0.1253, allocations: 0 / 0.4951 GB, free: 7.742 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001563/0.1269, allocations: 0.5329 MB / 0.4956 GB, free: 7.184 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.127, allocations: 140.4 kB / 0.4958 GB, free: 7.016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.1282, allocations: 0.9455 MB / 0.4967 GB, free: 6.062 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.181e-05/0.1283, allocations: 33.7 kB / 0.4967 GB, free: 6.023 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003392/0.1286, allocations: 344.4 kB / 0.4971 GB, free: 5.684 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.555e-05/0.1287, allocations: 79.33 kB / 0.4971 GB, free: 5.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.1288, allocations: 77.64 kB / 0.4972 GB, free: 5.523 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000225/0.1291, allocations: 378.8 kB / 0.4976 GB, free: 5.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004213/0.1295, allocations: 144.7 kB / 0.4977 GB, free: 5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.13, allocations: 217.3 kB / 0.4979 GB, free: 4.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008555/0.1308, allocations: 356.5 kB / 0.4983 GB, free: 4.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/0.1308, allocations: 4 kB / 0.4983 GB, free: 4.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001253/0.1321, allocations: 495.1 kB / 0.4987 GB, free: 3.871 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.1321, allocations: 33.7 kB / 0.4988 GB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.1322, allocations: 7.938 kB / 0.4988 GB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.1323, allocations: 20.84 kB / 0.4988 GB, free: 3.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000359/0.1327, allocations: 80.11 kB / 0.4989 GB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/0.1341, allocations: 1.379 MB / 0.5002 GB, free: 2.203 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003994/0.1345, allocations: 51.75 kB / 0.5003 GB, free: 2.152 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.1345, allocations: 8 kB / 0.5003 GB, free: 2.145 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007262/0.1352, allocations: 343.9 kB / 0.5006 GB, free: 1.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004693/0.1357, allocations: 213.3 kB / 0.5008 GB, free: 1.562 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007717/0.1365, allocations: 327.9 kB / 0.5011 GB, free: 1.211 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/0.1365, allocations: 4 kB / 0.5011 GB, free: 1.207 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001108/0.1376, allocations: 478.8 kB / 0.5016 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.1376, allocations: 33.92 kB / 0.5016 GB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1376, allocations: 8 kB / 0.5016 GB, free: 0.6758 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.003e-05/0.1377, allocations: 20.84 kB / 0.5016 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003055/0.138, allocations: 75.83 kB / 0.5017 GB, free: 0.5781 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001229/0.1392, allocations: 1.371 MB / 0.503 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003536/0.1396, allocations: 43.84 kB / 0.5031 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.1396, allocations: 15.98 kB / 0.5031 GB, free: 15.01 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.0002043/0.1398, allocations: 212.8 kB / 0.5033 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001326/0.14, allocations: 71.52 kB / 0.5034 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.141, allocations: 368.2 kB / 0.5037 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-06/0.141, allocations: 4 kB / 0.5037 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.141, allocations: 4 kB / 0.5037 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.141, allocations: 0 / 0.5037 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006614/0.1417, allocations: 0.54 MB / 0.5043 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1417, allocations: 0 / 0.5043 GB, free: 13.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.142, allocations: 51.95 kB / 0.5043 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.153e-05/0.1421, allocations: 24.84 kB / 0.5043 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.1421, allocations: 0 / 0.5043 GB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.1432, allocations: 1.384 MB / 0.5057 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1432, allocations: 0 / 0.5057 GB, free: 12.15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.1445, allocations: 0.5274 MB / 0.5062 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002258/0.1448, allocations: 160.6 kB / 0.5063 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.1448, allocations: 8 kB / 0.5064 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002652/0.1451, allocations: 27.95 kB / 0.5064 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.399e-05/0.1452, allocations: 23.97 kB / 0.5064 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.1452, allocations: 4 kB / 0.5064 GB, free: 11.37 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000881/0.1461, allocations: 0.6748 MB / 0.5071 GB, free: 10.7 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1461, allocations: 0 / 0.5071 GB, free: 10.7 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007279/0.1468, allocations: 223.5 kB / 0.5073 GB, free: 10.48 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.002741/0.1496, allocations: 0.6433 MB / 0.5079 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002114/0.1517, allocations: 0.8008 MB / 0.5087 GB, free: 9.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.1517, allocations: 0 / 0.5087 GB, free: 9.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005933/0.1523, allocations: 242.5 kB / 0.5089 GB, free: 9.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006897/0.153, allocations: 105.9 kB / 0.509 GB, free: 8.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002991/0.1559, allocations: 1.339 MB / 0.5103 GB, free: 7.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000759/0.1567, allocations: 0.9287 MB / 0.5112 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003226/0.157, allocations: 92.22 kB / 0.5113 GB, free: 6.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.1572, allocations: 43.42 kB / 0.5114 GB, free: 6.469 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.1572, allocations: 0 / 0.5114 GB, free: 6.469 MB / 382.1 MB Notification: Performance of Templates: time 0.2817/0.4389, allocations: 7.27 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 cvode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.178136426024139] Failed to read output from testmodel.py, exit status != 0: 0.4472237629815936 0.462595493 0.343060792 Calling exit ...