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.001736/0.001736, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002098/0.002098, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.738 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.04218/0.04218, allocations: 8.538 MB / 321 MB, free: 10.38 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.002119/0.002119, allocations: 71.83 kB / 446.9 MB, free: 15.57 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.106, allocations: 55.41 MB / 0.4905 GB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005943/0.1119, allocations: 3.603 MB / 0.494 GB, free: 4.441 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.1142, allocations: 1.168 MB / 0.4952 GB, free: 3.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002359/0.1145, allocations: 11.94 kB / 0.4952 GB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004718/0.115, allocations: 206.9 kB / 0.4954 GB, free: 3.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006224/0.1156, allocations: 286.5 kB / 0.4957 GB, free: 2.773 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007792/0.1164, allocations: 367 kB / 0.496 GB, free: 2.418 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007471/0.1171, allocations: 0.6472 MB / 0.4966 GB, free: 1.766 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.1175, allocations: 187.8 kB / 0.4968 GB, free: 1.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004281/0.1179, allocations: 274.8 kB / 0.4971 GB, free: 1.305 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003753/0.1183, allocations: 290.6 kB / 0.4974 GB, free: 1.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.541e-05/0.1184, allocations: 56 kB / 0.4974 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.1186, allocations: 120 kB / 0.4975 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.1188, allocations: 219.2 kB / 0.4977 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.1191, allocations: 274.3 kB / 0.498 GB, free: 372 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001067/0.1201, allocations: 0.9065 MB / 0.4989 GB, free: 15.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1201, allocations: 0 / 0.4989 GB, free: 15.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1201, allocations: 0 / 0.4989 GB, free: 15.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1201, allocations: 0 / 0.4989 GB, free: 15.45 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.001858/0.122, allocations: 1.058 MB / 0.4999 GB, free: 14.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.122, allocations: 8.031 kB / 0.4999 GB, free: 14.35 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.258e-05/0.1221, allocations: 78.7 kB / 0.5 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/0.1223, allocations: 96.33 kB / 0.5001 GB, free: 14.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008751/0.1232, allocations: 0.5338 MB / 0.5006 GB, free: 13.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.1232, allocations: 33 kB / 0.5006 GB, free: 13.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/0.1233, allocations: 47.95 kB / 0.5007 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008712/0.1241, allocations: 435.8 kB / 0.5011 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.1242, allocations: 0 / 0.5011 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/0.1242, allocations: 16 kB / 0.5011 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1242, allocations: 15.94 kB / 0.5011 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008075/0.125, allocations: 307.8 kB / 0.5014 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002677/0.1277, allocations: 1.56 MB / 0.503 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008534/0.1285, allocations: 306.8 kB / 0.5032 GB, free: 10.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003228/0.1289, allocations: 116.8 kB / 0.5034 GB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.427e-05/0.1289, allocations: 7.938 kB / 0.5034 GB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/0.1294, allocations: 179.2 kB / 0.5035 GB, free: 10.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.336e-05/0.1294, allocations: 4 kB / 0.5035 GB, free: 10.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001686/0.1311, allocations: 0.5211 MB / 0.504 GB, free: 9.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.1311, allocations: 59.34 kB / 0.5041 GB, free: 9.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.1323, allocations: 0.9495 MB / 0.505 GB, free: 8.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.216e-05/0.1324, allocations: 29.7 kB / 0.5051 GB, free: 8.898 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/0.1327, allocations: 364.6 kB / 0.5054 GB, free: 8.535 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.469e-05/0.1328, allocations: 87.22 kB / 0.5055 GB, free: 8.449 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.1329, allocations: 86.02 kB / 0.5056 GB, free: 8.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.1331, allocations: 378.8 kB / 0.5059 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004063/0.1336, allocations: 158.3 kB / 0.5061 GB, free: 7.816 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004301/0.134, allocations: 221.5 kB / 0.5063 GB, free: 7.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007615/0.1347, allocations: 345.6 kB / 0.5066 GB, free: 7.199 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.1347, allocations: 0 / 0.5066 GB, free: 7.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001187/0.1359, allocations: 0.5348 MB / 0.5071 GB, free: 6.645 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.42e-05/0.136, allocations: 33.7 kB / 0.5072 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.136, allocations: 0 / 0.5072 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002794/0.1363, allocations: 64.97 kB / 0.5072 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000302/0.1366, allocations: 75.89 kB / 0.5073 GB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.1386, allocations: 1.703 MB / 0.509 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003168/0.1389, allocations: 51.77 kB / 0.509 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.1389, allocations: 19.94 kB / 0.509 GB, free: 4.582 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.0003705/0.1393, allocations: 273.5 kB / 0.5093 GB, free: 4.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.248e-05/0.1394, allocations: 67.58 kB / 0.5094 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001025/0.1404, allocations: 408.4 kB / 0.5098 GB, free: 3.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1404, allocations: 7.938 kB / 0.5098 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1404, allocations: 4 kB / 0.5098 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1404, allocations: 0 / 0.5098 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005697/0.141, allocations: 464.3 kB / 0.5102 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.141, allocations: 0 / 0.5102 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.1413, allocations: 47.95 kB / 0.5103 GB, free: 3.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002142/0.1415, allocations: 68.69 kB / 0.5103 GB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.1415, allocations: 4 kB / 0.5103 GB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00183/0.1433, allocations: 1.699 MB / 0.512 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1433, allocations: 0 / 0.512 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.1446, allocations: 0.5484 MB / 0.5125 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.1448, allocations: 91.62 kB / 0.5126 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.1449, allocations: 7.984 kB / 0.5126 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002456/0.1451, allocations: 27.97 kB / 0.5126 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/0.1452, allocations: 23.95 kB / 0.5127 GB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.1452, allocations: 8 kB / 0.5127 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1928/0.338, allocations: 0.6745 MB / 0.5133 GB, free: 26.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.338, allocations: 0 / 0.5133 GB, free: 26.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008377/0.3388, allocations: 130.5 kB / 0.5135 GB, free: 26.49 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.003804/0.3426, allocations: 1.641 MB / 0.5151 GB, free: 25.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009063/0.3436, allocations: 0.4918 MB / 0.5155 GB, free: 25.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3436, allocations: 2.344 kB / 0.5155 GB, free: 25.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004118/0.344, allocations: 257.5 kB / 0.5158 GB, free: 25.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.3444, allocations: 92.5 kB / 0.5159 GB, free: 25.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007589/0.352, allocations: 6.477 MB / 0.5222 GB, free: 23.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000373/0.3524, allocations: 353.2 kB / 0.5225 GB, free: 23.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.3526, allocations: 78.84 kB / 0.5226 GB, free: 23.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002865/0.3529, allocations: 241.9 kB / 0.5228 GB, free: 23.46 MB / 382.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3529, allocations: 0 / 0.5228 GB, free: 23.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04932/0.4022, allocations: 14.61 MB / 0.5371 GB, free: 18.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.31, allocations: 10.19 kB / 0.5371 GB, free: 18.57 MB / 382.1 MB " [Timeout remaining time 647] (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.11393409408629] Failed to read output from testmodel.py, exit status != 0: 13.4951381389983 13.514353033999999 13.390722436 Calling exit ...