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.001268/0.001268, 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.001481/0.001481, allocations: 222.5 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.793 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.1035/0.1035, allocations: 24.13 MB / 336.6 MB, free: 11.34 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.001975/0.001975, allocations: 63.91 kB / 474 MB, free: 5.5 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3195, allocations: 59.6 MB / 0.5211 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.001895/0.3214, allocations: 0.8168 MB / 0.5219 GB, free: 10 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002343/0.3216, allocations: 82.12 kB / 0.522 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.479e-05/0.3217, allocations: 1.125 kB / 0.522 GB, free: 9.945 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.469e-05/0.3217, allocations: 6.391 kB / 0.522 GB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.3219, allocations: 33.28 kB / 0.522 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.834e-05/0.3219, allocations: 21.55 kB / 0.522 GB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.3221, allocations: 102.5 kB / 0.5221 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.3222, allocations: 18.84 kB / 0.5221 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.61e-05/0.3223, allocations: 42.98 kB / 0.5222 GB, free: 9.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.692e-05/0.3224, allocations: 55.5 kB / 0.5222 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.3224, allocations: 10.62 kB / 0.5222 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.788e-05/0.3224, allocations: 8.781 kB / 0.5223 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.13e-05/0.3224, allocations: 24.84 kB / 0.5223 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.3225, allocations: 35.7 kB / 0.5223 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00015/0.3226, allocations: 93.23 kB / 0.5224 GB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3226, allocations: 4 kB / 0.5224 GB, free: 9.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3226, allocations: 0 / 0.5224 GB, free: 9.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.3226, allocations: 1.125 kB / 0.5224 GB, free: 9.719 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.0006366/0.3233, allocations: 357.9 kB / 0.5227 GB, free: 9.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.3233, allocations: 13.73 kB / 0.5228 GB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.3234, allocations: 38.59 kB / 0.5228 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.3234, allocations: 10.48 kB / 0.5228 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.3235, allocations: 156.1 kB / 0.523 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.3235, allocations: 6.531 kB / 0.523 GB, free: 9.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.3236, allocations: 8.75 kB / 0.523 GB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001977/0.3238, allocations: 82.97 kB / 0.5231 GB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.3238, allocations: 4.875 kB / 0.5231 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.3238, allocations: 1.094 kB / 0.5231 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3238, allocations: 2.094 kB / 0.5231 GB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3239, allocations: 40.66 kB / 0.5231 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005303/0.3245, allocations: 338.1 kB / 0.5234 GB, free: 8.832 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002759/0.3248, allocations: 70.58 kB / 0.5235 GB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.074e-05/0.3248, allocations: 23.14 kB / 0.5235 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.3248, allocations: 9.188 kB / 0.5235 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.409e-05/0.3249, allocations: 35.17 kB / 0.5236 GB, free: 8.73 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.3249, allocations: 4 kB / 0.5236 GB, free: 8.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000327/0.3252, allocations: 99.59 kB / 0.5237 GB, free: 8.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.155e-05/0.3252, allocations: 55.62 kB / 0.5237 GB, free: 8.605 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.3254, allocations: 175.9 kB / 0.5239 GB, free: 8.473 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.3254, allocations: 25.7 kB / 0.5239 GB, free: 8.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.07e-05/0.3254, allocations: 107.3 kB / 0.524 GB, free: 8.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.3254, allocations: 26.62 kB / 0.524 GB, free: 8.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.139e-05/0.3255, allocations: 28.67 kB / 0.5241 GB, free: 8.297 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.93e-05/0.3255, allocations: 320.7 kB / 0.5244 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.449e-05/0.3256, allocations: 21.86 kB / 0.5244 GB, free: 7.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.134e-05/0.3257, allocations: 61.58 kB / 0.5244 GB, free: 7.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.3259, allocations: 84.58 kB / 0.5245 GB, free: 7.863 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.3259, allocations: 1.156 kB / 0.5245 GB, free: 7.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002259/0.3261, allocations: 115.3 kB / 0.5246 GB, free: 7.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3261, allocations: 5.344 kB / 0.5246 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.3261, allocations: 1 kB / 0.5246 GB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.3261, allocations: 6.219 kB / 0.5246 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.3263, allocations: 29.09 kB / 0.5247 GB, free: 7.789 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.3263, allocations: 5.031 kB / 0.5247 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.841e-05/0.3264, allocations: 15.23 kB / 0.5247 GB, free: 7.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3264, allocations: 3.656 kB / 0.5247 GB, free: 7.773 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 5.454e-05/0.3264, allocations: 121.9 kB / 0.5248 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.35e-05/0.3265, allocations: 8.297 kB / 0.5248 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.3267, allocations: 107.8 kB / 0.5249 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.3267, allocations: 1.25 kB / 0.5249 GB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3267, allocations: 7.938 kB / 0.5249 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3267, allocations: 1.219 kB / 0.5249 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.3268, allocations: 164.8 kB / 0.5251 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.3268, allocations: 0 / 0.5251 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001541/0.327, allocations: 21.95 kB / 0.5251 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.327, allocations: 0 / 0.5251 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.327, allocations: 1.125 kB / 0.5251 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.327, allocations: 1.406 kB / 0.5251 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.327, allocations: 7.875 kB / 0.5251 GB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.3273, allocations: 213.5 kB / 0.5253 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.3273, allocations: 24.02 kB / 0.5253 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3273, allocations: 5.266 kB / 0.5253 GB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.3274, allocations: 5.094 kB / 0.5254 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.3275, allocations: 7.234 kB / 0.5254 GB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.3275, allocations: 1.125 kB / 0.5254 GB, free: 7.203 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.395e-05/0.3276, allocations: 130.8 kB / 0.5255 GB, free: 7.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3276, allocations: 0 / 0.5255 GB, free: 7.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002353/0.3278, allocations: 19.84 kB / 0.5255 GB, free: 7.105 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.0004149/0.3282, allocations: 0.7494 MB / 0.5262 GB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.3284, allocations: 73.98 kB / 0.5263 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3285, allocations: 0 / 0.5263 GB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.3285, allocations: 32.11 kB / 0.5263 GB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3287, allocations: 6.938 kB / 0.5263 GB, free: 6.355 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.3307, allocations: 1.793 MB / 0.5281 GB, free: 4.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.627e-05/0.3308, allocations: 92.94 kB / 0.5282 GB, free: 4.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.684e-05/0.3308, allocations: 10.72 kB / 0.5282 GB, free: 4.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.182e-05/0.3309, allocations: 30.84 kB / 0.5282 GB, free: 4.781 MB / 382.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3309, allocations: 0 / 0.5282 GB, free: 4.781 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.3593, allocations: 3.069 MB / 0.5312 GB, free: 3.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.53, allocations: 1.094 kB / 0.5312 GB, free: 3.895 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 & /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: 19.49506194301648] Failed to read output from testmodel.py, exit status != 0: 10.634594469011063 10.648292625 10.322871021 Calling exit ...