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.001408/0.001408, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001451/0.001451, allocations: 217 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.522/1.522, allocations: 230.6 MB / 256 MB, free: 7.793 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.04222/0.04222, allocations: 8.532 MB / 321 MB, free: 10.41 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.002236/0.002236, allocations: 67.89 kB / 446.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.106, allocations: 55.42 MB / 0.4905 GB, free: 8.109 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005872/0.1119, allocations: 3.673 MB / 0.4941 GB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003553/0.1154, allocations: 1.889 MB / 0.4959 GB, free: 2.52 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002992/0.1157, allocations: 11.94 kB / 0.496 GB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005533/0.1163, allocations: 206.8 kB / 0.4962 GB, free: 2.305 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007214/0.117, allocations: 290.5 kB / 0.4964 GB, free: 2.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008258/0.1178, allocations: 389.7 kB / 0.4968 GB, free: 1.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000785/0.1186, allocations: 0.6745 MB / 0.4975 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004867/0.1191, allocations: 245.7 kB / 0.4977 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004695/0.1196, allocations: 298.8 kB / 0.498 GB, free: 436 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004607/0.12, allocations: 346.5 kB / 0.4983 GB, free: 88 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.938e-05/0.1201, allocations: 60 kB / 0.4984 GB, free: 28 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.1204, allocations: 124 kB / 0.4985 GB, free: 15.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.1206, allocations: 235.2 kB / 0.4987 GB, free: 15.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002831/0.1209, allocations: 282.3 kB / 0.499 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001129/0.122, allocations: 0.957 MB / 0.4999 GB, free: 14.44 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1221, allocations: 8 kB / 0.4999 GB, free: 14.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1221, allocations: 0 / 0.4999 GB, free: 14.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.899e-06/0.1221, allocations: 0 / 0.4999 GB, free: 14.43 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.002018/0.1241, allocations: 1.097 MB / 0.501 GB, free: 13.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1241, allocations: 12.03 kB / 0.501 GB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.1242, allocations: 86.7 kB / 0.5011 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001441/0.1244, allocations: 96.33 kB / 0.5012 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008987/0.1253, allocations: 0.5532 MB / 0.5017 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.1253, allocations: 41 kB / 0.5018 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.3e-05/0.1254, allocations: 48 kB / 0.5018 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009522/0.1264, allocations: 487.7 kB / 0.5023 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/0.1264, allocations: 4 kB / 0.5023 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/0.1264, allocations: 24 kB / 0.5023 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.1264, allocations: 8 kB / 0.5023 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/0.1273, allocations: 351.7 kB / 0.5026 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002908/0.1303, allocations: 1.658 MB / 0.5043 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008815/0.1311, allocations: 330.7 kB / 0.5046 GB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003655/0.1315, allocations: 133.3 kB / 0.5047 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.672e-05/0.1315, allocations: 4 kB / 0.5047 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005068/0.132, allocations: 195.2 kB / 0.5049 GB, free: 9.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.132, allocations: 4 kB / 0.5049 GB, free: 9.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001805/0.1339, allocations: 0.5718 MB / 0.5055 GB, free: 8.566 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.1339, allocations: 59.39 kB / 0.5055 GB, free: 8.496 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/0.1351, allocations: 0.9574 MB / 0.5064 GB, free: 7.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.1352, allocations: 29.7 kB / 0.5065 GB, free: 7.492 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003508/0.1355, allocations: 384.5 kB / 0.5068 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1356, allocations: 107.1 kB / 0.5069 GB, free: 7.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.1358, allocations: 78.12 kB / 0.507 GB, free: 6.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1359, allocations: 322 kB / 0.5073 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/0.1363, allocations: 162.5 kB / 0.5075 GB, free: 6.438 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004536/0.1368, allocations: 236.8 kB / 0.5077 GB, free: 6.176 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007991/0.1376, allocations: 372 kB / 0.5081 GB, free: 5.781 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.1376, allocations: 4 kB / 0.5081 GB, free: 5.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001231/0.1388, allocations: 0.5636 MB / 0.5086 GB, free: 5.191 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/0.1389, allocations: 29.7 kB / 0.5086 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.1389, allocations: 7.938 kB / 0.5086 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002732/0.1392, allocations: 60.81 kB / 0.5087 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003157/0.1395, allocations: 79.83 kB / 0.5088 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001933/0.1414, allocations: 1.703 MB / 0.5104 GB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.1417, allocations: 51.75 kB / 0.5105 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.1418, allocations: 12 kB / 0.5105 GB, free: 3.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.0003559/0.1421, allocations: 265.7 kB / 0.5108 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.1422, allocations: 79.53 kB / 0.5108 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.1433, allocations: 442.2 kB / 0.5113 GB, free: 2.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.1433, allocations: 7.984 kB / 0.5113 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1433, allocations: 0 / 0.5113 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1433, allocations: 0 / 0.5113 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005907/0.1439, allocations: 0.4962 MB / 0.5118 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1439, allocations: 0 / 0.5118 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.1442, allocations: 51.89 kB / 0.5118 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002013/0.1444, allocations: 56.81 kB / 0.5119 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.1444, allocations: 8 kB / 0.5119 GB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2077/0.3522, allocations: 1.691 MB / 0.5135 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3522, allocations: 1.75 kB / 0.5135 GB, free: 26.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.3536, allocations: 0.5934 MB / 0.5141 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001916/0.3538, allocations: 89.91 kB / 0.5142 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.3539, allocations: 7.562 kB / 0.5142 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002496/0.3542, allocations: 28.36 kB / 0.5142 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3543, allocations: 31.2 kB / 0.5142 GB, free: 26.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.3543, allocations: 9 kB / 0.5143 GB, free: 26.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007498/0.355, allocations: 0.6821 MB / 0.5149 GB, free: 25.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.355, allocations: 0 / 0.5149 GB, free: 25.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005571/0.3556, allocations: 145 kB / 0.5151 GB, free: 25.99 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.003865/0.3595, allocations: 1.687 MB / 0.5167 GB, free: 25.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.3606, allocations: 0.5318 MB / 0.5172 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.3606, allocations: 1.656 kB / 0.5172 GB, free: 25.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004594/0.361, allocations: 280.4 kB / 0.5175 GB, free: 24.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005597/0.3616, allocations: 91.91 kB / 0.5176 GB, free: 24.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009378/0.371, allocations: 6.658 MB / 0.5241 GB, free: 22.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.3715, allocations: 369.4 kB / 0.5244 GB, free: 22.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003146/0.3718, allocations: 80.22 kB / 0.5245 GB, free: 22.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002974/0.3721, allocations: 260 kB / 0.5248 GB, free: 22.69 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3721, allocations: 0 / 0.5248 GB, free: 22.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06768/0.4398, allocations: 15.17 MB / 0.5396 GB, free: 17.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/13.67, allocations: 3.969 kB / 0.5396 GB, free: 17.22 MB / 382.1 MB " [Timeout remaining time 646] (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: 16.620108100003563] Failed to read output from testmodel.py, exit status != 0: 13.850480732973665 13.870381081 13.745149452 Calling exit ...