Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001794/0.001794, allocations: 104.6 kB / 16.45 MB, free: 6.449 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.002114/0.002114, allocations: 208.9 kB / 19.42 MB, free: 3.641 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.474/1.474, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.04143/0.04143, allocations: 8.535 MB / 317.4 MB, free: 11.78 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.TestIceConn,fileNamePrefix="EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn,fileNamePrefix="EHPTlib_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.001923/0.001923, allocations: 71.89 kB / 441.7 MB, free: 3.434 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.108, allocations: 55.39 MB / 497.1 MB, free: 11.95 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.005819/0.1138, allocations: 3.837 MB / 0.4892 GB, free: 8.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1161, allocations: 1.223 MB / 0.4904 GB, free: 6.863 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002517/0.1163, allocations: 11.94 kB / 0.4904 GB, free: 6.852 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.1169, allocations: 202.9 kB / 0.4906 GB, free: 6.652 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006257/0.1175, allocations: 278.5 kB / 0.4909 GB, free: 6.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007763/0.1183, allocations: 365.5 kB / 0.4912 GB, free: 6.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008058/0.1191, allocations: 0.6511 MB / 0.4919 GB, free: 5.371 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003908/0.1194, allocations: 203.5 kB / 0.4921 GB, free: 5.164 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004182/0.1199, allocations: 274.9 kB / 0.4923 GB, free: 4.895 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003844/0.1203, allocations: 322.6 kB / 0.4926 GB, free: 4.578 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.802e-05/0.1203, allocations: 56 kB / 0.4927 GB, free: 4.523 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002319/0.1206, allocations: 115.9 kB / 0.4928 GB, free: 4.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.1208, allocations: 219.2 kB / 0.493 GB, free: 4.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003036/0.1211, allocations: 342 kB / 0.4933 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001058/0.1221, allocations: 0.9064 MB / 0.4942 GB, free: 2.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1222, allocations: 0 / 0.4942 GB, free: 2.949 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1222, allocations: 0 / 0.4942 GB, free: 2.949 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.1222, allocations: 0 / 0.4942 GB, free: 2.949 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.001908/0.1241, allocations: 1.137 MB / 0.4953 GB, free: 1.754 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.1241, allocations: 8.031 kB / 0.4953 GB, free: 1.746 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.525e-05/0.1242, allocations: 78.7 kB / 0.4954 GB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.1244, allocations: 96.33 kB / 0.4955 GB, free: 1.566 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008197/0.1252, allocations: 0.5903 MB / 0.4961 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.876e-05/0.1252, allocations: 37 kB / 0.4961 GB, free: 0.9023 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.1253, allocations: 51.89 kB / 0.4962 GB, free: 0.8516 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008495/0.1261, allocations: 431.8 kB / 0.4966 GB, free: 420 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1261, allocations: 0 / 0.4966 GB, free: 420 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.1262, allocations: 16 kB / 0.4966 GB, free: 404 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.1262, allocations: 12 kB / 0.4966 GB, free: 392 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008078/0.127, allocations: 315.7 kB / 0.4969 GB, free: 76 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003014/0.13, allocations: 1.75 MB / 0.4986 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009132/0.1309, allocations: 310.8 kB / 0.4989 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.1313, allocations: 118.5 kB / 0.499 GB, free: 13.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.33e-05/0.1313, allocations: 3.938 kB / 0.499 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005073/0.1318, allocations: 191.1 kB / 0.4992 GB, free: 13.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.695e-06/0.1318, allocations: 0 / 0.4992 GB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.001838/0.1337, allocations: 0.6003 MB / 0.4998 GB, free: 12.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.1337, allocations: 63.34 kB / 0.4999 GB, free: 12.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0012/0.1349, allocations: 0.9495 MB / 0.5008 GB, free: 11.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.545e-05/0.135, allocations: 29.7 kB / 0.5008 GB, free: 11.91 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.1353, allocations: 360.5 kB / 0.5012 GB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.453e-05/0.1354, allocations: 107.1 kB / 0.5013 GB, free: 11.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.1355, allocations: 74.02 kB / 0.5013 GB, free: 11.36 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002169/0.1357, allocations: 382.8 kB / 0.5017 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/0.1361, allocations: 120.7 kB / 0.5018 GB, free: 10.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004284/0.1365, allocations: 200 kB / 0.502 GB, free: 10.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008111/0.1373, allocations: 329.7 kB / 0.5023 GB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1373, allocations: 0 / 0.5023 GB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001256/0.1386, allocations: 0.5174 MB / 0.5028 GB, free: 9.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.813e-05/0.1386, allocations: 29.7 kB / 0.5028 GB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.1386, allocations: 4 kB / 0.5029 GB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003287/0.139, allocations: 73.02 kB / 0.5029 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.1393, allocations: 67.89 kB / 0.503 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002081/0.1414, allocations: 1.803 MB / 0.5047 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.1417, allocations: 47.78 kB / 0.5048 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.1417, allocations: 12.06 kB / 0.5048 GB, free: 7.582 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.0003868/0.1421, allocations: 278.1 kB / 0.5051 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.1422, allocations: 67.53 kB / 0.5051 GB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001069/0.1433, allocations: 412.1 kB / 0.5055 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1433, allocations: 7.938 kB / 0.5055 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.1433, allocations: 0 / 0.5055 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.1433, allocations: 3.984 kB / 0.5055 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.144, allocations: 0.5442 MB / 0.5061 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.463e-06/0.144, allocations: 4 kB / 0.5061 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.1443, allocations: 43.97 kB / 0.5061 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002153/0.1445, allocations: 56.81 kB / 0.5062 GB, free: 6.102 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.86e-05/0.1445, allocations: 11.98 kB / 0.5062 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001794/0.1463, allocations: 1.807 MB / 0.5079 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1463, allocations: 0 / 0.5079 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.1476, allocations: 0.5571 MB / 0.5085 GB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.1478, allocations: 164.7 kB / 0.5086 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.752e-05/0.1479, allocations: 8 kB / 0.5087 GB, free: 3.383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.1481, allocations: 24.16 kB / 0.5087 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.1482, allocations: 27.97 kB / 0.5087 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.1482, allocations: 7.984 kB / 0.5087 GB, free: 3.324 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009138/0.1491, allocations: 0.6748 MB / 0.5094 GB, free: 2.652 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1491, allocations: 0 / 0.5094 GB, free: 2.652 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005779/0.1497, allocations: 139.6 kB / 0.5095 GB, free: 2.516 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.00395/0.1537, allocations: 1.585 MB / 0.5111 GB, free: 1.168 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.1548, allocations: 477.6 kB / 0.5115 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1548, allocations: 448 / 0.5115 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005405/0.1554, allocations: 270.4 kB / 0.5118 GB, free: 408 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.1559, allocations: 88.02 kB / 0.5118 GB, free: 328 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1914/0.3474, allocations: 6.354 MB / 0.5181 GB, free: 26.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004165/0.3478, allocations: 0.9479 MB / 0.519 GB, free: 25.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.348, allocations: 75.97 kB / 0.5191 GB, free: 25.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002628/0.3483, allocations: 242.6 kB / 0.5193 GB, free: 25.58 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3483, allocations: 0 / 0.5193 GB, free: 25.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04499/0.3933, allocations: 13.88 MB / 0.5328 GB, free: 21.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/12.84, allocations: 7.141 kB / 0.5328 GB, free: 21.58 MB / 382.1 MB " [Timeout remaining time 647] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 EHPTlib_EHPTlib_MapBased_TestingModels_TestICE_TestIceConn.fmu > EHPTlib_EHPTlib.MapBased.TestingModels.TestICE.TestIceConn.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.640104096994037] Failed to read output from testmodel.py, exit status != 0: 12.993511803011643 13.012704595 12.887362404 Calling exit ...