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.0006701/0.0006701, 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.0007875/0.0007875, allocations: 173.2 kB / 23.23 MB, free: 1.332 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.742 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.06269/0.06269, allocations: 18.13 MB / 278.1 MB, free: 11.52 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.513e-06/1.513e-06, allocations: 0 / 415.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.91e-05/2.061e-05, allocations: 5.531 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.00153/0.001551, allocations: 0.8233 MB / 416.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002578/0.001809, allocations: 79.45 kB / 416.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.818e-05/0.001867, allocations: 2.812 kB / 416.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.768e-05/0.001905, allocations: 8.578 kB / 416.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001369/0.002041, allocations: 24.16 kB / 416.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001295/0.002171, allocations: 22.59 kB / 416.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.002318, allocations: 97.31 kB / 416.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.002464, allocations: 23.02 kB / 416.9 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.021e-05/0.002544, allocations: 37.47 kB / 417 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.002644, allocations: 44.58 kB / 417 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.599e-05/0.00268, allocations: 9.625 kB / 417 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.807e-05/0.002699, allocations: 9.625 kB / 417 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.002731, allocations: 32.89 kB / 417.1 MB, free: 11.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.131e-05/0.002773, allocations: 23.62 kB / 417.1 MB, free: 11.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001845/0.002957, allocations: 96.36 kB / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.002961, allocations: 0 / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.002962, allocations: 0 / 417.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.00297, allocations: 1.984 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.0006578/0.003628, allocations: 355.8 kB / 417.5 MB, free: 11.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.003685, allocations: 14.45 kB / 417.6 MB, free: 11.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.434e-05/0.00372, allocations: 38.39 kB / 417.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.112e-05/0.003761, allocations: 11.05 kB / 417.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.003917, allocations: 149.7 kB / 417.8 MB, free: 11.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.003936, allocations: 8.5 kB / 417.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.003959, allocations: 8.5 kB / 417.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.004123, allocations: 75.23 kB / 417.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.004131, allocations: 2.25 kB / 417.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.004142, allocations: 5.172 kB / 417.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.188e-06/0.004151, allocations: 5.5 kB / 417.9 MB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.523e-05/0.004236, allocations: 38.52 kB / 417.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.004719, allocations: 349.7 kB / 418.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.00483, allocations: 46.72 kB / 418.3 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.469e-05/0.004874, allocations: 25.05 kB / 418.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.004887, allocations: 1.531 kB / 418.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.004903, allocations: 33.55 kB / 418.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.823e-06/0.004905, allocations: 0 / 418.3 MB, free: 10.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000232/0.005137, allocations: 98.28 kB / 418.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.344e-05/0.005161, allocations: 52.78 kB / 418.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.005305, allocations: 185.2 kB / 418.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-06/0.005313, allocations: 25.7 kB / 418.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.005357, allocations: 113.2 kB / 418.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.005377, allocations: 21.67 kB / 418.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.712e-05/0.005414, allocations: 25.92 kB / 418.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.671e-05/0.005461, allocations: 325.8 kB / 419.2 MB, free: 9.859 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.661e-05/0.005518, allocations: 28.19 kB / 419.2 MB, free: 9.848 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.005583, allocations: 58.7 kB / 419.3 MB, free: 9.797 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.00569, allocations: 90.28 kB / 419.3 MB, free: 9.727 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.005694, allocations: 0.6875 kB / 419.3 MB, free: 9.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001609/0.005855, allocations: 119 kB / 419.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.005874, allocations: 5.891 kB / 419.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.005881, allocations: 1.031 kB / 419.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.005899, allocations: 2.531 kB / 419.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.006028, allocations: 32.27 kB / 419.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.006037, allocations: 2.25 kB / 419.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.006093, allocations: 13.81 kB / 419.5 MB, free: 9.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.006103, allocations: 3.906 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 6.213e-05/0.006165, allocations: 122.6 kB / 419.6 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.059e-05/0.006186, allocations: 7.922 kB / 419.6 MB, free: 9.516 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.94e-05/0.006215, allocations: 13.48 kB / 419.7 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.006218, allocations: 1.469 kB / 419.7 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.006225, allocations: 0.8438 kB / 419.7 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006229, allocations: 3.938 kB / 419.7 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.006376, allocations: 170.8 kB / 419.8 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.006379, allocations: 0.7031 kB / 419.8 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.006489, allocations: 22.39 kB / 419.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.006493, allocations: 0 / 419.9 MB, free: 9.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.006506, allocations: 6.328 kB / 419.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.006508, allocations: 0 / 419.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.006512, allocations: 2.234 kB / 419.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.00678, allocations: 200.2 kB / 420.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.779e-05/0.006808, allocations: 8.25 kB / 420.1 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.006827, allocations: 10.05 kB / 420.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.909e-05/0.006886, allocations: 1.922 kB / 420.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.202e-05/0.006938, allocations: 8.734 kB / 420.1 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.791e-06/0.006944, allocations: 1.406 kB / 420.1 MB, free: 9.141 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.947e-05/0.007033, allocations: 131.9 kB / 420.2 MB, free: 9.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007033, allocations: 0 / 420.2 MB, free: 9.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001699/0.007203, allocations: 17.38 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.0003389/0.007542, allocations: 0.7394 MB / 421 MB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.007708, allocations: 59.34 kB / 421 MB, free: 8.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.007711, allocations: 0 / 421 MB, free: 8.324 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.444e-05/0.007755, allocations: 24.34 kB / 421.1 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.00795, allocations: 7.25 kB / 421.1 MB, free: 8.312 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.009415, allocations: 1.778 MB / 422.8 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.72e-05/0.009483, allocations: 91.8 kB / 422.9 MB, free: 6.766 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.009533, allocations: 9.469 kB / 422.9 MB, free: 6.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.009593, allocations: 31.45 kB / 423 MB, free: 6.738 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.009594, allocations: 1.375 kB / 423 MB, free: 6.738 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01789/0.02749, allocations: 3.045 MB / 426 MB, free: 5.762 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.568/6.596, allocations: 9.109 kB / 426 MB, free: 5.754 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 & /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: 12.015015980228782] Failed to read output from testmodel.py, exit status != 0: 6.675066948868334 6.684701811 6.679859608 Calling exit ...