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.001933/0.001933, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.002117/0.002117, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.51/1.51, allocations: 230.6 MB / 256 MB, free: 7.98 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.04563/0.04563, allocations: 8.542 MB / 321 MB, free: 10.6 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.002035/0.002035, allocations: 71.94 kB / 446.9 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1129, allocations: 55.41 MB / 0.4906 GB, free: 8.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestICE.TestIceConn): time 0.006394/0.1193, allocations: 3.887 MB / 0.4944 GB, free: 4.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002389/0.1217, allocations: 1.242 MB / 0.4956 GB, free: 3.273 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002965/0.122, allocations: 11.94 kB / 0.4956 GB, free: 3.262 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.1224, allocations: 202.9 kB / 0.4958 GB, free: 3.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000617/0.123, allocations: 274.6 kB / 0.4961 GB, free: 2.793 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007922/0.1238, allocations: 369.9 kB / 0.4964 GB, free: 2.434 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007703/0.1246, allocations: 0.6471 MB / 0.497 GB, free: 1.781 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.125, allocations: 203.8 kB / 0.4972 GB, free: 1.574 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.1254, allocations: 271 kB / 0.4975 GB, free: 1.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003955/0.1258, allocations: 322.5 kB / 0.4978 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.122e-05/0.1259, allocations: 56 kB / 0.4979 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.1261, allocations: 124 kB / 0.498 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.1263, allocations: 215.3 kB / 0.4982 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003106/0.1266, allocations: 357.8 kB / 0.4985 GB, free: 260 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.1276, allocations: 0.8909 MB / 0.4994 GB, free: 15.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.1276, allocations: 8 kB / 0.4994 GB, free: 15.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1276, allocations: 0 / 0.4994 GB, free: 15.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.1277, allocations: 0 / 0.4994 GB, free: 15.35 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.001822/0.1295, allocations: 1.054 MB / 0.5004 GB, free: 14.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.1295, allocations: 12.03 kB / 0.5004 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.29e-05/0.1296, allocations: 78.7 kB / 0.5005 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1297, allocations: 92.33 kB / 0.5006 GB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008275/0.1306, allocations: 0.5377 MB / 0.5011 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.1306, allocations: 29 kB / 0.5012 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.1307, allocations: 47.95 kB / 0.5012 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008235/0.1315, allocations: 431.8 kB / 0.5016 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.1315, allocations: 0 / 0.5016 GB, free: 12.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.1315, allocations: 16 kB / 0.5016 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.1316, allocations: 12 kB / 0.5016 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008035/0.1324, allocations: 323.7 kB / 0.5019 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00263/0.135, allocations: 1.685 MB / 0.5036 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000813/0.1358, allocations: 302.8 kB / 0.5039 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003183/0.1361, allocations: 116.8 kB / 0.504 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.1362, allocations: 7.938 kB / 0.504 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/0.1366, allocations: 187.1 kB / 0.5042 GB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.1366, allocations: 4 kB / 0.5042 GB, free: 10.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00162/0.1382, allocations: 0.5212 MB / 0.5047 GB, free: 9.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1383, allocations: 63.28 kB / 0.5047 GB, free: 9.656 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.1395, allocations: 0.9457 MB / 0.5057 GB, free: 8.699 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.25e-05/0.1395, allocations: 29.7 kB / 0.5057 GB, free: 8.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.1398, allocations: 360.5 kB / 0.506 GB, free: 8.305 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.056e-05/0.1399, allocations: 87.22 kB / 0.5061 GB, free: 8.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.14, allocations: 82.02 kB / 0.5062 GB, free: 8.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.1403, allocations: 386.8 kB / 0.5066 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.1406, allocations: 124.6 kB / 0.5067 GB, free: 7.621 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.141, allocations: 207.7 kB / 0.5069 GB, free: 7.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007083/0.1417, allocations: 337.6 kB / 0.5072 GB, free: 7.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1417, allocations: 0 / 0.5072 GB, free: 7.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001134/0.1429, allocations: 0.5059 MB / 0.5077 GB, free: 6.512 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.1429, allocations: 33.7 kB / 0.5077 GB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.1429, allocations: 4 kB / 0.5077 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002905/0.1432, allocations: 60.8 kB / 0.5078 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003046/0.1435, allocations: 76.05 kB / 0.5079 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.1454, allocations: 1.711 MB / 0.5095 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.1457, allocations: 43.8 kB / 0.5096 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.1458, allocations: 15.98 kB / 0.5096 GB, free: 4.453 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.0003697/0.1461, allocations: 277.6 kB / 0.5099 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.355e-05/0.1462, allocations: 67.53 kB / 0.5099 GB, free: 4.105 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009888/0.1472, allocations: 397.2 kB / 0.5103 GB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.1472, allocations: 11.94 kB / 0.5103 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-06/0.1472, allocations: 0 / 0.5103 GB, free: 3.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.1472, allocations: 3.984 kB / 0.5103 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006525/0.1479, allocations: 0.5197 MB / 0.5108 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1479, allocations: 0 / 0.5108 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.1481, allocations: 47.95 kB / 0.5109 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002043/0.1483, allocations: 56.94 kB / 0.5109 GB, free: 3.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.48e-05/0.1484, allocations: 12 kB / 0.5109 GB, free: 3.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001839/0.1502, allocations: 1.715 MB / 0.5126 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1502, allocations: 0 / 0.5126 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.1515, allocations: 0.5564 MB / 0.5132 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.1517, allocations: 83.55 kB / 0.5132 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.1517, allocations: 8 kB / 0.5132 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.152, allocations: 23.97 kB / 0.5133 GB, free: 500 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.1521, allocations: 31.89 kB / 0.5133 GB, free: 468 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.1521, allocations: 4 kB / 0.5133 GB, free: 464 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.2169/0.369, allocations: 0.6772 MB / 0.514 GB, free: 26.27 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.369, allocations: 0 / 0.514 GB, free: 26.27 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008643/0.3699, allocations: 129.8 kB / 0.5141 GB, free: 26.27 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.003827/0.3737, allocations: 1.589 MB / 0.5156 GB, free: 25.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3748, allocations: 481.4 kB / 0.5161 GB, free: 25.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3748, allocations: 0 / 0.5161 GB, free: 25.44 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004164/0.3752, allocations: 270.3 kB / 0.5164 GB, free: 25.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005083/0.3757, allocations: 96.88 kB / 0.5165 GB, free: 25.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008027/0.3837, allocations: 6.363 MB / 0.5227 GB, free: 23.53 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.3842, allocations: 0.9493 MB / 0.5236 GB, free: 22.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002369/0.3845, allocations: 77.31 kB / 0.5237 GB, free: 22.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/0.3848, allocations: 240.6 kB / 0.5239 GB, free: 22.8 MB / 382.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3848, allocations: 1.125 kB / 0.5239 GB, free: 22.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05259/0.4374, allocations: 14.11 MB / 0.5377 GB, free: 18.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.94/14.38, allocations: 17.45 kB / 0.5377 GB, free: 18.45 MB / 382.1 MB " [Timeout remaining time 645] (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: 17.33094805300061] Failed to read output from testmodel.py, exit status != 0: 14.552561279000656 14.566009681 14.435975546 Calling exit ...