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.0007846/0.0007846, allocations: 76.5 kB / 19.95 MB, free: 4.617 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.001605/0.001605, allocations: 169.2 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.9229/0.9229, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.05979/0.05979, allocations: 18.13 MB / 278.1 MB, free: 11.55 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_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: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.751e-05/1.891e-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_steps): time 0.001443/0.001461, allocations: 0.8196 MB / 416.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002154/0.001677, allocations: 75.88 kB / 416.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.147e-05/0.001728, allocations: 0 / 416.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.597e-05/0.001764, allocations: 9.141 kB / 416.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001134/0.001878, allocations: 32.92 kB / 416.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.769e-05/0.001975, allocations: 18.02 kB / 416.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.00209, allocations: 100.7 kB / 416.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.0022, allocations: 19.59 kB / 416.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.278e-05/0.002262, allocations: 41.52 kB / 417 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.002347, allocations: 40.95 kB / 417 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.778e-05/0.002375, allocations: 17.56 kB / 417 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.002389, allocations: 9.625 kB / 417 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.683e-05/0.002415, allocations: 24.45 kB / 417.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.002451, allocations: 24.09 kB / 417.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.002599, allocations: 92.38 kB / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002601, allocations: 0 / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.002602, allocations: 0 / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.458e-06/0.002606, allocations: 4.734 kB / 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.0005486/0.003155, allocations: 352.2 kB / 417.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.003193, allocations: 11.03 kB / 417.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.672e-05/0.00322, allocations: 38.62 kB / 417.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.003245, allocations: 11.33 kB / 417.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.00335, allocations: 154 kB / 417.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.003365, allocations: 11.47 kB / 417.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.003385, allocations: 8 kB / 417.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.003523, allocations: 78.14 kB / 417.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.00353, allocations: 192 / 417.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.00354, allocations: 4.375 kB / 417.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.003546, allocations: 6.906 kB / 417.8 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.312e-05/0.003629, allocations: 42.25 kB / 417.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004553/0.004085, allocations: 345.4 kB / 418.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.00418, allocations: 52.03 kB / 418.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.004225, allocations: 29.73 kB / 418.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.004236, allocations: 0 / 418.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.004252, allocations: 33.34 kB / 418.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.004254, allocations: 0 / 418.3 MB, free: 10.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002176/0.004471, allocations: 93.81 kB / 418.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.004493, allocations: 53.55 kB / 418.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.004621, allocations: 176.4 kB / 418.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.004627, allocations: 30.89 kB / 418.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.004671, allocations: 112.8 kB / 418.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.004687, allocations: 24.02 kB / 418.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.004717, allocations: 32.25 kB / 418.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.093e-05/0.004748, allocations: 324.9 kB / 419.2 MB, free: 9.852 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.349e-05/0.004792, allocations: 27.31 kB / 419.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.004846, allocations: 56.05 kB / 419.2 MB, free: 9.793 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.988e-05/0.004945, allocations: 93.45 kB / 419.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004947, allocations: 0 / 419.3 MB, free: 9.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000132/0.005079, allocations: 122.1 kB / 419.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.005094, allocations: 6.656 kB / 419.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.0051, allocations: 1.906 kB / 419.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.005112, allocations: 2.344 kB / 419.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.005207, allocations: 24.84 kB / 419.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.005212, allocations: 5.156 kB / 419.5 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.242e-05/0.005255, allocations: 8.438 kB / 419.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.005262, allocations: 5.016 kB / 419.5 MB, free: 9.645 MB / 330.7 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 4.425e-05/0.005306, allocations: 130.7 kB / 419.6 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.005323, allocations: 8.109 kB / 419.6 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.269e-05/0.005346, allocations: 13.62 kB / 419.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.005349, allocations: 1.375 kB / 419.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.005354, allocations: 4 kB / 419.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.005357, allocations: 0.5625 kB / 419.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.005482, allocations: 174.5 kB / 419.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.005483, allocations: 0 / 419.8 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.021e-05/0.005573, allocations: 18.7 kB / 419.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.005574, allocations: 0.9062 kB / 419.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.005583, allocations: 0.9688 kB / 419.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.005585, allocations: 1.547 kB / 419.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.005586, allocations: 0 / 419.9 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.005766, allocations: 204.7 kB / 420.1 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.749e-05/0.005783, allocations: 8.109 kB / 420.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.005796, allocations: 2.484 kB / 420.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.917e-05/0.005845, allocations: 10.08 kB / 420.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.005884, allocations: 4.078 kB / 420.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.005888, allocations: 2.297 kB / 420.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.212e-05/0.00595, allocations: 131.9 kB / 420.2 MB, free: 9.043 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.00595, allocations: 0 / 420.2 MB, free: 9.043 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001675/0.006118, allocations: 14.09 kB / 420.2 MB, free: 9.043 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 (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.000275/0.006393, allocations: 0.7406 MB / 421 MB, free: 8.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001342/0.006527, allocations: 60.45 kB / 421 MB, free: 8.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.006528, allocations: 0 / 421 MB, free: 8.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.02e-05/0.006568, allocations: 25.03 kB / 421.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.006735, allocations: 7.266 kB / 421.1 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.008021, allocations: 1.773 MB / 422.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.596e-05/0.008097, allocations: 87.33 kB / 422.9 MB, free: 6.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.5e-05/0.008142, allocations: 10.7 kB / 422.9 MB, free: 6.766 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.008194, allocations: 30.67 kB / 423 MB, free: 6.742 MB / 330.7 MB Notification: Performance of SimCode: time 5.81e-07/0.008194, allocations: 1.156 kB / 423 MB, free: 6.742 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01715/0.02535, allocations: 3.054 MB / 426 MB, free: 5.758 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.948/6.973, allocations: 1.469 kB / 426 MB, free: 5.758 MB / 330.7 MB " [Timeout remaining time 653] (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: 19.399171138182282] Failed to read output from testmodel.py, exit status != 0: 7.053744929842651 7.062507695 7.058151025 Calling exit ...