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.00136/0.00136, allocations: 109.2 kB / 18.7 MB, free: 3.105 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.005501/0.005501, allocations: 188.8 kB / 21.96 MB, free: 5.137 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.402/1.402, allocations: 225.6 MB / 250.7 MB, free: 13.37 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.04265/0.04265, allocations: 8.545 MB / 314.4 MB, free: 420 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.001974/0.001974, allocations: 67.89 kB / 438.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09095/0.09292, allocations: 54.2 MB / 492.4 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT): time 0.005648/0.09857, allocations: 3.698 MB / 496.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002791/0.1014, allocations: 1.784 MB / 497.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.1015, allocations: 11.94 kB / 497.9 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000472/0.102, allocations: 194.9 kB / 498.1 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005246/0.1025, allocations: 234.8 kB / 498.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008232/0.1034, allocations: 399.4 kB / 498.7 MB, free: 320 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007139/0.1041, allocations: 0.616 MB / 499.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003033/0.1044, allocations: 150.7 kB / 499.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.1047, allocations: 259 kB / 499.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004357/0.1051, allocations: 310.7 kB / 0.4883 GB, free: 14.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.503e-05/0.1052, allocations: 56 kB / 0.4884 GB, free: 14.92 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002103/0.1054, allocations: 135.9 kB / 0.4885 GB, free: 14.79 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002159/0.1056, allocations: 215.3 kB / 0.4887 GB, free: 14.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003086/0.1059, allocations: 334 kB / 0.489 GB, free: 14.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009876/0.1069, allocations: 0.8715 MB / 0.4899 GB, free: 13.37 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1069, allocations: 0 / 0.4899 GB, free: 13.37 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1069, allocations: 3.938 kB / 0.4899 GB, free: 13.37 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.305e-06/0.1069, allocations: 4 kB / 0.4899 GB, free: 13.36 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.001905/0.1088, allocations: 1.1 MB / 0.491 GB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.1089, allocations: 11.89 kB / 0.491 GB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.109, allocations: 88.31 kB / 0.4911 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008519/0.1099, allocations: 0.5905 MB / 0.4916 GB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.1099, allocations: 33.12 kB / 0.4917 GB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-05/0.11, allocations: 39.95 kB / 0.4917 GB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008721/0.1109, allocations: 430.4 kB / 0.4921 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.1109, allocations: 0 / 0.4921 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.1109, allocations: 16 kB / 0.4921 GB, free: 10.95 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.1109, allocations: 8 kB / 0.4921 GB, free: 10.94 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008637/0.1118, allocations: 311.7 kB / 0.4924 GB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002607/0.1144, allocations: 1.692 MB / 0.4941 GB, free: 8.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/0.1154, allocations: 313 kB / 0.4944 GB, free: 8.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000377/0.1158, allocations: 116.8 kB / 0.4945 GB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.62e-05/0.1158, allocations: 8.062 kB / 0.4945 GB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004801/0.1163, allocations: 187.1 kB / 0.4947 GB, free: 8.227 MB / 366.1 MB Notification: Performance of pre-optimization done (n=24): time 1.793e-06/0.1163, allocations: 0 / 0.4947 GB, free: 8.227 MB / 366.1 MB Notification: Performance of matching and sorting (n=24): time 0.001538/0.1178, allocations: 0.5368 MB / 0.4952 GB, free: 7.664 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.1179, allocations: 140.5 kB / 0.4953 GB, free: 7.496 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.1191, allocations: 0.9377 MB / 0.4963 GB, free: 6.551 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.1191, allocations: 33.7 kB / 0.4963 GB, free: 6.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/0.1195, allocations: 344.2 kB / 0.4966 GB, free: 6.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/0.1195, allocations: 87.31 kB / 0.4967 GB, free: 6.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.1197, allocations: 73.66 kB / 0.4968 GB, free: 6.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1199, allocations: 382.8 kB / 0.4971 GB, free: 5.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004665/0.1203, allocations: 144.7 kB / 0.4973 GB, free: 5.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/0.1208, allocations: 221.3 kB / 0.4975 GB, free: 5.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008684/0.1217, allocations: 344.5 kB / 0.4978 GB, free: 4.863 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.465e-05/0.1217, allocations: 7.984 kB / 0.4978 GB, free: 4.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001186/0.1229, allocations: 491.2 kB / 0.4983 GB, free: 4.359 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.63e-05/0.1229, allocations: 40.45 kB / 0.4983 GB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.123, allocations: 0 / 0.4983 GB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.1231, allocations: 29 kB / 0.4984 GB, free: 4.285 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.1235, allocations: 83.89 kB / 0.4984 GB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.1248, allocations: 1.375 MB / 0.4998 GB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.1251, allocations: 51.73 kB / 0.4998 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.1252, allocations: 12 kB / 0.4998 GB, free: 2.625 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006208/0.1258, allocations: 340 kB / 0.5002 GB, free: 2.289 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004416/0.1262, allocations: 213.3 kB / 0.5004 GB, free: 2.047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007425/0.127, allocations: 335.8 kB / 0.5007 GB, free: 1.688 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.127, allocations: 0 / 0.5007 GB, free: 1.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001101/0.1281, allocations: 482.8 kB / 0.5011 GB, free: 1.199 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.1281, allocations: 33.92 kB / 0.5012 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1281, allocations: 4 kB / 0.5012 GB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-05/0.1282, allocations: 28.78 kB / 0.5012 GB, free: 1.125 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.1285, allocations: 71.89 kB / 0.5013 GB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/0.1296, allocations: 1.367 MB / 0.5026 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000327/0.13, allocations: 51.78 kB / 0.5027 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.13, allocations: 12 kB / 0.5027 GB, free: 15.49 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.0002073/0.1302, allocations: 204.8 kB / 0.5029 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.1303, allocations: 71.5 kB / 0.5029 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.1314, allocations: 372.2 kB / 0.5033 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/0.1314, allocations: 0 / 0.5033 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1314, allocations: 4 kB / 0.5033 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000236/0.1316, allocations: 160.6 kB / 0.5034 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.1317, allocations: 8 kB / 0.5035 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.132, allocations: 23.95 kB / 0.5035 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.132, allocations: 27.91 kB / 0.5035 GB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001153/0.1332, allocations: 423.4 kB / 0.5039 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001332/0.1345, allocations: 0.6464 MB / 0.5045 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003705/0.1349, allocations: 135.3 kB / 0.5047 GB, free: 13.38 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008907/0.1358, allocations: 0.6709 MB / 0.5053 GB, free: 12.71 MB / 382.1 MB Notification: Performance of Backend: time 1.9e-07/0.1358, allocations: 0 / 0.5053 GB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00458/0.1404, allocations: 1.46 MB / 0.5068 GB, free: 11.55 MB / 382.1 MB Notification: Performance of SimCode: time 0.002387/0.1428, allocations: 1.777 MB / 0.5085 GB, free: 9.723 MB / 382.1 MB Notification: Performance of Templates: time 0.01686/0.1596, allocations: 8.879 MB / 0.5172 GB, free: 0.8594 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.702791637042537] Failed to read output from testmodel.py, exit status != 0: 0.3041711780242622 0.31670375100000003 0.207370788 Calling exit ...