Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.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.0013/0.0013, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001403/0.001403, allocations: 215.1 kB / 22.25 MB, free: 5.125 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.419/1.419, allocations: 230.6 MB / 256 MB, free: 7.977 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.04244/0.04244, allocations: 8.542 MB / 321 MB, free: 10.6 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: "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) [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.001976/0.001976, allocations: 67.95 kB / 446.9 MB, free: 15.94 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09939/0.1014, allocations: 55.41 MB / 0.4906 GB, free: 8.43 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006117/0.1075, allocations: 3.894 MB / 0.4944 GB, free: 4.516 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00247/0.11, allocations: 1.235 MB / 0.4956 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003102/0.1103, allocations: 11.94 kB / 0.4956 GB, free: 3.266 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005042/0.1108, allocations: 202.9 kB / 0.4958 GB, free: 3.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000654/0.1114, allocations: 274.6 kB / 0.4961 GB, free: 2.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008355/0.1123, allocations: 385.6 kB / 0.4964 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008534/0.1131, allocations: 0.6393 MB / 0.4971 GB, free: 1.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004119/0.1135, allocations: 203.9 kB / 0.4972 GB, free: 1.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004272/0.114, allocations: 278.9 kB / 0.4975 GB, free: 1.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003997/0.1144, allocations: 310.6 kB / 0.4978 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.695e-05/0.1144, allocations: 60 kB / 0.4979 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002329/0.1147, allocations: 124 kB / 0.498 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.1149, allocations: 219.3 kB / 0.4982 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.1152, allocations: 349.8 kB / 0.4985 GB, free: 264 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001104/0.1163, allocations: 0.9025 MB / 0.4994 GB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1163, allocations: 0 / 0.4994 GB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1163, allocations: 0 / 0.4994 GB, free: 15.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1163, allocations: 0 / 0.4994 GB, free: 15.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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002001/0.1183, allocations: 1.058 MB / 0.5004 GB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.1184, allocations: 8.031 kB / 0.5005 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000111/0.1185, allocations: 78.66 kB / 0.5005 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001461/0.1186, allocations: 92.33 kB / 0.5006 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009228/0.1195, allocations: 0.5338 MB / 0.5011 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.144e-05/0.1196, allocations: 33 kB / 0.5012 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.787e-05/0.1197, allocations: 55.94 kB / 0.5012 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008726/0.1205, allocations: 427.8 kB / 0.5016 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.1206, allocations: 4 kB / 0.5016 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/0.1206, allocations: 16 kB / 0.5016 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.1206, allocations: 8 kB / 0.5017 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008031/0.1214, allocations: 315.7 kB / 0.502 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002854/0.1243, allocations: 1.689 MB / 0.5036 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008347/0.1251, allocations: 302.8 kB / 0.5039 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/0.1254, allocations: 116.8 kB / 0.504 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.1255, allocations: 16 kB / 0.504 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004671/0.1259, allocations: 179.2 kB / 0.5042 GB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/0.1259, allocations: 0 / 0.5042 GB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001676/0.1276, allocations: 0.5288 MB / 0.5047 GB, free: 9.727 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.1277, allocations: 67.33 kB / 0.5048 GB, free: 9.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.1289, allocations: 0.9379 MB / 0.5057 GB, free: 8.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.796e-05/0.129, allocations: 33.7 kB / 0.5057 GB, free: 8.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.1293, allocations: 352.5 kB / 0.5061 GB, free: 8.309 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.921e-05/0.1294, allocations: 99.2 kB / 0.5062 GB, free: 8.211 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.1295, allocations: 81.95 kB / 0.5062 GB, free: 8.121 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.1297, allocations: 382.8 kB / 0.5066 GB, free: 7.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/0.1301, allocations: 124.7 kB / 0.5067 GB, free: 7.617 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/0.1305, allocations: 199.8 kB / 0.5069 GB, free: 7.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007152/0.1312, allocations: 333.6 kB / 0.5072 GB, free: 7.039 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1312, allocations: 0 / 0.5072 GB, free: 7.039 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001159/0.1324, allocations: 0.5097 MB / 0.5077 GB, free: 6.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.09e-05/0.1324, allocations: 29.7 kB / 0.5077 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.1324, allocations: 4 kB / 0.5078 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000293/0.1327, allocations: 65.03 kB / 0.5078 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.133, allocations: 75.83 kB / 0.5079 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00193/0.1349, allocations: 1.715 MB / 0.5096 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/0.1353, allocations: 39.77 kB / 0.5096 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.1353, allocations: 19.98 kB / 0.5096 GB, free: 4.453 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 (powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,$whenCondition1,ice.tokgFuel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003739/0.1357, allocations: 269.7 kB / 0.5099 GB, free: 4.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.1358, allocations: 75.52 kB / 0.5099 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001017/0.1368, allocations: 401.1 kB / 0.5103 GB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.1368, allocations: 11.92 kB / 0.5103 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.1368, allocations: 0 / 0.5103 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1368, allocations: 0 / 0.5103 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006463/0.1375, allocations: 0.5158 MB / 0.5108 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1375, allocations: 0 / 0.5108 GB, free: 3.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.1378, allocations: 51.89 kB / 0.5109 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002147/0.138, allocations: 65 kB / 0.511 GB, free: 3.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.138, allocations: 4 kB / 0.511 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001911/0.1399, allocations: 1.715 MB / 0.5126 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1399, allocations: 0 / 0.5126 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.1415, allocations: 0.5484 MB / 0.5132 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002172/0.1417, allocations: 87.55 kB / 0.5133 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.1417, allocations: 4 kB / 0.5133 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.142, allocations: 27.91 kB / 0.5133 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.223e-05/0.142, allocations: 27.95 kB / 0.5133 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.1421, allocations: 11.98 kB / 0.5133 GB, free: 464 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1992/0.3412, allocations: 0.6719 MB / 0.514 GB, free: 26.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3412, allocations: 0 / 0.514 GB, free: 26.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008381/0.3421, allocations: 130.5 kB / 0.5141 GB, free: 26.21 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (loadTorque.phi,ice.inertia.w,ice.tokgFuel.y) * Number of discrete variables: 3 ($whenCondition1,powReq.T_start,powReq.count) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003593/0.3457, allocations: 1.597 MB / 0.5157 GB, free: 25.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009982/0.3467, allocations: 489.5 kB / 0.5161 GB, free: 25.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3467, allocations: 0 / 0.5161 GB, free: 25.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004231/0.3471, allocations: 263 kB / 0.5164 GB, free: 25.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.3476, allocations: 83.19 kB / 0.5165 GB, free: 25.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008154/0.3557, allocations: 6.362 MB / 0.5227 GB, free: 23.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004944/0.3562, allocations: 0.9537 MB / 0.5236 GB, free: 22.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002406/0.3565, allocations: 74.44 kB / 0.5237 GB, free: 22.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.3568, allocations: 240 kB / 0.5239 GB, free: 22.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3568, allocations: 0 / 0.5239 GB, free: 22.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05791/0.4147, allocations: 14.13 MB / 0.5377 GB, free: 18.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/13.85, allocations: 8.75 kB / 0.5377 GB, free: 18.38 MB / 382.1 MB " [Timeout remaining time 646] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.557130908004183] Failed to read output from testmodel.py, exit status != 0: 14.02752259800036 14.045660572 13.92601608 Calling exit ...