Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.00151/0.00151, allocations: 104.1 kB / 16.45 MB, free: 6.5 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.001528/0.001528, allocations: 216 kB / 19.43 MB, free: 3.656 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 8.973 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.04294/0.04294, allocations: 8.536 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-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.TestIceConnOO,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO,fileNamePrefix="EHPTlib_latest_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.002869/0.002869, allocations: 67.89 kB / 441.8 MB, free: 3.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1043, allocations: 55.37 MB / 497.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.006391/0.1107, allocations: 3.931 MB / 0.4893 GB, free: 8.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003477/0.1142, allocations: 1.849 MB / 0.4911 GB, free: 6.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004215/0.1146, allocations: 11.94 kB / 0.4911 GB, free: 6.156 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005601/0.1152, allocations: 214.8 kB / 0.4914 GB, free: 5.945 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007755/0.116, allocations: 282.5 kB / 0.4916 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008799/0.1168, allocations: 378.3 kB / 0.492 GB, free: 5.301 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009105/0.1177, allocations: 0.6783 MB / 0.4926 GB, free: 4.617 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004861/0.1182, allocations: 249.2 kB / 0.4929 GB, free: 4.363 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000444/0.1187, allocations: 286.8 kB / 0.4932 GB, free: 4.082 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004505/0.1191, allocations: 354.5 kB / 0.4935 GB, free: 3.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.601e-05/0.1192, allocations: 60 kB / 0.4936 GB, free: 3.676 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.1194, allocations: 123.9 kB / 0.4937 GB, free: 3.555 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002236/0.1197, allocations: 231.2 kB / 0.4939 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003262/0.12, allocations: 377.8 kB / 0.4943 GB, free: 2.957 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00118/0.1212, allocations: 0.9491 MB / 0.4952 GB, free: 2.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1212, allocations: 0 / 0.4952 GB, free: 2.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1212, allocations: 0 / 0.4952 GB, free: 2.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.1212, allocations: 0 / 0.4952 GB, free: 2.004 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.00202/0.1232, allocations: 1.184 MB / 0.4963 GB, free: 0.7617 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1233, allocations: 12.03 kB / 0.4963 GB, free: 0.75 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.841e-05/0.1234, allocations: 86.7 kB / 0.4964 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.1235, allocations: 96.33 kB / 0.4965 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008601/0.1244, allocations: 0.6174 MB / 0.4971 GB, free: 15.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.401e-05/0.1244, allocations: 37 kB / 0.4972 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.388e-05/0.1245, allocations: 48 kB / 0.4972 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009941/0.1255, allocations: 483.8 kB / 0.4977 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.1255, allocations: 0 / 0.4977 GB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.636e-05/0.1256, allocations: 24 kB / 0.4977 GB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.1256, allocations: 15.98 kB / 0.4977 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009395/0.1265, allocations: 347.7 kB / 0.498 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/0.1296, allocations: 1.875 MB / 0.4999 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009431/0.1305, allocations: 334.8 kB / 0.5002 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000384/0.1309, allocations: 128.8 kB / 0.5003 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.1309, allocations: 4 kB / 0.5003 GB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/0.1315, allocations: 199.8 kB / 0.5005 GB, free: 12.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 3.266e-06/0.1315, allocations: 0 / 0.5005 GB, free: 12.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.002033/0.1335, allocations: 0.6472 MB / 0.5011 GB, free: 11.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.1336, allocations: 55.41 kB / 0.5012 GB, free: 11.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.1349, allocations: 0.9535 MB / 0.5021 GB, free: 10.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.367e-05/0.1349, allocations: 33.7 kB / 0.5022 GB, free: 10.58 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003384/0.1353, allocations: 384.5 kB / 0.5025 GB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.372e-05/0.1354, allocations: 95.17 kB / 0.5026 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.1355, allocations: 86.08 kB / 0.5027 GB, free: 10.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1357, allocations: 322 kB / 0.503 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004033/0.1361, allocations: 140.8 kB / 0.5031 GB, free: 9.559 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.1365, allocations: 211.1 kB / 0.5033 GB, free: 9.328 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008566/0.1374, allocations: 380 kB / 0.5037 GB, free: 8.926 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1374, allocations: 0 / 0.5037 GB, free: 8.926 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001276/0.1387, allocations: 0.5307 MB / 0.5042 GB, free: 8.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.711e-05/0.1387, allocations: 29.7 kB / 0.5042 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.1387, allocations: 7.938 kB / 0.5043 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.139, allocations: 56.81 kB / 0.5043 GB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003149/0.1393, allocations: 75.83 kB / 0.5044 GB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.1414, allocations: 1.83 MB / 0.5062 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.1417, allocations: 47.94 kB / 0.5062 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.1417, allocations: 16 kB / 0.5062 GB, free: 6.168 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.0003807/0.1421, allocations: 275.1 kB / 0.5065 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.1422, allocations: 75.59 kB / 0.5066 GB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.1434, allocations: 434.2 kB / 0.507 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.1434, allocations: 11.92 kB / 0.507 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1434, allocations: 4 kB / 0.507 GB, free: 5.359 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.1434, allocations: 3.984 kB / 0.507 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007023/0.1441, allocations: 0.5791 MB / 0.5076 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1441, allocations: 0 / 0.5076 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.1444, allocations: 43.91 kB / 0.5076 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002378/0.1446, allocations: 60.81 kB / 0.5077 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.576e-05/0.1446, allocations: 7.984 kB / 0.5077 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001833/0.1465, allocations: 1.818 MB / 0.5094 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1465, allocations: 0 / 0.5094 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001466/0.1479, allocations: 0.5924 MB / 0.51 GB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.1482, allocations: 172.6 kB / 0.5102 GB, free: 1.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.194e-05/0.1483, allocations: 4 kB / 0.5102 GB, free: 1.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.1485, allocations: 31.91 kB / 0.5102 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.1486, allocations: 35.95 kB / 0.5103 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.296e-05/0.1487, allocations: 8 kB / 0.5103 GB, free: 1.781 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009219/0.1496, allocations: 0.6786 MB / 0.5109 GB, free: 1.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.1496, allocations: 0 / 0.5109 GB, free: 1.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005597/0.1501, allocations: 139.7 kB / 0.5111 GB, free: 0.9727 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.2051/0.3552, allocations: 1.634 MB / 0.5127 GB, free: 27.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00123/0.3565, allocations: 0.4897 MB / 0.5131 GB, free: 27.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3565, allocations: 0.625 kB / 0.5131 GB, free: 27.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.357, allocations: 282.5 kB / 0.5134 GB, free: 27.39 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006083/0.3576, allocations: 90.3 kB / 0.5135 GB, free: 27.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009115/0.3667, allocations: 6.554 MB / 0.5199 GB, free: 25.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.3672, allocations: 0.9654 MB / 0.5208 GB, free: 24.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002518/0.3674, allocations: 79.83 kB / 0.5209 GB, free: 24.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003176/0.3677, allocations: 262.9 kB / 0.5212 GB, free: 24.82 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.3677, allocations: 4.656 kB / 0.5212 GB, free: 24.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05179/0.4195, allocations: 14.35 MB / 0.5352 GB, free: 20.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.98/13.39, allocations: 12.09 kB / 0.5352 GB, free: 20.27 MB / 382.1 MB " [Timeout remaining time 646] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConnOO.fmu > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.12824889505282] Failed to read output from testmodel.py, exit status != 0: 13.549039899837226 13.557014067 13.433827042 Calling exit ...