Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.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.00173/0.00173, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002002/0.002002, allocations: 211.2 kB / 22.25 MB, free: 5.121 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1112/0.1112, allocations: 24.12 MB / 336.6 MB, free: 11.48 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES 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(AES.Coursework.ThermSys_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES 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.002155/0.002155, allocations: 71.89 kB / 473.3 MB, free: 6.438 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.347, allocations: 59.6 MB / 0.5204 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003078/0.3501, allocations: 2.207 MB / 0.5226 GB, free: 8.547 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004046/0.3505, allocations: 207.1 kB / 0.5228 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.3506, allocations: 15.91 kB / 0.5228 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.971e-05/0.3507, allocations: 31.45 kB / 0.5228 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.3509, allocations: 102.5 kB / 0.5229 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.3511, allocations: 40.55 kB / 0.5229 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.3514, allocations: 285.2 kB / 0.5232 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002516/0.3516, allocations: 109.9 kB / 0.5233 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.3518, allocations: 130.2 kB / 0.5234 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.352, allocations: 95.62 kB / 0.5235 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.789e-05/0.352, allocations: 13.66 kB / 0.5236 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.884e-05/0.3521, allocations: 14.06 kB / 0.5236 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.3521, allocations: 44.83 kB / 0.5236 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.3522, allocations: 107.4 kB / 0.5237 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002749/0.3525, allocations: 216.7 kB / 0.5239 GB, free: 7.809 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.3525, allocations: 1.531 kB / 0.5239 GB, free: 7.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3525, allocations: 0 / 0.5239 GB, free: 7.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.3525, allocations: 0 / 0.5239 GB, free: 7.809 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0006366/0.3532, allocations: 449.1 kB / 0.5243 GB, free: 7.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.3532, allocations: 11.2 kB / 0.5244 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.3532, allocations: 49.75 kB / 0.5244 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.3533, allocations: 24.08 kB / 0.5244 GB, free: 7.367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003048/0.3536, allocations: 213.6 kB / 0.5246 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.3536, allocations: 14 kB / 0.5246 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.3536, allocations: 12.66 kB / 0.5247 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.3539, allocations: 159.8 kB / 0.5248 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.3539, allocations: 3.938 kB / 0.5248 GB, free: 7.055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.3539, allocations: 7.688 kB / 0.5248 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3539, allocations: 2.938 kB / 0.5248 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.3541, allocations: 96.34 kB / 0.5249 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.3548, allocations: 0.778 MB / 0.5257 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.355, allocations: 78.64 kB / 0.5257 GB, free: 6.277 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.885e-05/0.355, allocations: 38.66 kB / 0.5258 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.355, allocations: 1.094 kB / 0.5258 GB, free: 6.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.523e-05/0.3551, allocations: 31.62 kB / 0.5258 GB, free: 6.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.3551, allocations: 0 / 0.5258 GB, free: 6.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003086/0.3554, allocations: 126.2 kB / 0.5259 GB, free: 6.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.3554, allocations: 61.09 kB / 0.526 GB, free: 6.074 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.3557, allocations: 274.7 kB / 0.5263 GB, free: 5.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.3557, allocations: 25.7 kB / 0.5263 GB, free: 5.883 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.3558, allocations: 139.9 kB / 0.5264 GB, free: 5.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.524e-05/0.3558, allocations: 30.81 kB / 0.5264 GB, free: 5.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/0.3559, allocations: 31.48 kB / 0.5265 GB, free: 5.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.526e-05/0.356, allocations: 332.4 kB / 0.5268 GB, free: 5.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.146e-05/0.356, allocations: 27.73 kB / 0.5268 GB, free: 5.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.3561, allocations: 52.48 kB / 0.5269 GB, free: 5.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005473/0.3566, allocations: 164.6 kB / 0.527 GB, free: 5.254 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3566, allocations: 4 kB / 0.527 GB, free: 5.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001981/0.3568, allocations: 133.8 kB / 0.5272 GB, free: 5.176 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3569, allocations: 9.625 kB / 0.5272 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.3569, allocations: 1.734 kB / 0.5272 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3569, allocations: 1.062 kB / 0.5272 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.357, allocations: 24.14 kB / 0.5272 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.3571, allocations: 9.062 kB / 0.5272 GB, free: 5.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.249e-05/0.3571, allocations: 16.97 kB / 0.5272 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.918e-06/0.3572, allocations: 11.31 kB / 0.5272 GB, free: 5.145 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.3573, allocations: 130.9 kB / 0.5274 GB, free: 5.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.3573, allocations: 25.95 kB / 0.5274 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.3574, allocations: 27.8 kB / 0.5274 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3574, allocations: 5.297 kB / 0.5274 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.3574, allocations: 8.906 kB / 0.5274 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3574, allocations: 0.8438 kB / 0.5274 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.3576, allocations: 209.4 kB / 0.5276 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3576, allocations: 0 / 0.5276 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.3578, allocations: 23.5 kB / 0.5276 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3578, allocations: 0 / 0.5276 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3578, allocations: 5.844 kB / 0.5276 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3578, allocations: 1.031 kB / 0.5276 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3578, allocations: 3.938 kB / 0.5276 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002487/0.358, allocations: 234.6 kB / 0.5279 GB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.3581, allocations: 23.78 kB / 0.5279 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.3581, allocations: 1.875 kB / 0.5279 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.3582, allocations: 4 kB / 0.5279 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.868e-05/0.3583, allocations: 14.12 kB / 0.5279 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.029e-06/0.3583, allocations: 1.094 kB / 0.5279 GB, free: 4.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001601/0.3584, allocations: 195 kB / 0.5281 GB, free: 4.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3584, allocations: 0 / 0.5281 GB, free: 4.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.3587, allocations: 42.44 kB / 0.5281 GB, free: 4.457 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004159/0.3591, allocations: 0.7711 MB / 0.5289 GB, free: 3.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3593, allocations: 70.2 kB / 0.529 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3593, allocations: 0 / 0.529 GB, free: 3.715 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.007e-05/0.3594, allocations: 31.42 kB / 0.529 GB, free: 3.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.3598, allocations: 66.73 kB / 0.5291 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.3622, allocations: 2.307 MB / 0.5313 GB, free: 2.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001727/0.3624, allocations: 0.7376 MB / 0.532 GB, free: 1.309 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000118/0.3625, allocations: 29.97 kB / 0.5321 GB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.3626, allocations: 64.88 kB / 0.5321 GB, free: 1.254 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3626, allocations: 0 / 0.5321 GB, free: 1.254 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03535/0.3979, allocations: 4.837 MB / 0.5368 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.76, allocations: 5.125 kB / 0.5368 GB, free: 0.668 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 100 AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001.fmu > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.63057285099785] Failed to read output from testmodel.py, exit status != 0: 11.869716312998207 11.886906472 11.531183086 Calling exit ...