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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 118 kB / 18.14 MB, free: 3.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 197.2 kB / 21.43 MB, free: 0.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 250.2 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04246/0.04246, allocations: 8.539 MB / 313.9 MB, free: 312 kB / 238.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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 71.88 kB / 437.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.103, allocations: 54.19 MB / 491.6 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006466/0.1095, allocations: 3.799 MB / 495.4 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002297/0.1118, allocations: 1.098 MB / 496.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000331/0.1121, allocations: 11.94 kB / 496.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.1128, allocations: 202.9 kB / 496.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007646/0.1135, allocations: 230.8 kB / 496.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1147, allocations: 366 kB / 497.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008444/0.1155, allocations: 0.6238 MB / 497.9 MB, free: 372 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004154/0.116, allocations: 199.4 kB / 498.1 MB, free: 164 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004251/0.1164, allocations: 255 kB / 498.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003891/0.1168, allocations: 322.6 kB / 498.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.705e-05/0.1169, allocations: 52 kB / 498.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002365/0.1171, allocations: 111.9 kB / 498.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002331/0.1173, allocations: 215.3 kB / 499 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.1176, allocations: 345.9 kB / 499.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1188, allocations: 0.8831 MB / 0.4885 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1188, allocations: 0 / 0.4885 GB, free: 14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1188, allocations: 0 / 0.4885 GB, free: 14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.699e-06/0.1188, allocations: 0 / 0.4885 GB, free: 14 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002039/0.1209, allocations: 1.126 MB / 0.4896 GB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.1209, allocations: 11.89 kB / 0.4897 GB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.121, allocations: 78.7 kB / 0.4897 GB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.1212, allocations: 88.38 kB / 0.4898 GB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009125/0.1221, allocations: 0.598 MB / 0.4904 GB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.818e-05/0.1221, allocations: 29 kB / 0.4904 GB, free: 11.96 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.086e-05/0.1222, allocations: 47.95 kB / 0.4905 GB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008768/0.1231, allocations: 435.8 kB / 0.4909 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.1231, allocations: 0 / 0.4909 GB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/0.1231, allocations: 19.98 kB / 0.4909 GB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.1231, allocations: 16 kB / 0.4909 GB, free: 11.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000764/0.1239, allocations: 307.7 kB / 0.4912 GB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002824/0.1267, allocations: 1.762 MB / 0.4929 GB, free: 9.293 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008264/0.1276, allocations: 294.8 kB / 0.4932 GB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.1279, allocations: 116.8 kB / 0.4933 GB, free: 8.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.1279, allocations: 7.938 kB / 0.4933 GB, free: 8.871 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004643/0.1284, allocations: 191.7 kB / 0.4935 GB, free: 8.672 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 3.777e-06/0.1284, allocations: 7.984 kB / 0.4935 GB, free: 8.664 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.001664/0.13, allocations: 0.5926 MB / 0.4941 GB, free: 8.043 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.1301, allocations: 63.33 kB / 0.4942 GB, free: 7.969 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.1313, allocations: 0.926 MB / 0.4951 GB, free: 7.035 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.986e-05/0.1313, allocations: 33.7 kB / 0.4951 GB, free: 6.996 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.1317, allocations: 360.5 kB / 0.4954 GB, free: 6.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.68e-05/0.1318, allocations: 99.17 kB / 0.4955 GB, free: 6.539 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001423/0.1319, allocations: 70.08 kB / 0.4956 GB, free: 6.461 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.1322, allocations: 382.8 kB / 0.496 GB, free: 6.078 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003401/0.1325, allocations: 120.7 kB / 0.4961 GB, free: 5.961 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.1329, allocations: 196 kB / 0.4963 GB, free: 5.746 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.1336, allocations: 337.6 kB / 0.4966 GB, free: 5.383 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1336, allocations: 0 / 0.4966 GB, free: 5.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001147/0.1348, allocations: 0.5133 MB / 0.4971 GB, free: 4.855 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.946e-05/0.1348, allocations: 41.64 kB / 0.4971 GB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.1348, allocations: 7.984 kB / 0.4971 GB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002874/0.1351, allocations: 61.03 kB / 0.4972 GB, free: 4.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.1354, allocations: 71.89 kB / 0.4973 GB, free: 4.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002105/0.1375, allocations: 1.811 MB / 0.499 GB, free: 2.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.1379, allocations: 55.73 kB / 0.4991 GB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.1379, allocations: 16.06 kB / 0.4991 GB, free: 2.652 MB / 366.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.0003789/0.1383, allocations: 258.7 kB / 0.4994 GB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/0.1384, allocations: 71.56 kB / 0.4994 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009316/0.1393, allocations: 396.1 kB / 0.4998 GB, free: 1.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1393, allocations: 7.938 kB / 0.4998 GB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.873e-06/0.1393, allocations: 0 / 0.4998 GB, free: 1.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.1393, allocations: 3.984 kB / 0.4998 GB, free: 1.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006832/0.14, allocations: 0.5362 MB / 0.5003 GB, free: 1.324 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.14, allocations: 3.938 kB / 0.5003 GB, free: 1.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002572/0.1403, allocations: 47.95 kB / 0.5004 GB, free: 1.273 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002081/0.1405, allocations: 60.81 kB / 0.5004 GB, free: 1.211 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.1405, allocations: 8 kB / 0.5004 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001924/0.1424, allocations: 1.807 MB / 0.5022 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.1424, allocations: 0 / 0.5022 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001244/0.1437, allocations: 0.5529 MB / 0.5028 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.1439, allocations: 164.6 kB / 0.5029 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.957e-05/0.144, allocations: 7.984 kB / 0.5029 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.1442, allocations: 23.98 kB / 0.5029 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.1443, allocations: 31.89 kB / 0.503 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.1443, allocations: 8 kB / 0.503 GB, free: 14.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000866/0.1452, allocations: 0.6591 MB / 0.5036 GB, free: 13.78 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1452, allocations: 3.938 kB / 0.5036 GB, free: 13.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005636/0.1457, allocations: 131.7 kB / 0.5037 GB, free: 13.64 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.003751/0.1495, allocations: 1.577 MB / 0.5053 GB, free: 12.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001169/0.1507, allocations: 473.7 kB / 0.5057 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1507, allocations: 448 / 0.5057 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005099/0.1512, allocations: 278.3 kB / 0.506 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006042/0.1518, allocations: 90.41 kB / 0.5061 GB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009726/0.1615, allocations: 6.316 MB / 0.5123 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006744/0.1622, allocations: 0.944 MB / 0.5132 GB, free: 4.023 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.1624, allocations: 72.23 kB / 0.5133 GB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/0.1628, allocations: 239.4 kB / 0.5135 GB, free: 3.715 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.1628, allocations: 0 / 0.5135 GB, free: 3.715 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2532/0.416, allocations: 13.74 MB / 0.5269 GB, free: 34.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.55/12.97, allocations: 2.531 kB / 0.5269 GB, free: 34.67 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: 15.721355089917779] Failed to read output from testmodel.py, exit status != 0: 13.120258358772844 13.131894972 13.010754138 Calling exit ...