Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001315/0.001315, allocations: 99.66 kB / 18.94 MB, free: 2.84 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.001649/0.001649, allocations: 217.1 kB / 22.24 MB, free: 5.105 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04222/0.04222, allocations: 8.541 MB / 321 MB, free: 10.44 MB / 254.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/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_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_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.00232/0.00232, allocations: 69.3 kB / 446.9 MB, free: 15.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09907/0.1014, allocations: 55.42 MB / 0.4905 GB, free: 8.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006273/0.1077, allocations: 3.595 MB / 0.494 GB, free: 4.578 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.1101, allocations: 1.184 MB / 0.4952 GB, free: 3.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003639/0.1105, allocations: 11.94 kB / 0.4952 GB, free: 3.379 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005475/0.111, allocations: 202.9 kB / 0.4954 GB, free: 3.18 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007588/0.1118, allocations: 282.6 kB / 0.4956 GB, free: 2.902 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008869/0.1127, allocations: 370.5 kB / 0.496 GB, free: 2.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008425/0.1135, allocations: 0.6472 MB / 0.4966 GB, free: 1.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004292/0.1139, allocations: 191.8 kB / 0.4968 GB, free: 1.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004682/0.1144, allocations: 270.9 kB / 0.4971 GB, free: 1.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/0.1148, allocations: 294.6 kB / 0.4974 GB, free: 1.141 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.115, allocations: 56 kB / 0.4974 GB, free: 1.086 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002292/0.1152, allocations: 112 kB / 0.4975 GB, free: 0.9766 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002369/0.1154, allocations: 223.2 kB / 0.4977 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002977/0.1157, allocations: 266.4 kB / 0.498 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1171, allocations: 0.9065 MB / 0.4989 GB, free: 15.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1171, allocations: 3.938 kB / 0.4989 GB, free: 15.58 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1171, allocations: 0 / 0.4989 GB, free: 15.58 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.1171, allocations: 0 / 0.4989 GB, free: 15.58 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.002919/0.12, allocations: 1.058 MB / 0.4999 GB, free: 14.48 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.755e-05/0.1201, allocations: 12.03 kB / 0.4999 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001376/0.1202, allocations: 78.7 kB / 0.5 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.1205, allocations: 92.33 kB / 0.5001 GB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.1219, allocations: 0.5338 MB / 0.5006 GB, free: 13.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.17e-05/0.1219, allocations: 29 kB / 0.5006 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.1221, allocations: 51.95 kB / 0.5007 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.1234, allocations: 435.8 kB / 0.5011 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.1235, allocations: 4 kB / 0.5011 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.765e-05/0.1235, allocations: 16 kB / 0.5011 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.084e-05/0.1235, allocations: 12 kB / 0.5011 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.1249, allocations: 311.7 kB / 0.5014 GB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004171/0.1291, allocations: 1.556 MB / 0.5029 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/0.1303, allocations: 310.7 kB / 0.5032 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005097/0.1308, allocations: 112.8 kB / 0.5033 GB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.1309, allocations: 11.92 kB / 0.5034 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006933/0.1316, allocations: 187.2 kB / 0.5035 GB, free: 10.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.865e-06/0.1316, allocations: 0 / 0.5035 GB, free: 10.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00266/0.1343, allocations: 0.5172 MB / 0.504 GB, free: 10.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.1343, allocations: 59.34 kB / 0.5041 GB, free: 10.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/0.136, allocations: 0.9572 MB / 0.505 GB, free: 9.051 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.89e-05/0.136, allocations: 33.7 kB / 0.5051 GB, free: 9.012 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.1364, allocations: 364.4 kB / 0.5054 GB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.1365, allocations: 95.28 kB / 0.5055 GB, free: 8.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.1366, allocations: 74.03 kB / 0.5056 GB, free: 8.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002156/0.1368, allocations: 382.8 kB / 0.5059 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.1372, allocations: 154.4 kB / 0.5061 GB, free: 7.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004381/0.1376, allocations: 221.5 kB / 0.5063 GB, free: 7.688 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007456/0.1384, allocations: 345.6 kB / 0.5066 GB, free: 7.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1384, allocations: 4 kB / 0.5066 GB, free: 7.312 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001234/0.1396, allocations: 0.527 MB / 0.5071 GB, free: 6.766 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.13e-05/0.1397, allocations: 37.92 kB / 0.5072 GB, free: 6.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1397, allocations: 4 kB / 0.5072 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002973/0.14, allocations: 60.81 kB / 0.5072 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.1403, allocations: 67.89 kB / 0.5073 GB, free: 6.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.1422, allocations: 1.707 MB / 0.509 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.1425, allocations: 51.73 kB / 0.509 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.215e-05/0.1426, allocations: 12 kB / 0.509 GB, free: 4.711 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.0003436/0.1429, allocations: 273.6 kB / 0.5093 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.143, allocations: 63.58 kB / 0.5094 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.1441, allocations: 409.2 kB / 0.5097 GB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.1441, allocations: 3.938 kB / 0.5097 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.1441, allocations: 4 kB / 0.5098 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.1441, allocations: 0 / 0.5098 GB, free: 3.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.1447, allocations: 468.3 kB / 0.5102 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.1447, allocations: 0 / 0.5102 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.1449, allocations: 51.91 kB / 0.5102 GB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002062/0.1451, allocations: 52.81 kB / 0.5103 GB, free: 3.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.1452, allocations: 11.98 kB / 0.5103 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/0.1471, allocations: 1.711 MB / 0.512 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.195e-06/0.1471, allocations: 0 / 0.512 GB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.1485, allocations: 0.5406 MB / 0.5125 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/0.1487, allocations: 95.53 kB / 0.5126 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.994e-05/0.1488, allocations: 8 kB / 0.5126 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002507/0.149, allocations: 23.97 kB / 0.5126 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.052e-05/0.1491, allocations: 23.95 kB / 0.5127 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1491, allocations: 7.938 kB / 0.5127 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009812/0.1501, allocations: 0.6786 MB / 0.5133 GB, free: 116 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1501, allocations: 0 / 0.5133 GB, free: 116 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.1934/0.3435, allocations: 127.7 kB / 0.5134 GB, free: 26.71 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.003983/0.3474, allocations: 1.637 MB / 0.515 GB, free: 26.05 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009798/0.3484, allocations: 0.5012 MB / 0.5155 GB, free: 25.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3484, allocations: 0 / 0.5155 GB, free: 25.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004167/0.3488, allocations: 261.8 kB / 0.5158 GB, free: 25.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005449/0.3494, allocations: 90.2 kB / 0.5159 GB, free: 25.72 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007692/0.3571, allocations: 6.478 MB / 0.5222 GB, free: 23.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000365/0.3574, allocations: 349.8 kB / 0.5225 GB, free: 23.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002257/0.3577, allocations: 81.77 kB / 0.5226 GB, free: 23.69 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002748/0.3579, allocations: 242.4 kB / 0.5228 GB, free: 23.68 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3579, allocations: 0 / 0.5228 GB, free: 23.68 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04879/0.4067, allocations: 14.6 MB / 0.5371 GB, free: 18.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.29, allocations: 2.156 kB / 0.5371 GB, free: 18.8 MB / 382.1 MB " [Timeout remaining time 647] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & python3 -m fmpy simulate --output-file EHPTlib_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_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.035917094908655] Failed to read output from testmodel.py, exit status != 0: 13.471055595204234 13.487338103999999 13.366336857 Calling exit ...