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.001727/0.001727, 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.001469/0.001469, allocations: 209 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.1077/0.1077, allocations: 24.04 MB / 337.2 MB, free: 11.44 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.002063/0.002063, allocations: 71.89 kB / 474.6 MB, free: 5.629 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3593, allocations: 59.57 MB / 0.5217 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.002168/0.3614, allocations: 0.8339 MB / 0.5225 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002461/0.3617, allocations: 74.81 kB / 0.5226 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.667e-05/0.3617, allocations: 1.031 kB / 0.5226 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.724e-05/0.3618, allocations: 9.328 kB / 0.5226 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.3619, allocations: 24.25 kB / 0.5226 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001053/0.362, allocations: 18.19 kB / 0.5226 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3621, allocations: 105.7 kB / 0.5227 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.3623, allocations: 18.25 kB / 0.5227 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.514e-05/0.3623, allocations: 42.88 kB / 0.5228 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.3624, allocations: 47.98 kB / 0.5228 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.3625, allocations: 10.22 kB / 0.5228 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.15e-05/0.3625, allocations: 9.094 kB / 0.5228 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.3625, allocations: 28.61 kB / 0.5229 GB, free: 9.789 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.276e-05/0.3626, allocations: 31.83 kB / 0.5229 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001622/0.3627, allocations: 92.23 kB / 0.523 GB, free: 9.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3627, allocations: 0 / 0.523 GB, free: 9.734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.654e-06/0.3627, allocations: 0 / 0.523 GB, free: 9.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3627, allocations: 4 kB / 0.523 GB, free: 9.73 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.0006698/0.3634, allocations: 359.2 kB / 0.5233 GB, free: 9.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3634, allocations: 10.2 kB / 0.5233 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.916e-05/0.3635, allocations: 34.53 kB / 0.5234 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.3635, allocations: 14.23 kB / 0.5234 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.3637, allocations: 160.1 kB / 0.5235 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3637, allocations: 4.594 kB / 0.5235 GB, free: 9.215 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.3637, allocations: 8.5 kB / 0.5235 GB, free: 9.211 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.3639, allocations: 80.11 kB / 0.5236 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3639, allocations: 5.031 kB / 0.5236 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3639, allocations: 0 / 0.5236 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3639, allocations: 2.141 kB / 0.5236 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.3641, allocations: 39.31 kB / 0.5237 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005757/0.3646, allocations: 347.8 kB / 0.524 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.3647, allocations: 43.45 kB / 0.524 GB, free: 8.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.146e-05/0.3648, allocations: 25.88 kB / 0.5241 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.187e-06/0.3648, allocations: 1.469 kB / 0.5241 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.3648, allocations: 40.81 kB / 0.5241 GB, free: 8.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3648, allocations: 0 / 0.5241 GB, free: 8.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002749/0.3651, allocations: 105.3 kB / 0.5242 GB, free: 8.691 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/0.3651, allocations: 52.25 kB / 0.5243 GB, free: 8.629 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001508/0.3653, allocations: 179.9 kB / 0.5244 GB, free: 8.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.3653, allocations: 33.64 kB / 0.5245 GB, free: 8.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.3653, allocations: 114.2 kB / 0.5246 GB, free: 8.355 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.3654, allocations: 20.72 kB / 0.5246 GB, free: 8.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.76e-05/0.3654, allocations: 28.58 kB / 0.5246 GB, free: 8.316 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.54e-05/0.3654, allocations: 321 kB / 0.5249 GB, free: 8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.027e-05/0.3655, allocations: 24.52 kB / 0.5249 GB, free: 7.992 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.3656, allocations: 61.11 kB / 0.525 GB, free: 7.938 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.3657, allocations: 82.36 kB / 0.5251 GB, free: 7.875 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3657, allocations: 0 / 0.5251 GB, free: 7.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001957/0.3659, allocations: 115.6 kB / 0.5252 GB, free: 7.812 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.3659, allocations: 9.781 kB / 0.5252 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3659, allocations: 1.25 kB / 0.5252 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.3659, allocations: 2.078 kB / 0.5252 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.3661, allocations: 27.75 kB / 0.5252 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3661, allocations: 3.266 kB / 0.5252 GB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.017e-05/0.3662, allocations: 20.58 kB / 0.5253 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.276e-06/0.3662, allocations: 2.938 kB / 0.5253 GB, free: 7.789 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.743e-05/0.3663, allocations: 115.5 kB / 0.5254 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.066e-05/0.3663, allocations: 8.859 kB / 0.5254 GB, free: 7.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.3663, allocations: 20.78 kB / 0.5254 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3663, allocations: 5.25 kB / 0.5254 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3663, allocations: 0 / 0.5254 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3663, allocations: 4.688 kB / 0.5254 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.3665, allocations: 162.5 kB / 0.5256 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3665, allocations: 1.312 kB / 0.5256 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/0.3666, allocations: 18.36 kB / 0.5256 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3666, allocations: 0 / 0.5256 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.3666, allocations: 9.094 kB / 0.5256 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3666, allocations: 0.75 kB / 0.5256 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3666, allocations: 1.438 kB / 0.5256 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3669, allocations: 203 kB / 0.5258 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.3669, allocations: 13.06 kB / 0.5258 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.3669, allocations: 2.047 kB / 0.5258 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.3671, allocations: 2.781 kB / 0.5258 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.097e-05/0.3671, allocations: 19.55 kB / 0.5258 GB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.3671, allocations: 2.188 kB / 0.5258 GB, free: 7.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.556e-05/0.3672, allocations: 132.5 kB / 0.5259 GB, free: 7.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3672, allocations: 1.125 kB / 0.526 GB, free: 7.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.3674, allocations: 16.45 kB / 0.526 GB, free: 7.184 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.0003998/0.3678, allocations: 0.7379 MB / 0.5267 GB, free: 6.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001885/0.368, allocations: 64.41 kB / 0.5267 GB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.368, allocations: 0 / 0.5267 GB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.176e-05/0.3681, allocations: 26.12 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.0002324/0.3683, allocations: 16.2 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.001692/0.37, allocations: 1.761 MB / 0.5285 GB, free: 4.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.452e-05/0.3701, allocations: 91.42 kB / 0.5286 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.978e-05/0.3701, allocations: 6.734 kB / 0.5286 GB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.3702, allocations: 30.06 kB / 0.5286 GB, free: 4.887 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3702, allocations: 1.469 kB / 0.5286 GB, free: 4.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.3987, allocations: 2.907 MB / 0.5315 GB, free: 3.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.48, allocations: 1.094 kB / 0.5315 GB, free: 3.988 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps_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_steps.fmu > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 29.13532031001523] Failed to read output from testmodel.py, exit status != 0: 11.593782633077353 11.615163039 11.248430276 Calling exit ...