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.0008283/0.0008283, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008197/0.0008197, allocations: 165.6 kB / 23.23 MB, free: 1.336 MB / 18.57 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 0.8827/0.8827, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.06161/0.06161, allocations: 18.12 MB / 278.1 MB, free: 11.53 MB / 266.7 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_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: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.223e-05, allocations: 2.281 kB / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.001511/0.001534, allocations: 0.8178 MB / 416.7 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002455/0.001779, allocations: 82.53 kB / 416.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.798e-05/0.001837, allocations: 1.375 kB / 416.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.718e-05/0.001874, allocations: 8.719 kB / 416.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.002079, allocations: 41.56 kB / 416.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.997e-05/0.002139, allocations: 22.11 kB / 416.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001199/0.002259, allocations: 96.81 kB / 416.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.002379, allocations: 23.22 kB / 416.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.167e-05/0.002461, allocations: 35.14 kB / 417 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.776e-05/0.002538, allocations: 40.95 kB / 417 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.231e-05/0.002571, allocations: 13.56 kB / 417 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.463e-05/0.002585, allocations: 9.625 kB / 417 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.002617, allocations: 24.77 kB / 417.1 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.775e-05/0.002655, allocations: 27.45 kB / 417.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.002802, allocations: 97.31 kB / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.002804, allocations: 3.938 kB / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.002806, allocations: 0 / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.00281, allocations: 0 / 417.2 MB, free: 11.58 MB / 330.7 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.0005118/0.003322, allocations: 357.4 kB / 417.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.003362, allocations: 10.8 kB / 417.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.003391, allocations: 39.16 kB / 417.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.61e-05/0.003417, allocations: 9.141 kB / 417.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001133/0.00353, allocations: 146.9 kB / 417.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.003545, allocations: 10.88 kB / 417.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.003564, allocations: 5.562 kB / 417.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.003721, allocations: 75.84 kB / 417.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.003731, allocations: 2.141 kB / 417.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.003742, allocations: 9.625 kB / 417.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.003748, allocations: 9.344 kB / 417.8 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.356e-05/0.003842, allocations: 40.3 kB / 417.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000431/0.004273, allocations: 327 kB / 418.2 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.004478, allocations: 70.36 kB / 418.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.355e-05/0.004531, allocations: 27.95 kB / 418.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/0.004548, allocations: 1.969 kB / 418.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.004562, allocations: 35.72 kB / 418.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.004563, allocations: 0 / 418.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002298/0.004793, allocations: 102.3 kB / 418.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.004814, allocations: 56.69 kB / 418.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.00494, allocations: 173.9 kB / 418.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.004949, allocations: 27.11 kB / 418.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.984e-05/0.004989, allocations: 107.5 kB / 418.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.005008, allocations: 30.06 kB / 418.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.238e-05/0.00504, allocations: 22.84 kB / 418.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.593e-05/0.005076, allocations: 328.8 kB / 419.2 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.479e-05/0.005131, allocations: 32.02 kB / 419.2 MB, free: 9.836 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.52e-05/0.005196, allocations: 51.58 kB / 419.3 MB, free: 9.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.005312, allocations: 82.09 kB / 419.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.005315, allocations: 0.5625 kB / 419.3 MB, free: 9.738 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001577/0.005472, allocations: 121.3 kB / 419.5 MB, free: 9.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.005487, allocations: 9.75 kB / 419.5 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.005494, allocations: 5.719 kB / 419.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.005507, allocations: 1.094 kB / 419.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.005593, allocations: 24.36 kB / 419.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.005599, allocations: 2.094 kB / 419.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.005647, allocations: 11.89 kB / 419.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.005656, allocations: 7.25 kB / 419.5 MB, free: 9.648 MB / 330.7 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 5.092e-05/0.005707, allocations: 123.8 kB / 419.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.974e-05/0.005726, allocations: 8.906 kB / 419.6 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.005899, allocations: 99.67 kB / 419.7 MB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.005901, allocations: 5.188 kB / 419.7 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.005906, allocations: 0 / 419.7 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.00591, allocations: 2.188 kB / 419.7 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/0.006037, allocations: 169.6 kB / 419.9 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.006038, allocations: 4 kB / 419.9 MB, free: 9.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.384e-05/0.006122, allocations: 23.86 kB / 419.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.103e-06/0.006124, allocations: 1.672 kB / 419.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.006134, allocations: 1.5 kB / 419.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.006136, allocations: 0.75 kB / 419.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.006137, allocations: 1.219 kB / 419.9 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.006332, allocations: 232.5 kB / 420.2 MB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.022e-05/0.006353, allocations: 9.562 kB / 420.2 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.006368, allocations: 6.453 kB / 420.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.907e-05/0.006417, allocations: 0.6562 kB / 420.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.00646, allocations: 5.438 kB / 420.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.006465, allocations: 1.688 kB / 420.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.645e-05/0.006532, allocations: 140.2 kB / 420.3 MB, free: 8.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006532, allocations: 0 / 420.3 MB, free: 8.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001613/0.006693, allocations: 19.8 kB / 420.3 MB, free: 8.973 MB / 330.7 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.0002921/0.006985, allocations: 0.749 MB / 421.1 MB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001486/0.007134, allocations: 66.17 kB / 421.2 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-06/0.007135, allocations: 1.094 kB / 421.2 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.49e-05/0.00718, allocations: 31.5 kB / 421.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.007352, allocations: 14.72 kB / 421.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.008701, allocations: 1.782 MB / 423 MB, free: 6.777 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.406e-05/0.008765, allocations: 89.08 kB / 423.1 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.187e-05/0.008807, allocations: 10.27 kB / 423.1 MB, free: 6.695 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.647e-05/0.008864, allocations: 32.73 kB / 423.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of SimCode: time 8.31e-07/0.008864, allocations: 0 / 423.1 MB, free: 6.672 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.02505, allocations: 3.174 MB / 426.3 MB, free: 5.695 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.682/6.707, allocations: 19.31 kB / 426.3 MB, free: 5.688 MB / 330.7 MB " [Timeout remaining time 653] (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 os._exit(0), Time elapsed: 9.081183342263103] Failed to read output from testmodel.py, exit status != 0: 6.7900245655328035 6.803226955 6.798476895 Calling exit ...