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.001243/0.001243, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002144/0.002144, allocations: 215 kB / 22.25 MB, free: 5.105 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.376/1.376, allocations: 230.6 MB / 256 MB, free: 7.836 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.1027/0.1027, allocations: 24.12 MB / 336.6 MB, free: 11.25 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_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: 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.001951/0.001951, allocations: 71.89 kB / 474 MB, free: 5.473 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3104, allocations: 59.61 MB / 0.5211 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.002201/0.3126, allocations: 0.8276 MB / 0.5219 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002471/0.3128, allocations: 74.91 kB / 0.522 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.968e-05/0.3129, allocations: 0.9688 kB / 0.522 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.764e-05/0.3129, allocations: 8.625 kB / 0.522 GB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.3131, allocations: 29.41 kB / 0.522 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001067/0.3132, allocations: 17.67 kB / 0.522 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.3133, allocations: 98.12 kB / 0.5221 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.3134, allocations: 23.25 kB / 0.5222 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.3135, allocations: 45.78 kB / 0.5222 GB, free: 9.84 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.3136, allocations: 54.97 kB / 0.5222 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.853e-05/0.3136, allocations: 9.656 kB / 0.5223 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.117e-05/0.3137, allocations: 10.88 kB / 0.5223 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.3137, allocations: 23.27 kB / 0.5223 GB, free: 9.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.3138, allocations: 36.98 kB / 0.5223 GB, free: 9.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.3139, allocations: 91.38 kB / 0.5224 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3139, allocations: 1.156 kB / 0.5224 GB, free: 9.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3139, allocations: 0 / 0.5224 GB, free: 9.738 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.3139, allocations: 0 / 0.5224 GB, free: 9.738 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.0007126/0.3147, allocations: 362.4 kB / 0.5228 GB, free: 9.426 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3147, allocations: 13.92 kB / 0.5228 GB, free: 9.422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.382e-05/0.3147, allocations: 39.22 kB / 0.5228 GB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.3148, allocations: 8.859 kB / 0.5228 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3149, allocations: 153.7 kB / 0.523 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3149, allocations: 2.469 kB / 0.523 GB, free: 9.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.315, allocations: 8.969 kB / 0.523 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.3152, allocations: 84.89 kB / 0.5231 GB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.3152, allocations: 3.938 kB / 0.5231 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3152, allocations: 2.156 kB / 0.5231 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3152, allocations: 1.375 kB / 0.5231 GB, free: 9.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.3153, allocations: 39.22 kB / 0.5231 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006183/0.3159, allocations: 347.8 kB / 0.5234 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3161, allocations: 50.14 kB / 0.5235 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.197e-05/0.3161, allocations: 22.5 kB / 0.5235 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.3161, allocations: 0 / 0.5235 GB, free: 8.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.3162, allocations: 37.5 kB / 0.5235 GB, free: 8.762 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.3162, allocations: 0 / 0.5235 GB, free: 8.762 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003036/0.3165, allocations: 105.8 kB / 0.5236 GB, free: 8.695 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.3165, allocations: 53.17 kB / 0.5237 GB, free: 8.633 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.3166, allocations: 174.6 kB / 0.5239 GB, free: 8.508 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.498e-06/0.3166, allocations: 34.67 kB / 0.5239 GB, free: 8.469 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.642e-05/0.3167, allocations: 112.4 kB / 0.524 GB, free: 8.363 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3167, allocations: 21.42 kB / 0.524 GB, free: 8.348 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3168, allocations: 26.47 kB / 0.524 GB, free: 8.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.3168, allocations: 320.8 kB / 0.5243 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.3169, allocations: 25.48 kB / 0.5244 GB, free: 8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.317, allocations: 54.67 kB / 0.5244 GB, free: 7.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.3171, allocations: 90.95 kB / 0.5245 GB, free: 7.883 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.3171, allocations: 0 / 0.5245 GB, free: 7.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002022/0.3173, allocations: 117.6 kB / 0.5246 GB, free: 7.816 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3173, allocations: 7.219 kB / 0.5246 GB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.3173, allocations: 5.531 kB / 0.5246 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.3173, allocations: 1.906 kB / 0.5246 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.3175, allocations: 23.78 kB / 0.5247 GB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.3175, allocations: 6.984 kB / 0.5247 GB, free: 7.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/0.3176, allocations: 20.62 kB / 0.5247 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.3176, allocations: 2.75 kB / 0.5247 GB, free: 7.793 MB / 382.1 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 5.868e-05/0.3177, allocations: 116.2 kB / 0.5248 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.3177, allocations: 7.891 kB / 0.5248 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.498e-05/0.3177, allocations: 17.09 kB / 0.5248 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3177, allocations: 1.438 kB / 0.5248 GB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.3177, allocations: 4 kB / 0.5248 GB, free: 7.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.3177, allocations: 12.47 kB / 0.5248 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.3179, allocations: 158.8 kB / 0.525 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3179, allocations: 0.8438 kB / 0.525 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001408/0.318, allocations: 18.72 kB / 0.525 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.318, allocations: 1.469 kB / 0.525 GB, free: 7.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.318, allocations: 4 kB / 0.525 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.318, allocations: 5.312 kB / 0.525 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.318, allocations: 0 / 0.525 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000255/0.3183, allocations: 209.1 kB / 0.5252 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.358e-05/0.3183, allocations: 11.69 kB / 0.5252 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.3183, allocations: 5.031 kB / 0.5252 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3184, allocations: 5.25 kB / 0.5252 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.602e-05/0.3185, allocations: 10.61 kB / 0.5253 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.3185, allocations: 2.438 kB / 0.5253 GB, free: 7.285 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.865e-05/0.3186, allocations: 132 kB / 0.5254 GB, free: 7.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3186, allocations: 1.094 kB / 0.5254 GB, free: 7.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002306/0.3188, allocations: 16.86 kB / 0.5254 GB, free: 7.188 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 (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.0003937/0.3192, allocations: 0.7361 MB / 0.5261 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.3194, allocations: 60.58 kB / 0.5262 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3194, allocations: 0 / 0.5262 GB, free: 6.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.567e-05/0.3195, allocations: 20.67 kB / 0.5262 GB, free: 6.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.3197, allocations: 13.75 kB / 0.5262 GB, free: 6.461 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.3215, allocations: 1.775 MB / 0.5279 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.422e-05/0.3215, allocations: 87.69 kB / 0.528 GB, free: 4.922 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.711e-05/0.3216, allocations: 10.66 kB / 0.528 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.028e-05/0.3216, allocations: 30.22 kB / 0.5281 GB, free: 4.895 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3216, allocations: 0 / 0.5281 GB, free: 4.895 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02809/0.3497, allocations: 2.94 MB / 0.5309 GB, free: 4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.52, allocations: 7.5 kB / 0.5309 GB, free: 3.996 MB / 382.1 MB " [Timeout remaining time 649] (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: 19.430073795985663] Failed to read output from testmodel.py, exit status != 0: 10.625646781991236 10.646937764 10.328616245 Calling exit ...