Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.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.00135/0.00135, allocations: 108.2 kB / 16.45 MB, free: 6.5 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.001556/0.001556, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.1369/0.1369, allocations: 24.11 MB / 333 MB, free: 12.62 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld Running command: "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL",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.002206/0.002206, allocations: 67.91 kB / 468.6 MB, free: 8.371 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3874, allocations: 59.56 MB / 0.5157 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.003263/0.3907, allocations: 0.8525 MB / 0.5166 GB, free: 9.551 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005235/0.3912, allocations: 90.55 kB / 0.5167 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000131/0.3913, allocations: 1.281 kB / 0.5167 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.808e-05/0.3914, allocations: 8.484 kB / 0.5167 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002986/0.3917, allocations: 33.78 kB / 0.5167 GB, free: 9.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.802e-05/0.3918, allocations: 18.14 kB / 0.5167 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.392, allocations: 105.5 kB / 0.5168 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.3921, allocations: 17.59 kB / 0.5168 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3922, allocations: 44.27 kB / 0.5169 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001085/0.3923, allocations: 56.11 kB / 0.5169 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.271e-05/0.3924, allocations: 9.812 kB / 0.5169 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.326e-05/0.3924, allocations: 10.06 kB / 0.517 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.358e-05/0.3924, allocations: 27 kB / 0.517 GB, free: 9.324 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.805e-05/0.3925, allocations: 42.36 kB / 0.517 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.3927, allocations: 90.22 kB / 0.5171 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3927, allocations: 4 kB / 0.5171 GB, free: 9.258 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3927, allocations: 1.812 kB / 0.5171 GB, free: 9.258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3927, allocations: 0 / 0.5171 GB, free: 9.258 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006594/0.3933, allocations: 434.5 kB / 0.5175 GB, free: 8.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.3934, allocations: 9.75 kB / 0.5175 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.594e-05/0.3934, allocations: 38.86 kB / 0.5176 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3935, allocations: 9.234 kB / 0.5176 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001582/0.3936, allocations: 209.2 kB / 0.5178 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3936, allocations: 7.562 kB / 0.5178 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3936, allocations: 4.562 kB / 0.5178 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.3939, allocations: 79.56 kB / 0.5179 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3939, allocations: 3.938 kB / 0.5179 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3939, allocations: 5.031 kB / 0.5179 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3939, allocations: 9.375 kB / 0.5179 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.394, allocations: 37.73 kB / 0.5179 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.3947, allocations: 381 kB / 0.5183 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003123/0.395, allocations: 70.38 kB / 0.5184 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.708e-05/0.3951, allocations: 31.27 kB / 0.5184 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.3951, allocations: 0 / 0.5184 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.3951, allocations: 36.3 kB / 0.5184 GB, free: 8.074 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.3951, allocations: 0.9688 kB / 0.5184 GB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003793/0.3955, allocations: 102.6 kB / 0.5185 GB, free: 8.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.421e-05/0.3955, allocations: 56.56 kB / 0.5186 GB, free: 7.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3958, allocations: 173.1 kB / 0.5187 GB, free: 7.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.3958, allocations: 29.7 kB / 0.5188 GB, free: 7.785 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.3958, allocations: 104.6 kB / 0.5189 GB, free: 7.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.3959, allocations: 28.72 kB / 0.5189 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-05/0.3959, allocations: 26.81 kB / 0.5189 GB, free: 7.641 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.396, allocations: 321.5 kB / 0.5192 GB, free: 7.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3961, allocations: 28.28 kB / 0.5192 GB, free: 7.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.3962, allocations: 56.58 kB / 0.5193 GB, free: 7.266 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.3964, allocations: 85.72 kB / 0.5194 GB, free: 7.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3964, allocations: 0 / 0.5194 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002788/0.3967, allocations: 120.7 kB / 0.5195 GB, free: 7.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.3967, allocations: 6.219 kB / 0.5195 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3968, allocations: 2.094 kB / 0.5195 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3968, allocations: 1.188 kB / 0.5195 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.3969, allocations: 23.64 kB / 0.5195 GB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.3969, allocations: 6.438 kB / 0.5195 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.397, allocations: 19.48 kB / 0.5196 GB, free: 7.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.3971, allocations: 4.094 kB / 0.5196 GB, free: 7.113 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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 7.412e-05/0.3971, allocations: 122.9 kB / 0.5197 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.351e-05/0.3972, allocations: 7.703 kB / 0.5197 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/0.3974, allocations: 103.6 kB / 0.5198 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3974, allocations: 0 / 0.5198 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.3974, allocations: 13.34 kB / 0.5198 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.3974, allocations: 0.7969 kB / 0.5198 GB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002025/0.3976, allocations: 205.7 kB / 0.52 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3976, allocations: 1.859 kB / 0.52 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001579/0.3978, allocations: 24.34 kB / 0.52 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3978, allocations: 0 / 0.52 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3978, allocations: 5.906 kB / 0.52 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3978, allocations: 5.031 kB / 0.52 GB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3978, allocations: 3.938 kB / 0.52 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.3981, allocations: 216.7 kB / 0.5202 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.726e-05/0.3982, allocations: 90.23 kB / 0.5203 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.3982, allocations: 5.031 kB / 0.5203 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.3983, allocations: 2.141 kB / 0.5203 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.761e-05/0.3983, allocations: 16.89 kB / 0.5203 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3984, allocations: 1.219 kB / 0.5203 GB, free: 6.406 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.3985, allocations: 131 kB / 0.5205 GB, free: 6.312 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3985, allocations: 0 / 0.5205 GB, free: 6.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.3987, allocations: 18.12 kB / 0.5205 GB, free: 6.309 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (room.Tfloor,room.Tair,room.Twall) * 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 (7): * Single equations (assignments): 7 * 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.0004957/0.3992, allocations: 0.7495 MB / 0.5212 GB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.3994, allocations: 66.56 kB / 0.5213 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3994, allocations: 0 / 0.5213 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.524e-05/0.3995, allocations: 31.45 kB / 0.5213 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.3998, allocations: 14.19 kB / 0.5213 GB, free: 5.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.4019, allocations: 1.787 MB / 0.5231 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.4021, allocations: 0.6996 MB / 0.5238 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.942e-05/0.4022, allocations: 10.09 kB / 0.5238 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.4022, allocations: 35.84 kB / 0.5238 GB, free: 3.371 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4022, allocations: 0 / 0.5238 GB, free: 3.371 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02872/0.431, allocations: 2.497 MB / 0.5262 GB, free: 2.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.91/8.341, allocations: 12.08 kB / 0.5263 GB, free: 2.922 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.sim & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL.fmu > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 26.059106121072546] Failed to read output from testmodel.py, exit status != 0: 8.409502508118749 8.423563728 8.027681524 Calling exit ...