Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 103.4 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 191.7 kB / 19.4 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 247.8 MB, free: 13.96 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.1019/0.1019, allocations: 22.7 MB / 325.4 MB, free: 3.562 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") translateModel(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=7200,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 63.91 kB / 457.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1424, allocations: 58.02 MB / 0.5036 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.004993/0.1473, allocations: 2.112 MB / 0.5057 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005205/0.1479, allocations: 151.4 kB / 0.5058 GB, free: 4.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.398e-05/0.148, allocations: 8 kB / 0.5058 GB, free: 4.867 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.451e-05/0.148, allocations: 27.72 kB / 0.5058 GB, free: 4.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.1482, allocations: 51.48 kB / 0.5059 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1484, allocations: 43.94 kB / 0.5059 GB, free: 4.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.1486, allocations: 199 kB / 0.5061 GB, free: 4.551 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.1489, allocations: 75.92 kB / 0.5062 GB, free: 4.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.149, allocations: 71.78 kB / 0.5063 GB, free: 4.402 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001569/0.1492, allocations: 83.69 kB / 0.5063 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.1492, allocations: 16 kB / 0.5064 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.589e-05/0.1492, allocations: 16 kB / 0.5064 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.1493, allocations: 35.86 kB / 0.5064 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1494, allocations: 87.66 kB / 0.5065 GB, free: 4.168 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002987/0.1497, allocations: 199.2 kB / 0.5067 GB, free: 3.973 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.1497, allocations: 0 / 0.5067 GB, free: 3.973 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.1497, allocations: 0 / 0.5067 GB, free: 3.973 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.1497, allocations: 0 / 0.5067 GB, free: 3.973 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007763/0.1505, allocations: 458.8 kB / 0.5071 GB, free: 3.473 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.1506, allocations: 8.031 kB / 0.5071 GB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.1506, allocations: 16.84 kB / 0.5071 GB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000264/0.1509, allocations: 196 kB / 0.5073 GB, free: 3.219 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.1509, allocations: 16.38 kB / 0.5073 GB, free: 3.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.151, allocations: 16.38 kB / 0.5074 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004928/0.1515, allocations: 154.8 kB / 0.5075 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.1515, allocations: 8.188 kB / 0.5075 GB, free: 3.023 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.1516, allocations: 11.94 kB / 0.5075 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.1516, allocations: 4 kB / 0.5075 GB, free: 3.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.1519, allocations: 107.9 kB / 0.5076 GB, free: 2.902 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.1534, allocations: 0.86 MB / 0.5085 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.1537, allocations: 117 kB / 0.5086 GB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.1538, allocations: 80.7 kB / 0.5087 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.011e-05/0.1538, allocations: 0 / 0.5087 GB, free: 1.711 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.1539, allocations: 34.56 kB / 0.5087 GB, free: 1.668 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.1539, allocations: 0 / 0.5087 GB, free: 1.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004444/0.1543, allocations: 165.8 kB / 0.5089 GB, free: 1.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1544, allocations: 55.41 kB / 0.5089 GB, free: 1.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001286/0.1545, allocations: 117.8 kB / 0.509 GB, free: 1.309 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.1545, allocations: 25.7 kB / 0.509 GB, free: 1.277 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.1546, allocations: 132.3 kB / 0.5092 GB, free: 1.145 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.1547, allocations: 59.48 kB / 0.5092 GB, free: 1.086 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.647e-05/0.1548, allocations: 41.66 kB / 0.5093 GB, free: 1.039 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.1549, allocations: 326.8 kB / 0.5096 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.155, allocations: 39.92 kB / 0.5096 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1552, allocations: 76.27 kB / 0.5097 GB, free: 0.582 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/0.1559, allocations: 222.9 kB / 0.5099 GB, free: 360 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.1559, allocations: 4 kB / 0.5099 GB, free: 356 kB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003195/0.1562, allocations: 165.5 kB / 0.5101 GB, free: 184 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/0.1562, allocations: 8 kB / 0.5101 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.1562, allocations: 0 / 0.5101 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.525e-05/0.1562, allocations: 7.984 kB / 0.5101 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.1564, allocations: 35.98 kB / 0.5101 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1565, allocations: 3.938 kB / 0.5101 GB, free: 128 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.924e-05/0.1565, allocations: 23.83 kB / 0.5101 GB, free: 104 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1566, allocations: 4 kB / 0.5101 GB, free: 100 kB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: Cz1.T:VARIABLE(min = 0.0 start = 293.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of element\" type: Real Cz2.T:VARIABLE(min = 0.0 start = 293.15 unit = \"K\" fixed = true nominal = 300.0 ) \"Temperature of element\" type: Real 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 (22): * Single equations (assignments): 22 * 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 0.2479/0.4045, allocations: 139 kB / 0.5103 GB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/0.4046, allocations: 12.5 kB / 0.5103 GB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.717e-05/0.4046, allocations: 15.62 kB / 0.5103 GB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.4046, allocations: 2.531 kB / 0.5103 GB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.4046, allocations: 2.906 kB / 0.5103 GB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4046, allocations: 3.75 kB / 0.5103 GB, free: 16.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002947/0.4049, allocations: 250.1 kB / 0.5106 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.4049, allocations: 0.9375 kB / 0.5106 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002461/0.4052, allocations: 34.17 kB / 0.5106 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.4052, allocations: 2.156 kB / 0.5106 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.4052, allocations: 5.422 kB / 0.5106 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4052, allocations: 4.688 kB / 0.5106 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4052, allocations: 0.5625 kB / 0.5106 GB, free: 16.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.4056, allocations: 284.9 kB / 0.5109 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.043e-05/0.4057, allocations: 93.03 kB / 0.511 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.16e-05/0.4057, allocations: 6.047 kB / 0.511 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.219e-05/0.4058, allocations: 5.766 kB / 0.511 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.4058, allocations: 9.328 kB / 0.511 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.4058, allocations: 9.969 kB / 0.511 GB, free: 15.83 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.726e-05/0.4059, allocations: 95.03 kB / 0.5111 GB, free: 15.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.4059, allocations: 0 / 0.5111 GB, free: 15.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003181/0.4062, allocations: 40.58 kB / 0.5111 GB, free: 15.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Cz1.T,Cz2.T) * 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 (16): * Single equations (assignments): 16 * 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.0001123/0.4063, allocations: 110.3 kB / 0.5112 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.4066, allocations: 106.6 kB / 0.5113 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4066, allocations: 0 / 0.5113 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.4067, allocations: 54.09 kB / 0.5114 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.407, allocations: 14.42 kB / 0.5114 GB, free: 15.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/0.4079, allocations: 440.9 kB / 0.5118 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000167/0.408, allocations: 0.7205 MB / 0.5125 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.098e-05/0.4081, allocations: 9.125 kB / 0.5125 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.121e-05/0.4081, allocations: 14.66 kB / 0.5125 GB, free: 14.75 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4081, allocations: 4 kB / 0.5125 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Templates: time 0.004188/0.4123, allocations: 1.146 MB / 0.5137 GB, free: 14.7 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe ; mkfifo AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe >> ../files/AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.sim & ./AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.911778952926397] Failed to read output from testmodel.py, exit status != 0: 0.41999694192782044 0.43069084799999996 0.278510915 Calling exit ...