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.001599/0.001599, allocations: 109.6 kB / 16.45 MB, free: 6.508 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.001586/0.001586, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.448/1.448, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.1069/0.1069, allocations: 24.11 MB / 333 MB, free: 12.64 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.002184/0.002184, allocations: 73.45 kB / 467.9 MB, free: 9.102 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3535/0.3557, allocations: 59.57 MB / 0.5151 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003821/0.3596, allocations: 2.203 MB / 0.5172 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004837/0.36, allocations: 201.3 kB / 0.5174 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.3602, allocations: 15.25 kB / 0.5174 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.104e-05/0.3602, allocations: 28.94 kB / 0.5174 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.3605, allocations: 113.6 kB / 0.5176 GB, free: 7.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001686/0.3606, allocations: 32.78 kB / 0.5176 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.3609, allocations: 293.3 kB / 0.5179 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002662/0.3612, allocations: 108.8 kB / 0.518 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.3614, allocations: 131.1 kB / 0.5181 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.3616, allocations: 92.61 kB / 0.5182 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.3616, allocations: 12.78 kB / 0.5182 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.866e-05/0.3617, allocations: 14.09 kB / 0.5182 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.823e-05/0.3617, allocations: 37.58 kB / 0.5182 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3618, allocations: 105.9 kB / 0.5183 GB, free: 7.535 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.3621, allocations: 221.9 kB / 0.5186 GB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3621, allocations: 0 / 0.5186 GB, free: 7.453 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3621, allocations: 0 / 0.5186 GB, free: 7.453 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3622, allocations: 5.406 kB / 0.5186 GB, free: 7.449 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.000647/0.3628, allocations: 0.5093 MB / 0.5191 GB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.3628, allocations: 10.48 kB / 0.5191 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.703e-05/0.3629, allocations: 47.59 kB / 0.5191 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.3629, allocations: 24.2 kB / 0.5191 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003193/0.3632, allocations: 280.3 kB / 0.5194 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3633, allocations: 10.22 kB / 0.5194 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.184e-05/0.3633, allocations: 13.12 kB / 0.5194 GB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.3636, allocations: 175.8 kB / 0.5196 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3636, allocations: 0 / 0.5196 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.3636, allocations: 1.781 kB / 0.5196 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.156e-06/0.3636, allocations: 7.406 kB / 0.5196 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.3638, allocations: 95.94 kB / 0.5197 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007268/0.3645, allocations: 0.804 MB / 0.5205 GB, free: 5.777 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.3647, allocations: 71.25 kB / 0.5205 GB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.3647, allocations: 39.67 kB / 0.5206 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.3647, allocations: 1.812 kB / 0.5206 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3648, allocations: 36.19 kB / 0.5206 GB, free: 5.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3648, allocations: 0 / 0.5206 GB, free: 5.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002869/0.365, allocations: 124.5 kB / 0.5207 GB, free: 5.598 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.3651, allocations: 60.47 kB / 0.5208 GB, free: 5.527 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000258/0.3653, allocations: 271.8 kB / 0.5211 GB, free: 5.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.3653, allocations: 27.08 kB / 0.5211 GB, free: 5.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.3654, allocations: 145.3 kB / 0.5212 GB, free: 5.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3654, allocations: 30.22 kB / 0.5212 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.907e-05/0.3655, allocations: 35.45 kB / 0.5213 GB, free: 5.156 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.955e-05/0.3656, allocations: 332.6 kB / 0.5216 GB, free: 4.836 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.3656, allocations: 28.11 kB / 0.5216 GB, free: 4.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.915e-05/0.3657, allocations: 59.89 kB / 0.5217 GB, free: 4.777 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005301/0.3662, allocations: 155 kB / 0.5218 GB, free: 4.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3662, allocations: 2.094 kB / 0.5218 GB, free: 4.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002084/0.3664, allocations: 133 kB / 0.522 GB, free: 4.629 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3665, allocations: 6.703 kB / 0.522 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3665, allocations: 0 / 0.522 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3665, allocations: 2.25 kB / 0.522 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.3666, allocations: 24.67 kB / 0.522 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3667, allocations: 5.969 kB / 0.522 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.328e-05/0.3667, allocations: 23.64 kB / 0.522 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.3668, allocations: 4.422 kB / 0.522 GB, free: 4.605 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.0001583/0.3669, allocations: 141.3 kB / 0.5222 GB, free: 4.469 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.281e-05/0.367, allocations: 21.77 kB / 0.5222 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.367, allocations: 29.47 kB / 0.5222 GB, free: 4.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.367, allocations: 7.891 kB / 0.5222 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.367, allocations: 5.984 kB / 0.5222 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.367, allocations: 0.5625 kB / 0.5222 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.3673, allocations: 236.6 kB / 0.5224 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.3673, allocations: 1.828 kB / 0.5225 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.3674, allocations: 17.84 kB / 0.5225 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3674, allocations: 1.188 kB / 0.5225 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3674, allocations: 1.156 kB / 0.5225 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3674, allocations: 0.75 kB / 0.5225 GB, free: 4.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3674, allocations: 5.094 kB / 0.5225 GB, free: 4.211 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.3677, allocations: 247.2 kB / 0.5227 GB, free: 4.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/0.3677, allocations: 99.69 kB / 0.5228 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.3678, allocations: 1.25 kB / 0.5228 GB, free: 3.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3679, allocations: 10.33 kB / 0.5228 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.3679, allocations: 7.75 kB / 0.5228 GB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.601e-06/0.3679, allocations: 2.375 kB / 0.5228 GB, free: 3.898 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.3681, allocations: 196.5 kB / 0.523 GB, free: 3.781 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3681, allocations: 64 / 0.523 GB, free: 3.781 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000261/0.3683, allocations: 41.97 kB / 0.5231 GB, free: 3.773 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.0004174/0.3687, allocations: 0.7645 MB / 0.5238 GB, free: 3.062 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.3689, allocations: 74.3 kB / 0.5239 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3689, allocations: 0 / 0.5239 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.062e-05/0.369, allocations: 33.47 kB / 0.5239 GB, free: 3.023 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.3694, allocations: 49.95 kB / 0.524 GB, free: 3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.3718, allocations: 2.309 MB / 0.5262 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001927/0.372, allocations: 0.7344 MB / 0.5269 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.3721, allocations: 31.58 kB / 0.527 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.3722, allocations: 64.89 kB / 0.527 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3722, allocations: 4 kB / 0.527 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03223/0.4045, allocations: 4.684 MB / 0.5316 GB, free: 0 / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.813, allocations: 1.781 kB / 0.5316 GB, free: 0 / 382.1 MB " [Timeout remaining time 651] (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: 11.50621201400645] Failed to read output from testmodel.py, exit status != 0: 8.88665347197093 8.913372624 8.54604592 Calling exit ...