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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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=14400,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=14400,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005687/0.005687, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1131/0.1131, allocations: 22.33 MB / 312.8 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 71.89 kB / 437 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1257, allocations: 54.95 MB / 492 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.003356/0.1291, allocations: 2.093 MB / 494.1 MB, free: 2.648 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004199/0.1295, allocations: 163.3 kB / 494.3 MB, free: 2.488 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001139/0.1297, allocations: 4 kB / 494.3 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.985e-05/0.1297, allocations: 19.8 kB / 494.3 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.13, allocations: 55.48 kB / 494.3 MB, free: 2.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.1301, allocations: 51.86 kB / 494.4 MB, free: 2.359 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002152/0.1304, allocations: 191.1 kB / 494.6 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.1306, allocations: 99.91 kB / 494.7 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.751e-05/0.1307, allocations: 67.78 kB / 494.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.1308, allocations: 83.69 kB / 494.8 MB, free: 1.922 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.989e-05/0.1309, allocations: 16 kB / 494.8 MB, free: 1.906 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.124e-05/0.1309, allocations: 16 kB / 494.8 MB, free: 1.891 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.131, allocations: 39.8 kB / 494.9 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.1311, allocations: 87.59 kB / 495 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1313, allocations: 191.3 kB / 495.2 MB, free: 1.578 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1313, allocations: 7.938 kB / 495.2 MB, free: 1.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1313, allocations: 0 / 495.2 MB, free: 1.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.1313, allocations: 0 / 495.2 MB, free: 1.57 MB / 366.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.0006551/0.132, allocations: 462.9 kB / 495.6 MB, free: 1.066 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.132, allocations: 12.02 kB / 495.6 MB, free: 1.055 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.749e-05/0.1321, allocations: 24.75 kB / 495.6 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1322, allocations: 184.1 kB / 495.8 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.1323, allocations: 12.38 kB / 495.8 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.151e-05/0.1323, allocations: 20.38 kB / 495.9 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003319/0.1327, allocations: 162.8 kB / 496 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.041e-05/0.1327, allocations: 192 / 496 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.192e-05/0.1327, allocations: 7.938 kB / 496 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.1328, allocations: 4 kB / 496 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.133, allocations: 108 kB / 496.1 MB, free: 0.5 MB / 366.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.001078/0.1341, allocations: 0.8598 MB / 497 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002475/0.1344, allocations: 122.5 kB / 497.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.1345, allocations: 80.34 kB / 497.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.1345, allocations: 4 kB / 497.2 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.1345, allocations: 34.56 kB / 497.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.745e-06/0.1346, allocations: 3.984 kB / 497.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0004201/0.135, allocations: 161.8 kB / 497.4 MB, free: 15.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.135, allocations: 59.34 kB / 497.5 MB, free: 15.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.1352, allocations: 125.7 kB / 497.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.1352, allocations: 29.7 kB / 497.6 MB, free: 14.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.1353, allocations: 124.2 kB / 497.7 MB, free: 14.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.1353, allocations: 59.09 kB / 497.8 MB, free: 14.67 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.648e-05/0.1354, allocations: 33.72 kB / 497.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.1355, allocations: 326.8 kB / 498.1 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/0.1356, allocations: 35.98 kB / 498.2 MB, free: 14.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001164/0.1357, allocations: 79.45 kB / 498.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000663/0.1364, allocations: 228.1 kB / 498.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.1364, allocations: 0 / 498.5 MB, free: 13.94 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003162/0.1368, allocations: 167.1 kB / 498.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.1368, allocations: 4 kB / 498.6 MB, free: 13.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1368, allocations: 4 kB / 498.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.1368, allocations: 0 / 498.6 MB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002059/0.137, allocations: 51.86 kB / 498.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.137, allocations: 4.125 kB / 498.7 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.752e-05/0.1371, allocations: 15.78 kB / 498.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.1371, allocations: 8 kB / 498.7 MB, free: 13.68 MB / 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.000248/0.1374, allocations: 134.6 kB / 498.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.1374, allocations: 7.906 kB / 498.9 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.816e-05/0.1375, allocations: 24.78 kB / 498.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.1375, allocations: 4 kB / 498.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1375, allocations: 0 / 498.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.1375, allocations: 7.922 kB / 498.9 MB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002884/0.1378, allocations: 253.4 kB / 499.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1378, allocations: 0 / 499.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.138, allocations: 31.98 kB / 499.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.138, allocations: 0 / 499.2 MB, free: 13.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.1381, allocations: 12 kB / 499.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1381, allocations: 0 / 499.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1381, allocations: 4 kB / 499.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.1385, allocations: 285.6 kB / 499.5 MB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.1386, allocations: 85.05 kB / 499.6 MB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.416e-05/0.1386, allocations: 8 kB / 499.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.1387, allocations: 0 / 499.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.1387, allocations: 15.92 kB / 499.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.1388, allocations: 4 kB / 499.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.85e-05/0.1388, allocations: 95.33 kB / 499.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1388, allocations: 0 / 499.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.1391, allocations: 43.84 kB / 499.7 MB, free: 12.6 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.0001181/0.1392, allocations: 103.2 kB / 499.8 MB, free: 12.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003064/0.1395, allocations: 126 kB / 499.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1396, allocations: 0 / 499.9 MB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.806e-05/0.1397, allocations: 56.17 kB / 500 MB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1399, allocations: 19.97 kB / 0.4883 GB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009026/0.1409, allocations: 451.3 kB / 0.4887 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1412, allocations: 0.7201 MB / 0.4894 GB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.1412, allocations: 8.656 kB / 0.4894 GB, free: 11.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.041e-05/0.1413, allocations: 15.44 kB / 0.4895 GB, free: 11.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1413, allocations: 0 / 0.4895 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Templates: time 0.003842/0.1451, allocations: 1.128 MB / 0.4906 GB, free: 9.969 MB / 382.1 MB make -j1 -f AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.makefile (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)