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.001676/0.001676, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002088/0.002088, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.789 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.1049/0.1049, allocations: 24.12 MB / 336.6 MB, free: 11.21 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) Ignoring simflag -noemit -variableFilter=.* since it seems broken on HelloWorld 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: 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.002078/0.002078, allocations: 67.91 kB / 474 MB, free: 5.449 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3147, allocations: 59.6 MB / 0.5211 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.002299/0.317, allocations: 0.8199 MB / 0.5219 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003099/0.3173, allocations: 82.66 kB / 0.522 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.3173, allocations: 1.094 kB / 0.522 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.3173, allocations: 4.594 kB / 0.522 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.3175, allocations: 34.19 kB / 0.522 GB, free: 9.969 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.965e-05/0.3176, allocations: 17.69 kB / 0.522 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3178, allocations: 102.3 kB / 0.5221 GB, free: 9.914 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.3179, allocations: 22.7 kB / 0.5222 GB, free: 9.895 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.318, allocations: 43.02 kB / 0.5222 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.3181, allocations: 55.88 kB / 0.5222 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.3181, allocations: 9.531 kB / 0.5223 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.674e-05/0.3182, allocations: 10.19 kB / 0.5223 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.553e-05/0.3182, allocations: 24.45 kB / 0.5223 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.181e-05/0.3183, allocations: 35.66 kB / 0.5223 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.3184, allocations: 92.02 kB / 0.5224 GB, free: 9.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3184, allocations: 2.062 kB / 0.5224 GB, free: 9.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3184, allocations: 0 / 0.5224 GB, free: 9.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.3184, allocations: 0 / 0.5224 GB, free: 9.773 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.0007536/0.3192, allocations: 361.6 kB / 0.5228 GB, free: 9.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.3192, allocations: 10.92 kB / 0.5228 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.954e-05/0.3193, allocations: 37.92 kB / 0.5228 GB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.3193, allocations: 9.984 kB / 0.5228 GB, free: 9.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.3195, allocations: 156.2 kB / 0.523 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.3195, allocations: 6.875 kB / 0.523 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.3195, allocations: 9.422 kB / 0.523 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.3198, allocations: 75.88 kB / 0.523 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3198, allocations: 5.344 kB / 0.5231 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3198, allocations: 0 / 0.5231 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3198, allocations: 1.156 kB / 0.5231 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.32, allocations: 41.05 kB / 0.5231 GB, free: 9.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007482/0.3208, allocations: 334.5 kB / 0.5234 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003785/0.3212, allocations: 68.69 kB / 0.5235 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.3213, allocations: 26.69 kB / 0.5235 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.506e-05/0.3213, allocations: 9.062 kB / 0.5235 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.3213, allocations: 32.62 kB / 0.5235 GB, free: 8.797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.673e-06/0.3213, allocations: 3.938 kB / 0.5235 GB, free: 8.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004763/0.3218, allocations: 104.3 kB / 0.5236 GB, free: 8.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.3218, allocations: 60.42 kB / 0.5237 GB, free: 8.664 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000186/0.322, allocations: 168.9 kB / 0.5239 GB, free: 8.535 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.322, allocations: 29.7 kB / 0.5239 GB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.178e-05/0.3221, allocations: 114 kB / 0.524 GB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3221, allocations: 26.11 kB / 0.524 GB, free: 8.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.3222, allocations: 25.31 kB / 0.5241 GB, free: 8.352 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.843e-05/0.3222, allocations: 321.5 kB / 0.5244 GB, free: 8.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3224, allocations: 26.7 kB / 0.5244 GB, free: 8.027 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001537/0.3225, allocations: 56.12 kB / 0.5244 GB, free: 7.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002836/0.3228, allocations: 86.05 kB / 0.5245 GB, free: 7.918 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.3228, allocations: 0 / 0.5245 GB, free: 7.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002515/0.323, allocations: 117.4 kB / 0.5246 GB, free: 7.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3231, allocations: 5.688 kB / 0.5246 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3231, allocations: 1.156 kB / 0.5246 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3231, allocations: 1.125 kB / 0.5246 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.3233, allocations: 23.84 kB / 0.5247 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.3233, allocations: 6.703 kB / 0.5247 GB, free: 7.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.3234, allocations: 19.52 kB / 0.5247 GB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/0.3234, allocations: 3.469 kB / 0.5247 GB, free: 7.832 MB / 382.1 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 7.423e-05/0.3235, allocations: 122.2 kB / 0.5248 GB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.3236, allocations: 8.266 kB / 0.5248 GB, free: 7.707 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002938/0.3238, allocations: 102 kB / 0.5249 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3239, allocations: 1.859 kB / 0.5249 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3239, allocations: 5.125 kB / 0.5249 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.3239, allocations: 4.734 kB / 0.5249 GB, free: 7.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.3241, allocations: 165.6 kB / 0.5251 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3241, allocations: 7.938 kB / 0.5251 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.3243, allocations: 20.59 kB / 0.5251 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3243, allocations: 1.672 kB / 0.5251 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3243, allocations: 1.281 kB / 0.5251 GB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.3243, allocations: 4.641 kB / 0.5251 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3243, allocations: 7.875 kB / 0.5251 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.3248, allocations: 218.1 kB / 0.5253 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.228e-05/0.3248, allocations: 16.7 kB / 0.5253 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.3248, allocations: 2.047 kB / 0.5253 GB, free: 7.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.325, allocations: 5.312 kB / 0.5254 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.3251, allocations: 12.58 kB / 0.5254 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.3251, allocations: 2.531 kB / 0.5254 GB, free: 7.254 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.3252, allocations: 131.1 kB / 0.5255 GB, free: 7.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3252, allocations: 0 / 0.5255 GB, free: 7.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004457/0.3257, allocations: 18.77 kB / 0.5255 GB, free: 7.156 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 (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.0005496/0.3262, allocations: 0.7496 MB / 0.5262 GB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003019/0.3265, allocations: 69.52 kB / 0.5263 GB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3265, allocations: 192 / 0.5263 GB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3266, allocations: 37.62 kB / 0.5263 GB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003579/0.327, allocations: 5.594 kB / 0.5264 GB, free: 6.406 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002766/0.3298, allocations: 1.788 MB / 0.5281 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.58e-05/0.3298, allocations: 88.48 kB / 0.5282 GB, free: 4.871 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.239e-05/0.3299, allocations: 10.84 kB / 0.5282 GB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.101e-05/0.33, allocations: 31.94 kB / 0.5282 GB, free: 4.844 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.33, allocations: 0 / 0.5282 GB, free: 4.844 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03602/0.366, allocations: 3.071 MB / 0.5312 GB, free: 3.949 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.23, allocations: 9.969 kB / 0.5312 GB, free: 3.949 MB / 382.1 MB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_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.fmu > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 28.174084697995568] Failed to read output from testmodel.py, exit status != 0: 11.338106284994865 11.353561933 11.031839778 Calling exit ...