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.001256/0.001256, allocations: 110.3 kB / 18.94 MB, free: 2.789 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.001519/0.001519, allocations: 215.8 kB / 22.25 MB, free: 5.215 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 8.008 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.0437/0.0437, allocations: 8.535 MB / 321 MB, free: 10.61 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.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.002008/0.002008, allocations: 59.91 kB / 446.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1106, allocations: 55.41 MB / 0.4906 GB, free: 8.418 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006162/0.1168, allocations: 3.891 MB / 0.4944 GB, free: 4.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002342/0.1191, allocations: 1.234 MB / 0.4956 GB, free: 3.27 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003066/0.1194, allocations: 11.94 kB / 0.4956 GB, free: 3.258 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005279/0.12, allocations: 206.8 kB / 0.4958 GB, free: 3.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006737/0.1206, allocations: 282.6 kB / 0.4961 GB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008687/0.1215, allocations: 365.7 kB / 0.4964 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007835/0.1223, allocations: 0.6511 MB / 0.4971 GB, free: 1.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.1227, allocations: 199.9 kB / 0.4972 GB, free: 1.566 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.1231, allocations: 278.9 kB / 0.4975 GB, free: 1.293 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004171/0.1235, allocations: 318.6 kB / 0.4978 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.595e-05/0.1236, allocations: 56 kB / 0.4979 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002185/0.1238, allocations: 119.9 kB / 0.498 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.124, allocations: 219.3 kB / 0.4982 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.1243, allocations: 341.9 kB / 0.4985 GB, free: 264 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.1254, allocations: 0.9064 MB / 0.4994 GB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1254, allocations: 4 kB / 0.4994 GB, free: 15.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1254, allocations: 0 / 0.4994 GB, free: 15.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.1254, allocations: 0 / 0.4994 GB, free: 15.34 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001888/0.1273, allocations: 1.058 MB / 0.5004 GB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.1273, allocations: 12.03 kB / 0.5004 GB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.152e-05/0.1274, allocations: 78.7 kB / 0.5005 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.1276, allocations: 92.33 kB / 0.5006 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008685/0.1284, allocations: 0.5299 MB / 0.5011 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.1285, allocations: 29 kB / 0.5012 GB, free: 13.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.2e-05/0.1286, allocations: 51.95 kB / 0.5012 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008354/0.1294, allocations: 435.8 kB / 0.5016 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/0.1294, allocations: 4 kB / 0.5016 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.739e-05/0.1295, allocations: 16 kB / 0.5016 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.1295, allocations: 8 kB / 0.5016 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.1302, allocations: 311.7 kB / 0.5019 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0026/0.1328, allocations: 1.693 MB / 0.5036 GB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000831/0.1337, allocations: 310.7 kB / 0.5039 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003057/0.134, allocations: 116.8 kB / 0.504 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.134, allocations: 7.938 kB / 0.504 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00047/0.1345, allocations: 187.2 kB / 0.5042 GB, free: 10.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.823e-06/0.1345, allocations: 3.938 kB / 0.5042 GB, free: 10.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001636/0.1361, allocations: 0.5289 MB / 0.5047 GB, free: 9.707 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.1362, allocations: 59.34 kB / 0.5048 GB, free: 9.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.1374, allocations: 0.9418 MB / 0.5057 GB, free: 8.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.1374, allocations: 29.7 kB / 0.5057 GB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.1377, allocations: 360.5 kB / 0.5061 GB, free: 8.289 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.956e-05/0.1378, allocations: 99.28 kB / 0.5062 GB, free: 8.191 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001181/0.1379, allocations: 78.02 kB / 0.5062 GB, free: 8.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.1381, allocations: 378.8 kB / 0.5066 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003438/0.1385, allocations: 128.7 kB / 0.5067 GB, free: 7.602 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.1388, allocations: 191.8 kB / 0.5069 GB, free: 7.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007157/0.1395, allocations: 345.6 kB / 0.5072 GB, free: 7.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1395, allocations: 0 / 0.5072 GB, free: 7.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001101/0.1407, allocations: 0.5097 MB / 0.5077 GB, free: 6.496 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.396e-05/0.1407, allocations: 29.7 kB / 0.5078 GB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-06/0.1407, allocations: 4 kB / 0.5078 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002736/0.141, allocations: 60.81 kB / 0.5078 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.1413, allocations: 71.89 kB / 0.5079 GB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001846/0.1431, allocations: 1.707 MB / 0.5095 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002904/0.1434, allocations: 47.94 kB / 0.5096 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.923e-05/0.1434, allocations: 16 kB / 0.5096 GB, free: 4.445 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.0003556/0.1438, allocations: 273.6 kB / 0.5099 GB, free: 4.168 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.599e-05/0.1439, allocations: 71.53 kB / 0.5099 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009539/0.1448, allocations: 405.2 kB / 0.5103 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.1449, allocations: 7.938 kB / 0.5103 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.1449, allocations: 0 / 0.5103 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1449, allocations: 3.984 kB / 0.5103 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.1455, allocations: 0.5274 MB / 0.5109 GB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1455, allocations: 4 kB / 0.5109 GB, free: 3.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00025/0.1457, allocations: 39.97 kB / 0.5109 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002011/0.1459, allocations: 60.81 kB / 0.511 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.1459, allocations: 4 kB / 0.511 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001752/0.1477, allocations: 1.715 MB / 0.5126 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1477, allocations: 0 / 0.5126 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.1489, allocations: 0.5484 MB / 0.5132 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.1491, allocations: 87.53 kB / 0.5132 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.1492, allocations: 7.938 kB / 0.5133 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.1494, allocations: 23.97 kB / 0.5133 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.556e-05/0.1495, allocations: 27.89 kB / 0.5133 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.058e-05/0.1495, allocations: 12 kB / 0.5133 GB, free: 452 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2022/0.3517, allocations: 0.6705 MB / 0.514 GB, free: 26.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3517, allocations: 0.8438 kB / 0.514 GB, free: 26.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007819/0.3525, allocations: 128.7 kB / 0.5141 GB, free: 26.23 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.003595/0.3561, allocations: 1.594 MB / 0.5157 GB, free: 25.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001016/0.3571, allocations: 483.3 kB / 0.5161 GB, free: 25.4 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3571, allocations: 2.5 kB / 0.5161 GB, free: 25.4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004108/0.3575, allocations: 262.9 kB / 0.5164 GB, free: 25.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.358, allocations: 86.62 kB / 0.5164 GB, free: 25.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007969/0.366, allocations: 6.366 MB / 0.5227 GB, free: 23.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004652/0.3664, allocations: 0.9503 MB / 0.5236 GB, free: 22.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002346/0.3667, allocations: 81.2 kB / 0.5237 GB, free: 22.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.367, allocations: 241.6 kB / 0.5239 GB, free: 22.78 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.367, allocations: 2.406 kB / 0.5239 GB, free: 22.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05266/0.4196, allocations: 14.12 MB / 0.5377 GB, free: 18.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.04/14.46, allocations: 1.031 kB / 0.5377 GB, free: 18.4 MB / 382.1 MB " [Timeout remaining time 645] (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: 17.218515060143545] Failed to read output from testmodel.py, exit status != 0: 14.641734365839511 14.656327847 14.528066685 Calling exit ...