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.001302/0.001303, allocations: 104.2 kB / 16.35 MB, free: 5.875 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.001243/0.001243, allocations: 191 kB / 17.29 MB, free: 5.516 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.0938/0.0938, allocations: 22.33 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 62.94 kB / 382.3 MB, free: 41.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09576/0.09718, allocations: 54.96 MB / 437.2 MB, free: 12.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.00376/0.101, allocations: 2.094 MB / 439.3 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003614/0.1014, allocations: 151.4 kB / 439.5 MB, free: 9.977 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.89e-05/0.1015, allocations: 4 kB / 439.5 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.875e-05/0.1016, allocations: 27.72 kB / 439.5 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.1018, allocations: 55.55 kB / 439.5 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.1019, allocations: 47.83 kB / 439.6 MB, free: 9.844 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002156/0.1021, allocations: 195 kB / 439.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.1024, allocations: 99.91 kB / 439.9 MB, free: 9.551 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.831e-05/0.1025, allocations: 71.77 kB / 439.9 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.1027, allocations: 79.69 kB / 440 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.1027, allocations: 20 kB / 440 MB, free: 9.383 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.059e-05/0.1027, allocations: 20 kB / 440.1 MB, free: 9.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.935e-05/0.1028, allocations: 35.86 kB / 440.1 MB, free: 9.328 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.1029, allocations: 91.59 kB / 440.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.1031, allocations: 183.3 kB / 440.4 MB, free: 9.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1031, allocations: 4 kB / 440.4 MB, free: 9.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1031, allocations: 0 / 440.4 MB, free: 9.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.1031, allocations: 0 / 440.4 MB, free: 9.055 MB / 318.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.000621/0.1038, allocations: 467 kB / 440.8 MB, free: 8.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1038, allocations: 8.031 kB / 440.8 MB, free: 8.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.1039, allocations: 16.75 kB / 440.8 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.104, allocations: 192 kB / 441 MB, free: 8.297 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.395e-05/0.1041, allocations: 12.38 kB / 441 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.756e-05/0.1041, allocations: 16.38 kB / 441.1 MB, free: 8.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.1044, allocations: 158.8 kB / 441.2 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.1044, allocations: 192 / 441.2 MB, free: 8.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.946e-05/0.1045, allocations: 11.94 kB / 441.2 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1045, allocations: 8 kB / 441.2 MB, free: 8.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002449/0.1047, allocations: 115.9 kB / 441.3 MB, free: 7.977 MB / 318.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.0009519/0.1057, allocations: 0.8405 MB / 442.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.1059, allocations: 134.4 kB / 442.3 MB, free: 6.867 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001292/0.1061, allocations: 79.64 kB / 442.4 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.1061, allocations: 4 kB / 442.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.1061, allocations: 30.56 kB / 442.4 MB, free: 6.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=16): time 1.333e-06/0.1061, allocations: 0 / 442.4 MB, free: 6.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=16): time 0.0003569/0.1065, allocations: 165.4 kB / 442.6 MB, free: 6.578 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.1065, allocations: 59.41 kB / 442.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.358e-05/0.1066, allocations: 122 kB / 442.8 MB, free: 6.379 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.857e-05/0.1066, allocations: 33.7 kB / 442.8 MB, free: 6.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/0.1067, allocations: 128.2 kB / 442.9 MB, free: 6.211 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.1068, allocations: 59.11 kB / 443 MB, free: 6.152 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.1068, allocations: 33.7 kB / 443 MB, free: 6.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.1069, allocations: 330.8 kB / 443.3 MB, free: 5.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.22e-05/0.107, allocations: 35.98 kB / 443.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.1072, allocations: 80.2 kB / 443.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005809/0.1077, allocations: 222.2 kB / 443.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1078, allocations: 0 / 443.7 MB, free: 5.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002705/0.108, allocations: 167.5 kB / 443.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.1081, allocations: 8.062 kB / 443.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1081, allocations: 11.98 kB / 443.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1081, allocations: 0 / 443.9 MB, free: 5.234 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001908/0.1083, allocations: 39.92 kB / 443.9 MB, free: 5.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.1083, allocations: 4 kB / 443.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.324e-05/0.1084, allocations: 19.78 kB / 443.9 MB, free: 5.172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.1084, allocations: 4 kB / 443.9 MB, free: 5.168 MB / 318.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.0001996/0.1086, allocations: 146.5 kB / 444.1 MB, free: 5.016 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.1086, allocations: 7.906 kB / 444.1 MB, free: 5.008 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.1087, allocations: 12.84 kB / 444.1 MB, free: 5 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1087, allocations: 4 kB / 444.1 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1087, allocations: 3.984 kB / 444.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1087, allocations: 3.938 kB / 444.1 MB, free: 4.988 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000261/0.109, allocations: 253.4 kB / 444.3 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.109, allocations: 7.984 kB / 444.4 MB, free: 4.684 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.1092, allocations: 35.98 kB / 444.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1092, allocations: 0 / 444.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.1092, allocations: 4 kB / 444.4 MB, free: 4.645 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.1092, allocations: 4 kB / 444.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1092, allocations: 0 / 444.4 MB, free: 4.641 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.1096, allocations: 289.6 kB / 444.7 MB, free: 4.344 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.1097, allocations: 88.95 kB / 444.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.1097, allocations: 0 / 444.8 MB, free: 4.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.89e-05/0.1098, allocations: 12.06 kB / 444.8 MB, free: 4.227 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.1098, allocations: 11.92 kB / 444.8 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1098, allocations: 4 kB / 444.8 MB, free: 4.211 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.646e-05/0.1099, allocations: 95.27 kB / 444.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1099, allocations: 0 / 444.9 MB, free: 4.117 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1102, allocations: 43.84 kB / 444.9 MB, free: 4.074 MB / 318.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 8.958e-05/0.1103, allocations: 99.25 kB / 445 MB, free: 3.965 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002486/0.1105, allocations: 123.8 kB / 445.1 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1105, allocations: 4 kB / 445.1 MB, free: 3.84 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 9.498e-05/0.1106, allocations: 51.92 kB / 445.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002513/0.1109, allocations: 19.88 kB / 445.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007493/0.1116, allocations: 435.9 kB / 445.6 MB, free: 3.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/0.1119, allocations: 0.7123 MB / 446.4 MB, free: 2.574 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.126e-05/0.112, allocations: 16.64 kB / 446.4 MB, free: 2.559 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.112, allocations: 15.38 kB / 446.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.112, allocations: 0 / 446.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of Templates: time 0.003242/0.1153, allocations: 1.098 MB / 447.5 MB, free: 1.488 MB / 318.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 -s cvode -lv LOG_STATS > AES_AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop.pipe 2>&1)