Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.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.001265/0.001265, allocations: 102.8 kB / 16.45 MB, free: 6.449 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: 206.4 kB / 19.42 MB, free: 3.641 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.442/1.442, allocations: 230.6 MB / 252.8 MB, free: 8.98 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.06026/0.06026, allocations: 8.533 MB / 317.4 MB, free: 11.79 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.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",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.001894/0.001894, allocations: 67.89 kB / 441.8 MB, free: 3.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/0.09937, allocations: 55.38 MB / 497.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006127/0.1055, allocations: 3.925 MB / 0.4893 GB, free: 7.996 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.1086, allocations: 1.857 MB / 0.4911 GB, free: 6.133 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.1089, allocations: 11.94 kB / 0.4911 GB, free: 6.121 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004809/0.1093, allocations: 202.9 kB / 0.4913 GB, free: 5.922 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000673/0.11, allocations: 290.5 kB / 0.4916 GB, free: 5.637 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008183/0.1108, allocations: 377.6 kB / 0.492 GB, free: 5.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008047/0.1116, allocations: 0.6822 MB / 0.4926 GB, free: 4.586 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004511/0.1121, allocations: 245.3 kB / 0.4929 GB, free: 4.336 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004183/0.1125, allocations: 298.8 kB / 0.4931 GB, free: 4.043 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004397/0.1129, allocations: 346.5 kB / 0.4935 GB, free: 3.703 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.672e-05/0.113, allocations: 64 kB / 0.4935 GB, free: 3.641 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002797/0.1133, allocations: 116 kB / 0.4937 GB, free: 3.527 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.1135, allocations: 235.2 kB / 0.4939 GB, free: 3.297 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003282/0.1139, allocations: 373.8 kB / 0.4942 GB, free: 2.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001092/0.115, allocations: 0.9491 MB / 0.4952 GB, free: 1.977 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.376e-05/0.115, allocations: 7.984 kB / 0.4952 GB, free: 1.969 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.115, allocations: 4 kB / 0.4952 GB, free: 1.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.554e-05/0.115, allocations: 0 / 0.4952 GB, free: 1.965 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001952/0.1169, allocations: 1.172 MB / 0.4963 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.117, allocations: 8.031 kB / 0.4963 GB, free: 0.7266 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001032/0.1171, allocations: 90.7 kB / 0.4964 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.1172, allocations: 96.33 kB / 0.4965 GB, free: 0.5352 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.1181, allocations: 0.6137 MB / 0.4971 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.1181, allocations: 37 kB / 0.4971 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.1182, allocations: 51.98 kB / 0.4972 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009923/0.1192, allocations: 487.8 kB / 0.4977 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1192, allocations: 3.938 kB / 0.4977 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.266e-05/0.1193, allocations: 16 kB / 0.4977 GB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.596e-05/0.1193, allocations: 12 kB / 0.4977 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009526/0.1202, allocations: 351.8 kB / 0.498 GB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002855/0.1231, allocations: 1.871 MB / 0.4998 GB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.124, allocations: 326.2 kB / 0.5002 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003765/0.1244, allocations: 136.8 kB / 0.5003 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.756e-05/0.1244, allocations: 7.875 kB / 0.5003 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/0.1249, allocations: 207.8 kB / 0.5005 GB, free: 12.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.783e-06/0.1249, allocations: 0 / 0.5005 GB, free: 12.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001916/0.1269, allocations: 0.6472 MB / 0.5011 GB, free: 11.61 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.1269, allocations: 59.41 kB / 0.5012 GB, free: 11.54 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/0.1282, allocations: 0.9534 MB / 0.5021 GB, free: 10.58 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.737e-05/0.1282, allocations: 33.7 kB / 0.5021 GB, free: 10.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.1285, allocations: 376.5 kB / 0.5025 GB, free: 10.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.1286, allocations: 99.17 kB / 0.5026 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001371/0.1288, allocations: 86.08 kB / 0.5027 GB, free: 9.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.1289, allocations: 325.9 kB / 0.503 GB, free: 9.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.1293, allocations: 140.8 kB / 0.5031 GB, free: 9.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004619/0.1298, allocations: 211.1 kB / 0.5033 GB, free: 9.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/0.1306, allocations: 356.1 kB / 0.5037 GB, free: 8.906 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.1306, allocations: 4 kB / 0.5037 GB, free: 8.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001257/0.1319, allocations: 0.5344 MB / 0.5042 GB, free: 8.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.159e-05/0.1319, allocations: 37.7 kB / 0.5042 GB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.1319, allocations: 4 kB / 0.5042 GB, free: 8.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000277/0.1322, allocations: 61.03 kB / 0.5043 GB, free: 8.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.1325, allocations: 75.88 kB / 0.5044 GB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001942/0.1345, allocations: 1.818 MB / 0.5061 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.1348, allocations: 51.89 kB / 0.5062 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.1348, allocations: 24.06 kB / 0.5062 GB, free: 6.133 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: 9 (stepOff.y,stepOn.y,powReq.count,$PRE.powReq.count,powReq.T_start,$PRE.powReq.T_start,toConnIceON.conn.iceON,$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 (44): * Single equations (assignments): 42 * 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.000345/0.1352, allocations: 277.1 kB / 0.5065 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.1353, allocations: 71.53 kB / 0.5065 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/0.1364, allocations: 438.2 kB / 0.507 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1364, allocations: 0 / 0.507 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.1364, allocations: 7.984 kB / 0.507 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1364, allocations: 0 / 0.507 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.1371, allocations: 0.5869 MB / 0.5075 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1371, allocations: 0 / 0.5075 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.1373, allocations: 43.95 kB / 0.5076 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002178/0.1376, allocations: 68.75 kB / 0.5076 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.1376, allocations: 4 kB / 0.5077 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001892/0.1395, allocations: 1.814 MB / 0.5094 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1395, allocations: 0 / 0.5094 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001486/0.141, allocations: 0.5963 MB / 0.51 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.1412, allocations: 168.6 kB / 0.5102 GB, free: 1.828 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/0.1412, allocations: 11.94 kB / 0.5102 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.1415, allocations: 23.97 kB / 0.5102 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.1416, allocations: 27.95 kB / 0.5102 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.1416, allocations: 15.94 kB / 0.5102 GB, free: 1.75 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009174/0.1425, allocations: 0.6786 MB / 0.5109 GB, free: 1.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1425, allocations: 0 / 0.5109 GB, free: 1.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005691/0.1431, allocations: 139.7 kB / 0.511 GB, free: 0.9414 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: 6 ($whenCondition1,toConnIceON.conn.iceON,powReq.T_start,powReq.count,stepOn.y,stepOff.y) * Number of discrete states: 1 (powReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * 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.1907/0.3338, allocations: 1.636 MB / 0.5126 GB, free: 27.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.335, allocations: 0.4965 MB / 0.5131 GB, free: 27.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.335, allocations: 1.281 kB / 0.5131 GB, free: 27.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.3355, allocations: 276.9 kB / 0.5134 GB, free: 27.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005891/0.336, allocations: 96.14 kB / 0.5135 GB, free: 27.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008955/0.345, allocations: 6.546 MB / 0.5199 GB, free: 25.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.3455, allocations: 0.9597 MB / 0.5208 GB, free: 24.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002534/0.3458, allocations: 76.7 kB / 0.5209 GB, free: 24.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000333/0.3461, allocations: 257.2 kB / 0.5211 GB, free: 24.85 MB / 382.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3461, allocations: 0.8125 kB / 0.5211 GB, free: 24.85 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04816/0.3943, allocations: 14.35 MB / 0.5351 GB, free: 20.28 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/12.83, allocations: 7.75 kB / 0.5352 GB, free: 20.27 MB / 382.1 MB " [Timeout remaining time 647] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.531899555004202] Failed to read output from testmodel.py, exit status != 0: 12.981628957000794 12.995703418 12.878135483 Calling exit ...