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.0008436/0.0008436, allocations: 76.52 kB / 19.95 MB, free: 4.602 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.0009179/0.0009179, allocations: 169.2 kB / 23.23 MB, free: 1.324 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.894/0.894, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.06102/0.06102, allocations: 18.12 MB / 278.1 MB, free: 11.53 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,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: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 415.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.913e-05/2.1e-05, allocations: 2.281 kB / 415.9 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.001596/0.001617, allocations: 0.8162 MB / 416.7 MB, free: 11.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002329/0.00185, allocations: 94.61 kB / 416.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.001907, allocations: 1.375 kB / 416.8 MB, free: 11.81 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.367e-05/0.001941, allocations: 9.188 kB / 416.8 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001858/0.002127, allocations: 26.73 kB / 416.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.126e-05/0.002178, allocations: 20.64 kB / 416.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000105/0.002283, allocations: 98.19 kB / 416.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.002388, allocations: 24.16 kB / 416.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.002458, allocations: 33.62 kB / 417 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.811e-05/0.002526, allocations: 47.95 kB / 417 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.002552, allocations: 13.56 kB / 417 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.002566, allocations: 9.625 kB / 417 MB, free: 11.68 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.002591, allocations: 28.86 kB / 417.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.353e-05/0.002625, allocations: 24.28 kB / 417.1 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.002756, allocations: 92.66 kB / 417.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.002758, allocations: 0 / 417.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.00276, allocations: 1.375 kB / 417.2 MB, free: 11.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.002764, allocations: 0 / 417.2 MB, free: 11.61 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.00047/0.003234, allocations: 357 kB / 417.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.122e-05/0.003275, allocations: 10.55 kB / 417.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.835e-05/0.003303, allocations: 38.83 kB / 417.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.76e-05/0.003331, allocations: 9.625 kB / 417.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.003445, allocations: 154.3 kB / 417.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.003459, allocations: 7.375 kB / 417.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.865e-05/0.003478, allocations: 9.344 kB / 417.8 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.003626, allocations: 80.03 kB / 417.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.003634, allocations: 192 / 417.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.003644, allocations: 1.812 kB / 417.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.003649, allocations: 5.5 kB / 417.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.104e-05/0.00374, allocations: 37.41 kB / 417.9 MB, free: 11.03 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.00416, allocations: 335.3 kB / 418.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.004367, allocations: 67.34 kB / 418.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.917e-05/0.004416, allocations: 26.84 kB / 418.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.004434, allocations: 6.406 kB / 418.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.127e-05/0.004446, allocations: 31.88 kB / 418.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.004447, allocations: 0 / 418.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000232/0.004679, allocations: 110.9 kB / 418.4 MB, free: 10.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.086e-05/0.004699, allocations: 53 kB / 418.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.004819, allocations: 168.7 kB / 418.7 MB, free: 10.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.285e-06/0.004827, allocations: 31.31 kB / 418.7 MB, free: 10.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.004866, allocations: 109.3 kB / 418.8 MB, free: 10.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.004887, allocations: 29.09 kB / 418.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.39e-05/0.00492, allocations: 22.36 kB / 418.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.599e-05/0.004956, allocations: 333.4 kB / 419.2 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.247e-05/0.005009, allocations: 23.83 kB / 419.2 MB, free: 9.867 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.034e-05/0.005069, allocations: 50.02 kB / 419.2 MB, free: 9.828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.005176, allocations: 81.2 kB / 419.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005178, allocations: 5.156 kB / 419.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001478/0.005326, allocations: 125.5 kB / 419.5 MB, free: 9.691 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.005338, allocations: 5.219 kB / 419.5 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.005343, allocations: 1.125 kB / 419.5 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.005356, allocations: 2.25 kB / 419.5 MB, free: 9.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.974e-05/0.005436, allocations: 27.92 kB / 419.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.005443, allocations: 2.719 kB / 419.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.445e-05/0.005488, allocations: 10.88 kB / 419.5 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-06/0.005496, allocations: 8.312 kB / 419.5 MB, free: 9.676 MB / 330.7 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 4.678e-05/0.005543, allocations: 122.5 kB / 419.6 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.805e-05/0.005561, allocations: 8.938 kB / 419.6 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.005713, allocations: 107.1 kB / 419.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.005715, allocations: 2.188 kB / 419.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.005723, allocations: 256 / 419.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.005727, allocations: 2.188 kB / 419.7 MB, free: 9.477 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.005847, allocations: 169.2 kB / 419.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.005849, allocations: 0 / 419.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.231e-05/0.005931, allocations: 21.28 kB / 419.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.005934, allocations: 4.609 kB / 419.9 MB, free: 9.297 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.005944, allocations: 5.562 kB / 419.9 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.005946, allocations: 0.5625 kB / 419.9 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.005946, allocations: 0 / 419.9 MB, free: 9.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.006138, allocations: 229.1 kB / 420.2 MB, free: 9.113 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.006158, allocations: 9.672 kB / 420.2 MB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.006173, allocations: 5.094 kB / 420.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.867e-05/0.006221, allocations: 1.812 kB / 420.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.006258, allocations: 5.391 kB / 420.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.006262, allocations: 1.875 kB / 420.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.263e-05/0.006325, allocations: 140.7 kB / 420.3 MB, free: 9.004 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006325, allocations: 1.031 kB / 420.3 MB, free: 9.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001563/0.006481, allocations: 18.12 kB / 420.3 MB, free: 9 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 (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.0002682/0.006749, allocations: 0.7456 MB / 421.1 MB, free: 8.305 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.00689, allocations: 67.31 kB / 421.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.006892, allocations: 0 / 421.2 MB, free: 8.281 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.006934, allocations: 28.55 kB / 421.2 MB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001642/0.007098, allocations: 15.95 kB / 421.2 MB, free: 8.262 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.008382, allocations: 1.779 MB / 423 MB, free: 6.812 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.025e-05/0.008432, allocations: 92.5 kB / 423.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.734e-05/0.008469, allocations: 11.38 kB / 423.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.008522, allocations: 31.78 kB / 423.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of SimCode: time 4.7e-07/0.008523, allocations: 1.219 kB / 423.1 MB, free: 6.703 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.02529, allocations: 3.178 MB / 426.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.633, allocations: 11.73 kB / 426.3 MB, free: 5.723 MB / 330.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_case_studies_HVAC_floor_OL_fmu --startTime=0 --stopTime=864000 --stepSize=1 --timeout=50 --tolerance=1e-06 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: 12.11965264286846] Failed to read output from testmodel.py, exit status != 0: 6.7114562429487705 6.719064972 6.714443024 Calling exit ...