Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.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.001652/0.001652, 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.00231/0.00231, allocations: 211.9 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.109/0.109, allocations: 24.03 MB / 337.2 MB, free: 11.45 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_steps,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_steps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps,fileNamePrefix="AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_steps",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.003432/0.003432, allocations: 64.09 kB / 474.6 MB, free: 5.641 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3461, allocations: 59.58 MB / 0.5217 GB, free: 10.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.001996/0.3481, allocations: 0.8252 MB / 0.5225 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002152/0.3483, allocations: 69.89 kB / 0.5226 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.199e-05/0.3484, allocations: 1.125 kB / 0.5226 GB, free: 9.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.3484, allocations: 10.72 kB / 0.5226 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.3485, allocations: 32.59 kB / 0.5226 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.164e-05/0.3486, allocations: 20.48 kB / 0.5226 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.3487, allocations: 98.34 kB / 0.5227 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3488, allocations: 15.27 kB / 0.5227 GB, free: 9.852 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.55e-05/0.3489, allocations: 42.36 kB / 0.5228 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.361e-05/0.349, allocations: 46.81 kB / 0.5228 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.349, allocations: 9.656 kB / 0.5228 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.945e-05/0.349, allocations: 10.12 kB / 0.5228 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.3491, allocations: 32.72 kB / 0.5229 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.864e-05/0.3491, allocations: 40.16 kB / 0.5229 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.3492, allocations: 88.03 kB / 0.523 GB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3492, allocations: 0 / 0.523 GB, free: 9.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3492, allocations: 3.938 kB / 0.523 GB, free: 9.727 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.3492, allocations: 0.9688 kB / 0.523 GB, free: 9.727 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.0006418/0.3499, allocations: 361.3 kB / 0.5233 GB, free: 9.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3499, allocations: 11.14 kB / 0.5233 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.296e-05/0.35, allocations: 42.12 kB / 0.5234 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.35, allocations: 10.36 kB / 0.5234 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001516/0.3501, allocations: 149.2 kB / 0.5235 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.3502, allocations: 3.5 kB / 0.5235 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.3502, allocations: 9.453 kB / 0.5235 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.3504, allocations: 80.17 kB / 0.5236 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3504, allocations: 3.938 kB / 0.5236 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3504, allocations: 5.156 kB / 0.5236 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3504, allocations: 1.891 kB / 0.5236 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3505, allocations: 42.47 kB / 0.5237 GB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006121/0.3511, allocations: 344.7 kB / 0.524 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.3512, allocations: 47.27 kB / 0.524 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.277e-05/0.3513, allocations: 29.77 kB / 0.5241 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.3513, allocations: 4 kB / 0.5241 GB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.3513, allocations: 36.89 kB / 0.5241 GB, free: 8.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3513, allocations: 1.344 kB / 0.5241 GB, free: 8.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002809/0.3516, allocations: 101.1 kB / 0.5242 GB, free: 8.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.3516, allocations: 53.08 kB / 0.5243 GB, free: 8.621 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.3518, allocations: 179.3 kB / 0.5244 GB, free: 8.492 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.3518, allocations: 25.7 kB / 0.5245 GB, free: 8.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.387e-05/0.3518, allocations: 114 kB / 0.5246 GB, free: 8.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.3519, allocations: 24.22 kB / 0.5246 GB, free: 8.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.959e-05/0.3519, allocations: 28.03 kB / 0.5246 GB, free: 8.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.254e-05/0.3519, allocations: 320.9 kB / 0.5249 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.827e-05/0.352, allocations: 28.77 kB / 0.525 GB, free: 7.984 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.3521, allocations: 54.98 kB / 0.525 GB, free: 7.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.3522, allocations: 85.67 kB / 0.5251 GB, free: 7.871 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3522, allocations: 5.062 kB / 0.5251 GB, free: 7.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002052/0.3524, allocations: 119.1 kB / 0.5252 GB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3525, allocations: 5.344 kB / 0.5252 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.3525, allocations: 1.031 kB / 0.5252 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.3525, allocations: 2.156 kB / 0.5252 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3526, allocations: 25.53 kB / 0.5252 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3526, allocations: 1.422 kB / 0.5252 GB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.915e-05/0.3527, allocations: 20.27 kB / 0.5253 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.3527, allocations: 11.36 kB / 0.5253 GB, free: 7.777 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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.499e-05/0.3528, allocations: 121.4 kB / 0.5254 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.3528, allocations: 7.859 kB / 0.5254 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.3528, allocations: 19.47 kB / 0.5254 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.3528, allocations: 0 / 0.5254 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3528, allocations: 1.531 kB / 0.5254 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.3528, allocations: 4.453 kB / 0.5254 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.353, allocations: 159.8 kB / 0.5256 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.353, allocations: 0 / 0.5256 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001315/0.3531, allocations: 27.5 kB / 0.5256 GB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.3531, allocations: 4 kB / 0.5256 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3531, allocations: 0.8438 kB / 0.5256 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3531, allocations: 1.031 kB / 0.5256 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3531, allocations: 0 / 0.5256 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.3534, allocations: 205.5 kB / 0.5258 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.626e-05/0.3534, allocations: 10.88 kB / 0.5258 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.3535, allocations: 7.109 kB / 0.5258 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.3536, allocations: 1.062 kB / 0.5258 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.3536, allocations: 12.25 kB / 0.5258 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.3536, allocations: 8.828 kB / 0.5258 GB, free: 7.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.855e-05/0.3537, allocations: 129 kB / 0.526 GB, free: 7.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3537, allocations: 0 / 0.526 GB, free: 7.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.3539, allocations: 18.36 kB / 0.526 GB, free: 7.172 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 (5): * Single equations (assignments): 5 * 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.0004038/0.3543, allocations: 0.7288 MB / 0.5267 GB, free: 6.484 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001942/0.3545, allocations: 64.14 kB / 0.5267 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3545, allocations: 1.469 kB / 0.5268 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.411e-05/0.3546, allocations: 24.62 kB / 0.5268 GB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3549, allocations: 12.62 kB / 0.5268 GB, free: 6.445 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.3566, allocations: 1.766 MB / 0.5285 GB, free: 4.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.917e-05/0.3567, allocations: 87.73 kB / 0.5286 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.408e-05/0.3567, allocations: 10.02 kB / 0.5286 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.493e-05/0.3568, allocations: 31.05 kB / 0.5286 GB, free: 4.883 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3568, allocations: 0 / 0.5286 GB, free: 4.883 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.386, allocations: 2.912 MB / 0.5315 GB, free: 3.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/11.32, allocations: 4.984 kB / 0.5315 GB, free: 3.977 MB / 382.1 MB " [Timeout remaining time 649] (rm -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe ; mkfifo AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe >> ../files/AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_steps_fmu --startTime=0 --stopTime=864000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_steps.fmu > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.848630900029093] Failed to read output from testmodel.py, exit status != 0: 11.430714936926961 11.448671286 11.096283324 Calling exit ...