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.00129/0.00129, allocations: 107.9 kB / 16.45 MB, free: 5.906 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.2 kB / 19.43 MB, free: 3.602 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.468/1.468, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.04107/0.04107, allocations: 8.539 MB / 317.4 MB, free: 11.81 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-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.002064/0.002064, allocations: 67.89 kB / 441.8 MB, free: 3.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1145, allocations: 55.38 MB / 497.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006294/0.1208, allocations: 3.858 MB / 0.4893 GB, free: 8.297 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.1232, allocations: 1.219 MB / 0.4904 GB, free: 7.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003908/0.1236, allocations: 11.94 kB / 0.4905 GB, free: 7.062 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005893/0.1242, allocations: 202.8 kB / 0.4907 GB, free: 6.863 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007588/0.125, allocations: 278.6 kB / 0.4909 GB, free: 6.59 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009096/0.1259, allocations: 363 kB / 0.4913 GB, free: 6.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000879/0.1268, allocations: 0.6549 MB / 0.4919 GB, free: 5.578 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004164/0.1272, allocations: 195.5 kB / 0.4921 GB, free: 5.379 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004618/0.1276, allocations: 274.9 kB / 0.4924 GB, free: 5.109 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.1281, allocations: 326.6 kB / 0.4927 GB, free: 4.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.018e-05/0.1281, allocations: 56 kB / 0.4927 GB, free: 4.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.1284, allocations: 112 kB / 0.4928 GB, free: 4.625 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002332/0.1286, allocations: 219.3 kB / 0.493 GB, free: 4.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003308/0.1289, allocations: 353.8 kB / 0.4934 GB, free: 4.062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.1301, allocations: 0.8987 MB / 0.4942 GB, free: 3.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1301, allocations: 0 / 0.4942 GB, free: 3.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1301, allocations: 0 / 0.4942 GB, free: 3.16 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.1302, allocations: 0 / 0.4942 GB, free: 3.16 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.002056/0.1322, allocations: 1.134 MB / 0.4954 GB, free: 1.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.1323, allocations: 8.031 kB / 0.4954 GB, free: 1.961 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/0.1324, allocations: 74.72 kB / 0.4954 GB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/0.1325, allocations: 92.33 kB / 0.4955 GB, free: 1.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008688/0.1334, allocations: 0.6058 MB / 0.4961 GB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.683e-05/0.1334, allocations: 36.94 kB / 0.4962 GB, free: 1.109 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.403e-05/0.1335, allocations: 47.95 kB / 0.4962 GB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008801/0.1344, allocations: 435.8 kB / 0.4966 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.1344, allocations: 3.938 kB / 0.4966 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.923e-05/0.1344, allocations: 20 kB / 0.4966 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.17e-05/0.1345, allocations: 8 kB / 0.4966 GB, free: 0.5859 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008402/0.1353, allocations: 311.7 kB / 0.4969 GB, free: 288 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.1381, allocations: 1.754 MB / 0.4987 GB, free: 14.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008809/0.139, allocations: 302.8 kB / 0.4989 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003399/0.1393, allocations: 116.8 kB / 0.4991 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.1394, allocations: 8.016 kB / 0.4991 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004661/0.1398, allocations: 183.2 kB / 0.4992 GB, free: 13.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.325e-06/0.1398, allocations: 4 kB / 0.4992 GB, free: 13.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001819/0.1417, allocations: 0.6048 MB / 0.4998 GB, free: 13.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/0.1417, allocations: 59.34 kB / 0.4999 GB, free: 13.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001273/0.143, allocations: 0.9495 MB / 0.5008 GB, free: 12.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.872e-05/0.143, allocations: 29.7 kB / 0.5008 GB, free: 12.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003336/0.1434, allocations: 372.4 kB / 0.5012 GB, free: 11.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.971e-05/0.1435, allocations: 91.2 kB / 0.5013 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.1436, allocations: 82.02 kB / 0.5014 GB, free: 11.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.1438, allocations: 378.8 kB / 0.5017 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.1442, allocations: 128.7 kB / 0.5018 GB, free: 11.07 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.1446, allocations: 188 kB / 0.502 GB, free: 10.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007815/0.1454, allocations: 337.6 kB / 0.5023 GB, free: 10.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1454, allocations: 0 / 0.5023 GB, free: 10.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001227/0.1466, allocations: 0.5096 MB / 0.5028 GB, free: 9.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.1467, allocations: 33.7 kB / 0.5029 GB, free: 9.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1467, allocations: 4.219 kB / 0.5029 GB, free: 9.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002979/0.147, allocations: 68.81 kB / 0.5029 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003116/0.1473, allocations: 67.89 kB / 0.503 GB, free: 9.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.1493, allocations: 1.81 MB / 0.5048 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.1497, allocations: 47.86 kB / 0.5048 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.1497, allocations: 15.98 kB / 0.5048 GB, free: 7.785 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.0003769/0.1501, allocations: 270.1 kB / 0.5051 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1502, allocations: 67.53 kB / 0.5052 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.1513, allocations: 400.2 kB / 0.5055 GB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.1513, allocations: 3.938 kB / 0.5055 GB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1513, allocations: 7.984 kB / 0.5056 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1513, allocations: 0 / 0.5056 GB, free: 7.023 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006649/0.1519, allocations: 0.5481 MB / 0.5061 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/0.1519, allocations: 8 kB / 0.5061 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.1522, allocations: 51.89 kB / 0.5061 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00022/0.1524, allocations: 56.81 kB / 0.5062 GB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.1525, allocations: 8 kB / 0.5062 GB, free: 6.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001989/0.1545, allocations: 1.806 MB / 0.508 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1545, allocations: 0 / 0.508 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.1559, allocations: 0.5523 MB / 0.5085 GB, free: 3.785 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.1561, allocations: 164.7 kB / 0.5087 GB, free: 3.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.1562, allocations: 7.984 kB / 0.5087 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002328/0.1564, allocations: 20.17 kB / 0.5087 GB, free: 3.578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.1565, allocations: 35.95 kB / 0.5087 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.906e-05/0.1565, allocations: 4 kB / 0.5087 GB, free: 3.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009613/0.1575, allocations: 0.6786 MB / 0.5094 GB, free: 2.863 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1575, allocations: 3.938 kB / 0.5094 GB, free: 2.859 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005823/0.1581, allocations: 131.7 kB / 0.5095 GB, free: 2.73 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.004026/0.1621, allocations: 1.591 MB / 0.5111 GB, free: 1.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001176/0.1633, allocations: 478 kB / 0.5115 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1633, allocations: 0 / 0.5115 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005183/0.1638, allocations: 266.4 kB / 0.5118 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.1644, allocations: 85.34 kB / 0.5119 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2028/0.3672, allocations: 6.353 MB / 0.5181 GB, free: 26.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.3676, allocations: 0.95 MB / 0.519 GB, free: 25.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.3678, allocations: 74.92 kB / 0.5191 GB, free: 25.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.3681, allocations: 246.4 kB / 0.5193 GB, free: 25.63 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3681, allocations: 0 / 0.5193 GB, free: 25.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0491/0.4172, allocations: 13.9 MB / 0.5329 GB, free: 21.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.82/13.23, allocations: 3.109 kB / 0.5329 GB, free: 21.64 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.940587186720222] Failed to read output from testmodel.py, exit status != 0: 13.388801747001708 13.403504919 13.270461917 Calling exit ...