Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 217.6 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.402/1.402, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04063/0.04063, allocations: 8.538 MB / 321.7 MB, free: 10.63 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") translateModel(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 63.91 kB / 448.2 MB, free: 15.46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09815/0.1002, allocations: 55.42 MB / 0.4918 GB, free: 7.938 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceT01): time 0.006226/0.1065, allocations: 3.783 MB / 0.4955 GB, free: 4.129 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003364/0.1098, allocations: 1.952 MB / 0.4974 GB, free: 2.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.1102, allocations: 7.938 kB / 0.4974 GB, free: 2.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.1108, allocations: 202.9 kB / 0.4976 GB, free: 1.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007638/0.1115, allocations: 282.6 kB / 0.4979 GB, free: 1.684 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009765/0.1125, allocations: 402.7 kB / 0.4983 GB, free: 1.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009413/0.1134, allocations: 0.6393 MB / 0.4989 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003349/0.1138, allocations: 155.2 kB / 0.499 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00049/0.1143, allocations: 274.9 kB / 0.4993 GB, free: 232 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005178/0.1148, allocations: 306.7 kB / 0.4996 GB, free: 15.92 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.1149, allocations: 52 kB / 0.4996 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.1151, allocations: 119.9 kB / 0.4998 GB, free: 15.76 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.1154, allocations: 215.3 kB / 0.5 GB, free: 15.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003548/0.1157, allocations: 334 kB / 0.5003 GB, free: 15.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.1168, allocations: 0.8559 MB / 0.5011 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1168, allocations: 0 / 0.5011 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1168, allocations: 4 kB / 0.5011 GB, free: 14.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.063e-05/0.1169, allocations: 3.938 kB / 0.5011 GB, free: 14.35 MB / 382.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.002116/0.119, allocations: 1.023 MB / 0.5021 GB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.119, allocations: 16.02 kB / 0.5021 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.1192, allocations: 88.38 kB / 0.5022 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009277/0.1201, allocations: 0.5301 MB / 0.5027 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.1202, allocations: 32.94 kB / 0.5028 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.1202, allocations: 43.95 kB / 0.5028 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.1211, allocations: 416.7 kB / 0.5032 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.1211, allocations: 0 / 0.5032 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.167e-05/0.1212, allocations: 19.98 kB / 0.5032 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.1212, allocations: 8 kB / 0.5032 GB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.122, allocations: 307.7 kB / 0.5035 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.1246, allocations: 1.62 MB / 0.5051 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009448/0.1256, allocations: 314.8 kB / 0.5054 GB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.1259, allocations: 116.8 kB / 0.5055 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.1259, allocations: 4 kB / 0.5055 GB, free: 9.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004607/0.1264, allocations: 190.7 kB / 0.5057 GB, free: 9.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.954e-06/0.1264, allocations: 0 / 0.5057 GB, free: 9.473 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001369/0.1278, allocations: 473.6 kB / 0.5062 GB, free: 9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.1278, allocations: 81.11 kB / 0.5062 GB, free: 8.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.1291, allocations: 0.9418 MB / 0.5072 GB, free: 7.949 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.719e-05/0.1291, allocations: 33.7 kB / 0.5072 GB, free: 7.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/0.1294, allocations: 356.2 kB / 0.5075 GB, free: 7.559 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.721e-05/0.1295, allocations: 79.34 kB / 0.5076 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.1296, allocations: 73.64 kB / 0.5077 GB, free: 7.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.1299, allocations: 382.8 kB / 0.508 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003875/0.1302, allocations: 140.8 kB / 0.5082 GB, free: 6.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004336/0.1307, allocations: 207.5 kB / 0.5084 GB, free: 6.648 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.1314, allocations: 344.5 kB / 0.5087 GB, free: 6.281 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1314, allocations: 0 / 0.5087 GB, free: 6.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001106/0.1325, allocations: 499.1 kB / 0.5092 GB, free: 5.777 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.101e-05/0.1326, allocations: 37.64 kB / 0.5092 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1326, allocations: 4 kB / 0.5092 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.1328, allocations: 28.78 kB / 0.5093 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.1331, allocations: 72.05 kB / 0.5093 GB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.1342, allocations: 1.279 MB / 0.5106 GB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003173/0.1345, allocations: 51.73 kB / 0.5106 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.1345, allocations: 15.94 kB / 0.5106 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005631/0.1351, allocations: 344 kB / 0.511 GB, free: 3.828 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003676/0.1354, allocations: 192.4 kB / 0.5111 GB, free: 3.613 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006434/0.1361, allocations: 324.1 kB / 0.5115 GB, free: 3.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.1361, allocations: 0 / 0.5115 GB, free: 3.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001007/0.1371, allocations: 474.9 kB / 0.5119 GB, free: 2.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.1371, allocations: 33.7 kB / 0.5119 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1371, allocations: 0 / 0.5119 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.421e-05/0.1372, allocations: 33 kB / 0.512 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.1375, allocations: 75.89 kB / 0.512 GB, free: 2.637 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.1385, allocations: 1.271 MB / 0.5133 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002997/0.1388, allocations: 39.8 kB / 0.5133 GB, free: 1.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.74e-05/0.1388, allocations: 16 kB / 0.5133 GB, free: 1.199 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.0001702/0.139, allocations: 200.2 kB / 0.5135 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1391, allocations: 79.47 kB / 0.5136 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/0.14, allocations: 375.1 kB / 0.514 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1401, allocations: 0 / 0.514 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.1401, allocations: 0 / 0.514 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.1401, allocations: 4 kB / 0.514 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1792/0.3192, allocations: 0.5101 MB / 0.5145 GB, free: 26.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.3192, allocations: 0 / 0.5145 GB, free: 26.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.3196, allocations: 54.05 kB / 0.5145 GB, free: 26.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001195/0.3197, allocations: 18.78 kB / 0.5145 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/0.3197, allocations: 7.297 kB / 0.5145 GB, free: 26.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006732/0.3204, allocations: 1.266 MB / 0.5158 GB, free: 25.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.3204, allocations: 5.812 kB / 0.5158 GB, free: 25.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.3216, allocations: 0.5252 MB / 0.5163 GB, free: 25.47 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.3218, allocations: 83.77 kB / 0.5164 GB, free: 25.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.3219, allocations: 7.906 kB / 0.5164 GB, free: 25.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.3221, allocations: 25.14 kB / 0.5164 GB, free: 25.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.3222, allocations: 24.97 kB / 0.5164 GB, free: 25.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.3222, allocations: 9.672 kB / 0.5164 GB, free: 25.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007304/0.3229, allocations: 0.6732 MB / 0.5171 GB, free: 25.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3229, allocations: 2.25 kB / 0.5171 GB, free: 25.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006346/0.3236, allocations: 217.8 kB / 0.5173 GB, free: 25.37 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.002292/0.3258, allocations: 0.6006 MB / 0.5179 GB, free: 25.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001422/0.3273, allocations: 0.799 MB / 0.5187 GB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3273, allocations: 2.5 kB / 0.5187 GB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004227/0.3277, allocations: 247.7 kB / 0.5189 GB, free: 24.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005084/0.3282, allocations: 94.67 kB / 0.519 GB, free: 24.76 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.3302, allocations: 1.38 MB / 0.5204 GB, free: 24.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.3306, allocations: 0.935 MB / 0.5213 GB, free: 23.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.3307, allocations: 40.41 kB / 0.5213 GB, free: 23.49 MB / 382.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3307, allocations: 0 / 0.5213 GB, free: 23.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01607/0.3468, allocations: 10.86 MB / 0.5319 GB, free: 20.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01 -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceT01.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.152323230169713] Failed to read output from testmodel.py, exit status != 0: 0.3547043218277395 0.366750944 0.24745887500000002 Calling exit ...