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.001556/0.001556, allocations: 116.8 kB / 17.17 MB, free: 6 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.001409/0.001409, allocations: 214.3 kB / 20.13 MB, free: 3.055 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.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.04165/0.04165, allocations: 8.541 MB / 318.1 MB, free: 12 kB / 238.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.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="cs",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.002012/0.002012, allocations: 67.83 kB / 442.5 MB, free: 40.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.09818, allocations: 55.38 MB / 497.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.004536/0.1027, allocations: 3.846 MB / 0.4899 GB, free: 3.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.1047, allocations: 1.227 MB / 0.4911 GB, free: 2.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003488/0.1051, allocations: 11.94 kB / 0.4911 GB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004598/0.1055, allocations: 202.9 kB / 0.4913 GB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000669/0.1062, allocations: 278.5 kB / 0.4916 GB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007558/0.107, allocations: 377.7 kB / 0.492 GB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007146/0.1077, allocations: 0.6394 MB / 0.4926 GB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003807/0.1081, allocations: 207.4 kB / 0.4928 GB, free: 364 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004165/0.1085, allocations: 271 kB / 0.493 GB, free: 92 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004946/0.109, allocations: 322.6 kB / 0.4933 GB, free: 15.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.824e-05/0.1091, allocations: 56 kB / 0.4934 GB, free: 15.72 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.1093, allocations: 119.9 kB / 0.4935 GB, free: 15.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.1096, allocations: 215.3 kB / 0.4937 GB, free: 15.39 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004888/0.1101, allocations: 357.8 kB / 0.4941 GB, free: 15.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001302/0.1114, allocations: 0.8909 MB / 0.4949 GB, free: 14.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1114, allocations: 0 / 0.4949 GB, free: 14.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1114, allocations: 0 / 0.4949 GB, free: 14.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.78e-05/0.1114, allocations: 3.938 kB / 0.4949 GB, free: 14.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.002356/0.1138, allocations: 1.141 MB / 0.496 GB, free: 12.94 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/0.1138, allocations: 12.03 kB / 0.4961 GB, free: 12.93 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.431e-05/0.1138, allocations: 9.188 kB / 0.4961 GB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/0.114, allocations: 74.72 kB / 0.4961 GB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.1142, allocations: 104.4 kB / 0.4962 GB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.1152, allocations: 0.5939 MB / 0.4968 GB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.211e-05/0.1152, allocations: 33 kB / 0.4968 GB, free: 12.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.917e-05/0.1153, allocations: 47.98 kB / 0.4969 GB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009975/0.1163, allocations: 431.9 kB / 0.4973 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.05e-05/0.1163, allocations: 0 / 0.4973 GB, free: 11.58 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.1164, allocations: 19.98 kB / 0.4973 GB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.1164, allocations: 8 kB / 0.4973 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.1172, allocations: 311.7 kB / 0.4976 GB, free: 11.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002906/0.1201, allocations: 1.758 MB / 0.4993 GB, free: 9.406 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000902/0.121, allocations: 302.8 kB / 0.4996 GB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003523/0.1214, allocations: 124.7 kB / 0.4998 GB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.1214, allocations: 0 / 0.4998 GB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004967/0.1219, allocations: 187.2 kB / 0.4999 GB, free: 8.781 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 2.023e-06/0.1219, allocations: 0 / 0.4999 GB, free: 8.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002091/0.124, allocations: 0.6049 MB / 0.5005 GB, free: 8.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.1241, allocations: 59.39 kB / 0.5006 GB, free: 8.078 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001682/0.1258, allocations: 0.9456 MB / 0.5015 GB, free: 7.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.599e-05/0.1258, allocations: 37.7 kB / 0.5015 GB, free: 7.078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003953/0.1262, allocations: 360.6 kB / 0.5019 GB, free: 6.723 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1263, allocations: 91.27 kB / 0.502 GB, free: 6.633 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001694/0.1265, allocations: 74.03 kB / 0.502 GB, free: 6.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002443/0.1268, allocations: 382.8 kB / 0.5024 GB, free: 6.168 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/0.1271, allocations: 120.7 kB / 0.5025 GB, free: 6.051 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004432/0.1276, allocations: 200 kB / 0.5027 GB, free: 5.832 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.1284, allocations: 333.7 kB / 0.503 GB, free: 5.473 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.1284, allocations: 3.984 kB / 0.503 GB, free: 5.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001331/0.1297, allocations: 0.5057 MB / 0.5035 GB, free: 4.949 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.1298, allocations: 37.92 kB / 0.5036 GB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.1298, allocations: 7.984 kB / 0.5036 GB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/0.1301, allocations: 60.81 kB / 0.5036 GB, free: 4.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.1304, allocations: 71.89 kB / 0.5037 GB, free: 4.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.1327, allocations: 1.806 MB / 0.5055 GB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.1331, allocations: 55.84 kB / 0.5055 GB, free: 2.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.922e-05/0.1332, allocations: 11.94 kB / 0.5055 GB, free: 2.758 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.0004352/0.1336, allocations: 276.8 kB / 0.5058 GB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.1337, allocations: 67.53 kB / 0.5059 GB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.1347, allocations: 416.1 kB / 0.5062 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1347, allocations: 4 kB / 0.5063 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.1347, allocations: 0 / 0.5063 GB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.1347, allocations: 3.984 kB / 0.5063 GB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006121/0.1353, allocations: 0.5441 MB / 0.5068 GB, free: 1.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1353, allocations: 3.984 kB / 0.5068 GB, free: 1.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.1356, allocations: 43.97 kB / 0.5068 GB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.1358, allocations: 57 kB / 0.5069 GB, free: 1.285 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.915e-05/0.1358, allocations: 15.94 kB / 0.5069 GB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001846/0.1377, allocations: 1.803 MB / 0.5087 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.1377, allocations: 7.969 kB / 0.5087 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001317/0.139, allocations: 0.5412 MB / 0.5092 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001824/0.1392, allocations: 172.6 kB / 0.5094 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.1392, allocations: 8 kB / 0.5094 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.1395, allocations: 23.91 kB / 0.5094 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.69e-05/0.1395, allocations: 23.97 kB / 0.5094 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.1396, allocations: 4 kB / 0.5094 GB, free: 14.51 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008608/0.1404, allocations: 0.6826 MB / 0.5101 GB, free: 13.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1404, allocations: 0 / 0.5101 GB, free: 13.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005538/0.141, allocations: 131.7 kB / 0.5102 GB, free: 13.7 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.003858/0.1448, allocations: 1.611 MB / 0.5118 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.146, allocations: 470 kB / 0.5122 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.146, allocations: 0 / 0.5122 GB, free: 11.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005197/0.1465, allocations: 262.5 kB / 0.5125 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.147, allocations: 86.88 kB / 0.5126 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009474/0.1565, allocations: 6.363 MB / 0.5188 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006581/0.1571, allocations: 0.9545 MB / 0.5197 GB, free: 4.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.1574, allocations: 80.22 kB / 0.5198 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.1577, allocations: 243.4 kB / 0.52 GB, free: 3.699 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.1577, allocations: 4 kB / 0.52 GB, free: 3.695 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04151/0.1992, allocations: 13.92 MB / 0.5336 GB, free: 5.848 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.29, allocations: 8 kB / 0.5336 GB, free: 5.84 MB / 398.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn_fmu --startTime=0 --stopTime=50 --stepSize=0.02 --timeout=50 --tolerance=1e-06 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: 16.175613121013157] Failed to read output from testmodel.py, exit status != 0: 13.500035558012314 13.522629434 13.407146789 Calling exit ...