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.001395/0.001395, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001518/0.001518, allocations: 209.8 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04554/0.04554, allocations: 8.54 MB / 321 MB, free: 10.37 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.002193/0.002193, allocations: 63.91 kB / 446.9 MB, free: 15.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1041, allocations: 55.42 MB / 0.4905 GB, free: 8.039 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConnOO): time 0.005993/0.1101, allocations: 3.673 MB / 0.4941 GB, free: 4.344 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003133/0.1132, allocations: 1.882 MB / 0.4959 GB, free: 2.457 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.1135, allocations: 11.94 kB / 0.496 GB, free: 2.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005211/0.1141, allocations: 210.8 kB / 0.4962 GB, free: 2.238 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007567/0.1148, allocations: 286.5 kB / 0.4964 GB, free: 1.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.1157, allocations: 389.9 kB / 0.4968 GB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008574/0.1165, allocations: 0.6783 MB / 0.4975 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000474/0.117, allocations: 237.7 kB / 0.4977 GB, free: 0.6602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004575/0.1175, allocations: 298.8 kB / 0.498 GB, free: 376 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.1179, allocations: 310.5 kB / 0.4983 GB, free: 64 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.598e-05/0.118, allocations: 60 kB / 0.4983 GB, free: 4 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002543/0.1182, allocations: 124 kB / 0.4985 GB, free: 15.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002392/0.1185, allocations: 231.2 kB / 0.4987 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002792/0.1188, allocations: 290.2 kB / 0.4989 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.1199, allocations: 0.9492 MB / 0.4999 GB, free: 14.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1199, allocations: 8 kB / 0.4999 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1199, allocations: 3.938 kB / 0.4999 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.1199, allocations: 3.938 kB / 0.4999 GB, free: 14.4 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.001913/0.1218, allocations: 1.093 MB / 0.501 GB, free: 13.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.1218, allocations: 16.03 kB / 0.501 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.641e-05/0.1219, allocations: 86.64 kB / 0.5011 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.1221, allocations: 96.33 kB / 0.5011 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008892/0.1229, allocations: 0.5532 MB / 0.5017 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.029e-05/0.123, allocations: 33 kB / 0.5017 GB, free: 12.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.1231, allocations: 48 kB / 0.5018 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009319/0.124, allocations: 487.8 kB / 0.5022 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.124, allocations: 7.984 kB / 0.5022 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.847e-05/0.1241, allocations: 20 kB / 0.5023 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.1241, allocations: 8 kB / 0.5023 GB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008894/0.125, allocations: 351.7 kB / 0.5026 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002673/0.1276, allocations: 1.654 MB / 0.5042 GB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008746/0.1285, allocations: 341.7 kB / 0.5045 GB, free: 9.469 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003512/0.1289, allocations: 129.3 kB / 0.5047 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.187e-05/0.1289, allocations: 4 kB / 0.5047 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004787/0.1294, allocations: 199.2 kB / 0.5049 GB, free: 9.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/0.1294, allocations: 3.938 kB / 0.5049 GB, free: 9.125 MB / 382.1 MB Notification: Performance of matching and sorting (n=30): time 0.001761/0.1311, allocations: 0.568 MB / 0.5054 GB, free: 8.547 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.1312, allocations: 55.41 kB / 0.5055 GB, free: 8.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.1324, allocations: 0.9574 MB / 0.5064 GB, free: 7.512 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.1324, allocations: 37.69 kB / 0.5064 GB, free: 7.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003402/0.1328, allocations: 376.5 kB / 0.5068 GB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.1329, allocations: 111.1 kB / 0.5069 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.133, allocations: 78.12 kB / 0.507 GB, free: 6.906 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1332, allocations: 322 kB / 0.5073 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004061/0.1336, allocations: 166.5 kB / 0.5074 GB, free: 6.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004483/0.134, allocations: 236.8 kB / 0.5077 GB, free: 6.152 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008019/0.1348, allocations: 372 kB / 0.508 GB, free: 5.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.1348, allocations: 4 kB / 0.508 GB, free: 5.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001211/0.136, allocations: 0.5596 MB / 0.5086 GB, free: 5.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.1361, allocations: 33.69 kB / 0.5086 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.1361, allocations: 11.92 kB / 0.5086 GB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002659/0.1364, allocations: 64.75 kB / 0.5087 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003132/0.1367, allocations: 79.89 kB / 0.5088 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.1386, allocations: 1.695 MB / 0.5104 GB, free: 3.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003554/0.139, allocations: 51.75 kB / 0.5105 GB, free: 3.121 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.163e-05/0.139, allocations: 15.98 kB / 0.5105 GB, free: 3.105 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.0004069/0.1394, allocations: 273.8 kB / 0.5107 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.1395, allocations: 71.53 kB / 0.5108 GB, free: 2.758 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.1406, allocations: 434.2 kB / 0.5112 GB, free: 2.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.1406, allocations: 4 kB / 0.5112 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.1406, allocations: 0 / 0.5112 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1406, allocations: 7.984 kB / 0.5112 GB, free: 2.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006061/0.1412, allocations: 0.5001 MB / 0.5117 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1412, allocations: 0 / 0.5117 GB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.1415, allocations: 52.09 kB / 0.5118 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002048/0.1417, allocations: 56.81 kB / 0.5118 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.1417, allocations: 11.98 kB / 0.5118 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1883/0.33, allocations: 1.681 MB / 0.5135 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.33, allocations: 0 / 0.5135 GB, free: 26.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.3314, allocations: 0.6007 MB / 0.5141 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.3316, allocations: 87.52 kB / 0.5141 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.248e-05/0.3316, allocations: 5.953 kB / 0.5142 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.3319, allocations: 31.86 kB / 0.5142 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.332, allocations: 31.31 kB / 0.5142 GB, free: 26.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.332, allocations: 8.438 kB / 0.5142 GB, free: 26.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006626/0.3326, allocations: 0.679 MB / 0.5149 GB, free: 25.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3326, allocations: 0.6875 kB / 0.5149 GB, free: 25.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005105/0.3332, allocations: 146.2 kB / 0.515 GB, free: 25.94 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.003687/0.3368, allocations: 1.681 MB / 0.5167 GB, free: 25.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009799/0.3378, allocations: 0.5208 MB / 0.5172 GB, free: 25.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3378, allocations: 2.125 kB / 0.5172 GB, free: 25.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004686/0.3383, allocations: 288.5 kB / 0.5175 GB, free: 24.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004742/0.3388, allocations: 93.97 kB / 0.5175 GB, free: 24.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008102/0.3469, allocations: 6.652 MB / 0.524 GB, free: 22.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.3472, allocations: 366 kB / 0.5244 GB, free: 22.81 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002258/0.3475, allocations: 83.48 kB / 0.5245 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/0.3478, allocations: 259.6 kB / 0.5247 GB, free: 22.65 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3478, allocations: 0 / 0.5247 GB, free: 22.65 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07188/0.4196, allocations: 15.09 MB / 0.5395 GB, free: 17.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/13.3, allocations: 1.094 kB / 0.5395 GB, free: 17.24 MB / 382.1 MB " [Timeout remaining time 647] (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.08437090134248] Failed to read output from testmodel.py, exit status != 0: 13.489736323710531 13.508690184 13.38533852 Calling exit ...