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.001905/0.001905, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.002638/0.002638, allocations: 209.1 kB / 23.01 MB, free: 4.992 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.1076/0.1076, allocations: 24.04 MB / 337.2 MB, free: 11.36 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_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.00221/0.00221, allocations: 63.91 kB / 474.6 MB, free: 5.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3522, allocations: 59.58 MB / 0.5217 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.002539/0.3547, allocations: 0.8164 MB / 0.5225 GB, free: 9.988 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.355, allocations: 86.3 kB / 0.5226 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.214e-05/0.3551, allocations: 5.219 kB / 0.5226 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.83e-05/0.3551, allocations: 8.625 kB / 0.5226 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001981/0.3553, allocations: 27.02 kB / 0.5226 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.451e-05/0.3554, allocations: 20.7 kB / 0.5226 GB, free: 9.891 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3555, allocations: 97.77 kB / 0.5227 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.3556, allocations: 20.02 kB / 0.5227 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.222e-05/0.3557, allocations: 46.53 kB / 0.5228 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.083e-05/0.3558, allocations: 52.66 kB / 0.5228 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.724e-05/0.3558, allocations: 8.906 kB / 0.5228 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.213e-05/0.3558, allocations: 9.594 kB / 0.5228 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.578e-05/0.3559, allocations: 20.09 kB / 0.5229 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.486e-05/0.3559, allocations: 37.17 kB / 0.5229 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.3561, allocations: 95.83 kB / 0.523 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.3561, allocations: 0 / 0.523 GB, free: 9.711 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3561, allocations: 0 / 0.523 GB, free: 9.711 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.3561, allocations: 1 kB / 0.523 GB, free: 9.711 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.0006546/0.3567, allocations: 358 kB / 0.5233 GB, free: 9.402 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.3568, allocations: 10.23 kB / 0.5233 GB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.3568, allocations: 38.78 kB / 0.5234 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.3569, allocations: 10.38 kB / 0.5234 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.357, allocations: 150.9 kB / 0.5235 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.139e-05/0.3571, allocations: 19.92 kB / 0.5235 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.792e-05/0.3571, allocations: 8.781 kB / 0.5236 GB, free: 9.184 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.3573, allocations: 76.03 kB / 0.5236 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.3573, allocations: 3.938 kB / 0.5236 GB, free: 9.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.3573, allocations: 5.156 kB / 0.5236 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3574, allocations: 1.219 kB / 0.5236 GB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3575, allocations: 36.67 kB / 0.5237 GB, free: 9.117 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006212/0.3581, allocations: 327.8 kB / 0.524 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.3584, allocations: 71.09 kB / 0.524 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.134e-05/0.3585, allocations: 26.36 kB / 0.5241 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.3586, allocations: 1.25 kB / 0.5241 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.692e-05/0.3586, allocations: 32.44 kB / 0.5241 GB, free: 8.738 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.3586, allocations: 0 / 0.5241 GB, free: 8.738 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003713/0.3589, allocations: 109.9 kB / 0.5242 GB, free: 8.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.359, allocations: 57.61 kB / 0.5243 GB, free: 8.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.3592, allocations: 170.7 kB / 0.5244 GB, free: 8.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.3592, allocations: 25.7 kB / 0.5245 GB, free: 8.445 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.713e-05/0.3592, allocations: 116.3 kB / 0.5246 GB, free: 8.336 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.739e-05/0.3593, allocations: 32.2 kB / 0.5246 GB, free: 8.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.3593, allocations: 21.31 kB / 0.5246 GB, free: 8.293 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.3594, allocations: 325 kB / 0.5249 GB, free: 7.973 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.9e-05/0.3595, allocations: 27.44 kB / 0.525 GB, free: 7.961 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.821e-05/0.3595, allocations: 49.95 kB / 0.525 GB, free: 7.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.3597, allocations: 85.95 kB / 0.5251 GB, free: 7.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3597, allocations: 4 kB / 0.5251 GB, free: 7.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002497/0.36, allocations: 122.8 kB / 0.5252 GB, free: 7.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.36, allocations: 8.125 kB / 0.5252 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.36, allocations: 1.125 kB / 0.5252 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.36, allocations: 1.438 kB / 0.5252 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001407/0.3602, allocations: 27.02 kB / 0.5252 GB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.3602, allocations: 5.969 kB / 0.5252 GB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/0.3603, allocations: 13.59 kB / 0.5253 GB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3603, allocations: 4.219 kB / 0.5253 GB, free: 7.77 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.068e-05/0.3604, allocations: 122.2 kB / 0.5254 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.189e-05/0.3604, allocations: 8.453 kB / 0.5254 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.3606, allocations: 100 kB / 0.5255 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.3606, allocations: 1.062 kB / 0.5255 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.3606, allocations: 3.938 kB / 0.5255 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.3607, allocations: 4.422 kB / 0.5255 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.3608, allocations: 163.5 kB / 0.5256 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.3608, allocations: 0.6094 kB / 0.5256 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.361, allocations: 19.81 kB / 0.5257 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.361, allocations: 9.312 kB / 0.5257 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.361, allocations: 4.656 kB / 0.5257 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.361, allocations: 1.469 kB / 0.5257 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.361, allocations: 3.938 kB / 0.5257 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002918/0.3613, allocations: 221.2 kB / 0.5259 GB, free: 7.219 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.765e-05/0.3613, allocations: 17.81 kB / 0.5259 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.3613, allocations: 1.5 kB / 0.5259 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3615, allocations: 0.7031 kB / 0.5259 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.483e-05/0.3615, allocations: 9.484 kB / 0.5259 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3615, allocations: 7 kB / 0.5259 GB, free: 7.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.776e-05/0.3616, allocations: 132.2 kB / 0.5261 GB, free: 7.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3616, allocations: 0 / 0.5261 GB, free: 7.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002372/0.3618, allocations: 22.48 kB / 0.5261 GB, free: 7.098 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.0004152/0.3622, allocations: 0.7451 MB / 0.5268 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.3625, allocations: 71.53 kB / 0.5269 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3625, allocations: 0 / 0.5269 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.302e-05/0.3625, allocations: 27.44 kB / 0.5269 GB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.3628, allocations: 8.156 kB / 0.5269 GB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.3649, allocations: 1.788 MB / 0.5287 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.31e-05/0.365, allocations: 93.3 kB / 0.5287 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.3651, allocations: 10.83 kB / 0.5288 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.3651, allocations: 30.62 kB / 0.5288 GB, free: 4.789 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3651, allocations: 0 / 0.5288 GB, free: 4.789 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/0.3948, allocations: 3.05 MB / 0.5318 GB, free: 3.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 2.531 kB / 0.5318 GB, free: 3.887 MB / 382.1 MB " [Timeout remaining time 648] (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: 29.40602318989113] Failed to read output from testmodel.py, exit status != 0: 11.666212785989046 11.690404804 11.329263618 Calling exit ...