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.001189/0.001189, allocations: 80.45 kB / 20.71 MB, free: 3.859 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.001241/0.001241, allocations: 165.2 kB / 23.98 MB, free: 0.582 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.8873/0.8873, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.05999/0.05999, allocations: 18.13 MB / 278.8 MB, free: 11.52 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: translateModel(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL") translateModel(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=864000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 417.1 MB, free: 12.13 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.23e-05/2.411e-05, allocations: 6.281 kB / 417.1 MB, free: 12.12 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_case_studies.HVAC_floor.OL): time 0.001297/0.001322, allocations: 0.8214 MB / 417.9 MB, free: 11.61 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002076/0.001529, allocations: 89.95 kB / 418 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.937e-05/0.001578, allocations: 1.375 kB / 418 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.001611, allocations: 13.33 kB / 418 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.001785, allocations: 26.92 kB / 418.1 MB, free: 11.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.036e-05/0.001835, allocations: 24.72 kB / 418.1 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.001944, allocations: 97.91 kB / 418.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.002049, allocations: 19.47 kB / 418.2 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.429e-05/0.002124, allocations: 38.36 kB / 418.2 MB, free: 11.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.158e-05/0.002195, allocations: 44.91 kB / 418.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.684e-05/0.002222, allocations: 9.125 kB / 418.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/0.002235, allocations: 13.53 kB / 418.3 MB, free: 11.42 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.002261, allocations: 24.92 kB / 418.3 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.002295, allocations: 28 kB / 418.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.002421, allocations: 96.72 kB / 418.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.002424, allocations: 0.75 kB / 418.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.002425, allocations: 0 / 418.4 MB, free: 11.35 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.00243, allocations: 3.938 kB / 418.4 MB, free: 11.34 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.0004098/0.002839, allocations: 354.2 kB / 418.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.00287, allocations: 10.92 kB / 418.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.0029, allocations: 9.453 kB / 418.8 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001027/0.003003, allocations: 153.7 kB / 419 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.003015, allocations: 3.156 kB / 419 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.003036, allocations: 10.16 kB / 419 MB, free: 10.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/0.003172, allocations: 75 kB / 419.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.00318, allocations: 192 / 419.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.00319, allocations: 6.297 kB / 419.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.003195, allocations: 1.219 kB / 419.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.587e-05/0.003281, allocations: 40.72 kB / 419.1 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.003638, allocations: 309.4 kB / 419.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.00383, allocations: 75.97 kB / 419.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.052e-05/0.003881, allocations: 33.83 kB / 419.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.003895, allocations: 1.734 kB / 419.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.015e-05/0.003905, allocations: 31.66 kB / 419.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 7.72e-07/0.003906, allocations: 1.438 kB / 419.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002103/0.004117, allocations: 102.1 kB / 419.6 MB, free: 10.39 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.004135, allocations: 53.94 kB / 419.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.004244, allocations: 172.5 kB / 419.9 MB, free: 10.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.752e-06/0.004251, allocations: 27.42 kB / 419.9 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.772e-05/0.004288, allocations: 107.3 kB / 420 MB, free: 10.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.004305, allocations: 25.73 kB / 420 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.004339, allocations: 31.12 kB / 420 MB, free: 10.02 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.019e-05/0.004369, allocations: 324.6 kB / 420.4 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.00442, allocations: 32.61 kB / 420.4 MB, free: 9.68 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.037e-05/0.00448, allocations: 61.61 kB / 420.5 MB, free: 9.629 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.004581, allocations: 81 kB / 420.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004583, allocations: 0 / 420.5 MB, free: 9.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001449/0.004728, allocations: 122 kB / 420.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.00474, allocations: 5.625 kB / 420.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.004745, allocations: 1.594 kB / 420.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.004757, allocations: 2.062 kB / 420.7 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.00483, allocations: 27.66 kB / 420.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.004835, allocations: 2.094 kB / 420.7 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.004879, allocations: 12.27 kB / 420.7 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.492e-06/0.004886, allocations: 3.125 kB / 420.7 MB, free: 9.488 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.504e-05/0.004931, allocations: 124.5 kB / 420.8 MB, free: 9.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.004947, allocations: 8.172 kB / 420.8 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.005089, allocations: 105.8 kB / 420.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.604e-06/0.005091, allocations: 1.219 kB / 420.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.005094, allocations: 0 / 420.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.005097, allocations: 0.75 kB / 420.9 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.633e-05/0.005193, allocations: 143 kB / 421.1 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.005194, allocations: 0 / 421.1 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.497e-05/0.005269, allocations: 25.67 kB / 421.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.00527, allocations: 0 / 421.1 MB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.005278, allocations: 5.609 kB / 421.1 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.005279, allocations: 1.094 kB / 421.1 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.005281, allocations: 7.938 kB / 421.1 MB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.005449, allocations: 223.3 kB / 421.3 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.005466, allocations: 16.58 kB / 421.4 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.005478, allocations: 1.406 kB / 421.4 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.813e-05/0.005526, allocations: 2.281 kB / 421.4 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.00556, allocations: 5.094 kB / 421.4 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.005564, allocations: 1.938 kB / 421.4 MB, free: 8.949 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.945e-05/0.005633, allocations: 132.2 kB / 421.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005634, allocations: 1.156 kB / 421.5 MB, free: 8.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001523/0.005786, allocations: 18.91 kB / 421.5 MB, free: 8.852 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 6.652e-05/0.005852, allocations: 100.8 kB / 421.6 MB, free: 8.758 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001371/0.005989, allocations: 74.5 kB / 421.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.005991, allocations: 4.906 kB / 421.7 MB, free: 8.723 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.103e-05/0.006032, allocations: 27.98 kB / 421.7 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001582/0.00619, allocations: 11.12 kB / 421.7 MB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.006644, allocations: 276.1 kB / 422 MB, free: 8.504 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.111e-05/0.006696, allocations: 90.56 kB / 422.1 MB, free: 8.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.006735, allocations: 17.56 kB / 422.1 MB, free: 8.418 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.006736, allocations: 4 kB / 422.1 MB, free: 8.414 MB / 330.7 MB Notification: Performance of Templates: time 0.002346/0.009082, allocations: 1.391 MB / 423.5 MB, free: 8.332 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.makefile [Timeout 660] (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 & ./AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -variableFilter=.* -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_case_studies.HVAC_floor.OL.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.336109070107341] Failed to read output from testmodel.py, exit status != 0: 0.014398278668522835 0.022069580000000002 0.018090319 Calling exit ...