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.001712/0.001712, allocations: 103 kB / 16.45 MB, free: 6.449 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.001681/0.001681, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.451/1.451, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.1083/0.1083, allocations: 24.12 MB / 333 MB, free: 12.64 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.002098/0.002098, allocations: 63.91 kB / 468.6 MB, free: 8.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3063, allocations: 59.59 MB / 0.5158 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL_steps): time 0.001829/0.3081, allocations: 0.848 MB / 0.5166 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002072/0.3083, allocations: 78.33 kB / 0.5167 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.352e-05/0.3084, allocations: 4.594 kB / 0.5167 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.843e-05/0.3084, allocations: 9.469 kB / 0.5167 GB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.3085, allocations: 28.75 kB / 0.5167 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.889e-05/0.3086, allocations: 16.8 kB / 0.5167 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3087, allocations: 98.02 kB / 0.5168 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.289e-05/0.3088, allocations: 15.89 kB / 0.5168 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.244e-05/0.3088, allocations: 54.36 kB / 0.5169 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.309, allocations: 50.77 kB / 0.5169 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.54e-05/0.309, allocations: 14.09 kB / 0.517 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.895e-05/0.309, allocations: 10.25 kB / 0.517 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.309, allocations: 19.86 kB / 0.517 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.844e-05/0.3091, allocations: 44.14 kB / 0.517 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.3092, allocations: 95.38 kB / 0.5171 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3092, allocations: 0 / 0.5171 GB, free: 9.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3092, allocations: 0 / 0.5171 GB, free: 9.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.3092, allocations: 0 / 0.5171 GB, free: 9.262 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.0006181/0.3098, allocations: 435.4 kB / 0.5175 GB, free: 8.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.3099, allocations: 9.469 kB / 0.5175 GB, free: 8.859 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.788e-05/0.3099, allocations: 39 kB / 0.5176 GB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.16e-05/0.3099, allocations: 10.36 kB / 0.5176 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.3101, allocations: 203.8 kB / 0.5178 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.3101, allocations: 11.16 kB / 0.5178 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.3101, allocations: 9.188 kB / 0.5178 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.3103, allocations: 80.92 kB / 0.5179 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.3103, allocations: 4.734 kB / 0.5179 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.3103, allocations: 0 / 0.5179 GB, free: 8.527 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.3103, allocations: 5.562 kB / 0.5179 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.3104, allocations: 42.95 kB / 0.5179 GB, free: 8.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005877/0.311, allocations: 398.5 kB / 0.5183 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.3111, allocations: 51.17 kB / 0.5184 GB, free: 8.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.377e-05/0.3112, allocations: 25.17 kB / 0.5184 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.3112, allocations: 2.141 kB / 0.5184 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.3112, allocations: 35.78 kB / 0.5184 GB, free: 8.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3112, allocations: 0 / 0.5184 GB, free: 8.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000282/0.3115, allocations: 101.9 kB / 0.5185 GB, free: 8.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.899e-05/0.3115, allocations: 52.56 kB / 0.5186 GB, free: 7.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.3117, allocations: 177.9 kB / 0.5187 GB, free: 7.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.615e-06/0.3117, allocations: 25.7 kB / 0.5188 GB, free: 7.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.3117, allocations: 117 kB / 0.5189 GB, free: 7.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.3118, allocations: 16.78 kB / 0.5189 GB, free: 7.676 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.898e-05/0.3118, allocations: 31.8 kB / 0.5189 GB, free: 7.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.917e-05/0.3118, allocations: 320.4 kB / 0.5192 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.3119, allocations: 24.48 kB / 0.5192 GB, free: 7.324 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/0.312, allocations: 61.19 kB / 0.5193 GB, free: 7.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.3121, allocations: 85.12 kB / 0.5194 GB, free: 7.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3121, allocations: 1.312 kB / 0.5194 GB, free: 7.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002021/0.3123, allocations: 122.3 kB / 0.5195 GB, free: 7.133 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3123, allocations: 10.31 kB / 0.5195 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3123, allocations: 1.656 kB / 0.5195 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3124, allocations: 2.344 kB / 0.5195 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3125, allocations: 24.39 kB / 0.5195 GB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3125, allocations: 9.062 kB / 0.5195 GB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.059e-05/0.3126, allocations: 16.97 kB / 0.5196 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3126, allocations: 4.281 kB / 0.5196 GB, free: 7.109 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.547e-05/0.3127, allocations: 119 kB / 0.5197 GB, free: 6.988 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.382e-05/0.3127, allocations: 8.953 kB / 0.5197 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.3127, allocations: 16.66 kB / 0.5197 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3127, allocations: 5.25 kB / 0.5197 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3128, allocations: 0 / 0.5197 GB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.3128, allocations: 4.453 kB / 0.5197 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3129, allocations: 203.2 kB / 0.5199 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3129, allocations: 0.5625 kB / 0.5199 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3131, allocations: 17.61 kB / 0.5199 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3131, allocations: 5.312 kB / 0.5199 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.3131, allocations: 0 / 0.5199 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3131, allocations: 2.062 kB / 0.5199 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3131, allocations: 4 kB / 0.5199 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.3134, allocations: 207.7 kB / 0.5201 GB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.3134, allocations: 89.69 kB / 0.5202 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.3134, allocations: 1.562 kB / 0.5202 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3135, allocations: 2.25 kB / 0.5202 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.939e-05/0.3136, allocations: 7.625 kB / 0.5202 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.3136, allocations: 1.25 kB / 0.5202 GB, free: 6.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.578e-05/0.3136, allocations: 139.2 kB / 0.5204 GB, free: 6.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3136, allocations: 0 / 0.5204 GB, free: 6.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002397/0.3139, allocations: 21.62 kB / 0.5204 GB, free: 6.371 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.0003849/0.3143, allocations: 0.7369 MB / 0.5211 GB, free: 5.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001933/0.3145, allocations: 60.33 kB / 0.5212 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3145, allocations: 0 / 0.5212 GB, free: 5.656 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.619e-05/0.3145, allocations: 23.81 kB / 0.5212 GB, free: 5.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.3148, allocations: 12.33 kB / 0.5212 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.3165, allocations: 1.77 MB / 0.5229 GB, free: 4.172 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.3166, allocations: 0.6991 MB / 0.5236 GB, free: 3.477 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.706e-05/0.3166, allocations: 9.844 kB / 0.5236 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.453e-05/0.3167, allocations: 30.64 kB / 0.5236 GB, free: 3.449 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3167, allocations: 0 / 0.5236 GB, free: 3.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02592/0.3426, allocations: 2.367 MB / 0.526 GB, free: 3.023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.981/8.324, allocations: 5.359 kB / 0.526 GB, free: 3.02 MB / 382.1 MB " [Timeout remaining time 652] (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: 17.34132696199231] Failed to read output from testmodel.py, exit status != 0: 8.390851184958592 8.403679211 8.091594332 Calling exit ...