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/AES main/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09498/0.09498, allocations: 21.61 MB / 36.56 MB, free: 1.09 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001053, allocations: 178.4 kB / 42.82 MB, free: 3.793 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 223.2 MB / 272.1 MB, free: 1.344 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008265/0.0008266, allocations: 110.7 kB / 328.7 MB, free: 11.67 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 12 kB / 397 MB, free: 46.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08585/0.0862, allocations: 55.81 MB / 452.9 MB, free: 6.582 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2683/0.3546, allocations: 79.84 MB / 0.5202 GB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.3548, allocations: 83.75 kB / 0.5203 GB, free: 13.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005419/0.3603, allocations: 2.631 MB / 0.5229 GB, free: 12.68 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3603, allocations: 0 / 0.5229 GB, free: 12.68 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.3603, allocations: 3.719 kB / 0.5229 GB, free: 12.68 MB / 362.7 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.0003519/0.3606, allocations: 438.9 kB / 0.5233 GB, free: 12.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.3607, allocations: 7.562 kB / 0.5233 GB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.3607, allocations: 15.5 kB / 0.5233 GB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.484e-05/0.3608, allocations: 178.6 kB / 0.5235 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.201e-05/0.3608, allocations: 14.34 kB / 0.5235 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.3609, allocations: 18.25 kB / 0.5235 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/0.3611, allocations: 162.1 kB / 0.5237 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3611, allocations: 1.938 kB / 0.5237 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.3612, allocations: 16.11 kB / 0.5237 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3612, allocations: 7.562 kB / 0.5237 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.3614, allocations: 103.9 kB / 0.5238 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.362, allocations: 0.557 MB / 0.5243 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.3622, allocations: 125.1 kB / 0.5245 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.3622, allocations: 4 kB / 0.5245 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.281e-05/0.3622, allocations: 38.09 kB / 0.5245 GB, free: 11.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.182e-06/0.3622, allocations: 0 / 0.5245 GB, free: 11.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0002995/0.3625, allocations: 160.4 kB / 0.5246 GB, free: 11.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.3626, allocations: 55.25 kB / 0.5247 GB, free: 11.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.382e-05/0.3626, allocations: 117.5 kB / 0.5248 GB, free: 11.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3626, allocations: 29.27 kB / 0.5248 GB, free: 11.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.064e-05/0.3627, allocations: 133.1 kB / 0.525 GB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/0.3627, allocations: 56.11 kB / 0.525 GB, free: 11.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.3627, allocations: 3.438 kB / 0.525 GB, free: 11.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.3628, allocations: 321.4 kB / 0.5253 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.351e-05/0.3629, allocations: 36.61 kB / 0.5254 GB, free: 10.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/0.3629, allocations: 79.28 kB / 0.5254 GB, free: 10.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.766e-05/0.363, allocations: 49.09 kB / 0.5255 GB, free: 10.89 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.363, allocations: 0 / 0.5255 GB, free: 10.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000213/0.3633, allocations: 171 kB / 0.5257 GB, free: 10.85 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.3633, allocations: 3.844 kB / 0.5257 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3633, allocations: 0 / 0.5257 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3633, allocations: 3.844 kB / 0.5257 GB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.3635, allocations: 51.97 kB / 0.5257 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3635, allocations: 0 / 0.5257 GB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.014e-05/0.3636, allocations: 18.83 kB / 0.5257 GB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.3636, allocations: 6.906 kB / 0.5257 GB, free: 10.83 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: Cz2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real Cz1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001591/0.3638, allocations: 157.5 kB / 0.5259 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.3638, allocations: 7.781 kB / 0.5259 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.3638, allocations: 19.34 kB / 0.5259 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3638, allocations: 0 / 0.5259 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3639, allocations: 1.25 kB / 0.5259 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3639, allocations: 2.859 kB / 0.5259 GB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.364, allocations: 259.5 kB / 0.5262 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3641, allocations: 0 / 0.5262 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001654/0.3642, allocations: 36.23 kB / 0.5262 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.3642, allocations: 0 / 0.5262 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3643, allocations: 11.22 kB / 0.5262 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3643, allocations: 0 / 0.5262 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3643, allocations: 0 / 0.5262 GB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002823/0.3646, allocations: 278.4 kB / 0.5265 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.23e-05/0.3646, allocations: 95.53 kB / 0.5266 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/0.3646, allocations: 64 / 0.5266 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.3647, allocations: 13.84 kB / 0.5266 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.605e-05/0.3647, allocations: 12.5 kB / 0.5266 GB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.3648, allocations: 3.812 kB / 0.5266 GB, free: 10.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.827e-05/0.3648, allocations: 96.42 kB / 0.5267 GB, free: 10.17 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3648, allocations: 3.938 kB / 0.5267 GB, free: 10.17 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002259/0.365, allocations: 37.84 kB / 0.5267 GB, free: 10.16 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.847e-05/0.3651, allocations: 116.7 kB / 0.5268 GB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001916/0.3653, allocations: 114.8 kB / 0.5269 GB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3653, allocations: 0 / 0.5269 GB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.3654, allocations: 56.34 kB / 0.527 GB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.3656, allocations: 19.34 kB / 0.527 GB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005895/0.3661, allocations: 0.5105 MB / 0.5275 GB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001116/0.3663, allocations: 0.718 MB / 0.5282 GB, free: 9.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.108e-05/0.3663, allocations: 15.19 kB / 0.5282 GB, free: 9.012 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.757e-05/0.3664, allocations: 15.06 kB / 0.5282 GB, free: 9 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3664, allocations: 3.812 kB / 0.5282 GB, free: 9 MB / 362.7 MB Notification: Performance of Templates: time 0.002546/0.3689, allocations: 0.9934 MB / 0.5292 GB, free: 8.84 MB / 362.7 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)