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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.1051/0.1051, allocations: 21.41 MB / 36.66 MB, free: 1.098 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 180.5 kB / 42.84 MB, free: 3.898 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.746/1.746, allocations: 205 MB / 253.9 MB, free: 15.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007154/0.0007157, allocations: 88.44 kB / 307.2 MB, free: 11.7 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004442/0.000444, allocations: 9.656 kB / 372.5 MB, free: 59.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1125, allocations: 52.51 MB / 425 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_control_problems.Thermal_zones_control.Thermal_zones_case_01_openLoop): time 0.003217/0.1158, allocations: 2.158 MB / 427.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002873/0.1161, allocations: 155.4 kB / 427.3 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.866e-05/0.1162, allocations: 4 kB / 427.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 7.282e-05/0.1163, allocations: 19.84 kB / 427.3 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.1164, allocations: 47.61 kB / 427.4 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001409/0.1166, allocations: 35.95 kB / 427.4 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.1168, allocations: 194.8 kB / 427.6 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.117, allocations: 84.48 kB / 427.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.11e-05/0.1171, allocations: 59.78 kB / 427.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.1173, allocations: 83.64 kB / 427.8 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.1173, allocations: 12 kB / 427.8 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.299e-05/0.1174, allocations: 12 kB / 427.8 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.001e-05/0.1174, allocations: 27.91 kB / 427.9 MB, free: 11.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.954e-05/0.1175, allocations: 87.59 kB / 427.9 MB, free: 11.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.1177, allocations: 183.4 kB / 428.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.1177, allocations: 4 kB / 428.1 MB, free: 11.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.1177, allocations: 3.938 kB / 428.1 MB, free: 11.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1177, allocations: 0 / 428.1 MB, free: 11.44 MB / 298.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.0006515/0.1184, allocations: 463 kB / 428.6 MB, free: 10.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.1185, allocations: 12.03 kB / 428.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.661e-05/0.1185, allocations: 16.75 kB / 428.6 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.1186, allocations: 184.1 kB / 428.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.1187, allocations: 12.38 kB / 428.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.325e-05/0.1187, allocations: 16.38 kB / 428.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003055/0.119, allocations: 166.1 kB / 429 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1191, allocations: 192 / 429 MB, free: 10.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.1191, allocations: 7.938 kB / 429 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1191, allocations: 8 kB / 429 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.1193, allocations: 111.9 kB / 429.1 MB, free: 10.37 MB / 298.7 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.0009435/0.1203, allocations: 0.8599 MB / 430 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1205, allocations: 114.5 kB / 430.1 MB, free: 9.266 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.1206, allocations: 80.83 kB / 430.2 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.1207, allocations: 0 / 430.2 MB, free: 9.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1207, allocations: 34.56 kB / 430.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.1207, allocations: 0 / 430.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003618/0.1211, allocations: 174.1 kB / 430.4 MB, free: 8.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.1211, allocations: 51.41 kB / 430.4 MB, free: 8.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.1212, allocations: 125.7 kB / 430.5 MB, free: 8.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.1212, allocations: 29.64 kB / 430.6 MB, free: 8.734 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.821e-05/0.1213, allocations: 124.2 kB / 430.7 MB, free: 8.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.407e-05/0.1213, allocations: 63.09 kB / 430.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-05/0.1214, allocations: 33.72 kB / 430.8 MB, free: 8.504 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.1215, allocations: 322.8 kB / 431.1 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.759e-05/0.1215, allocations: 43.92 kB / 431.1 MB, free: 8.137 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.314e-05/0.1216, allocations: 80.2 kB / 431.2 MB, free: 8.043 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005283/0.1222, allocations: 230.3 kB / 431.4 MB, free: 7.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1222, allocations: 8 kB / 431.5 MB, free: 7.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002174/0.1224, allocations: 161.4 kB / 431.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1224, allocations: 14.62 kB / 431.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.1224, allocations: 0 / 431.6 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1225, allocations: 4 kB / 431.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.1227, allocations: 39.92 kB / 431.7 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.1227, allocations: 0 / 431.7 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.383e-05/0.1228, allocations: 27.77 kB / 431.7 MB, free: 7.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.1228, allocations: 8 kB / 431.7 MB, free: 7.543 MB / 298.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 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.0002495/0.123, allocations: 154.3 kB / 431.9 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.896e-05/0.1231, allocations: 7.906 kB / 431.9 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.149e-05/0.1231, allocations: 24.83 kB / 431.9 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1231, allocations: 0 / 431.9 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1231, allocations: 0 / 431.9 MB, free: 7.352 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1232, allocations: 7.938 kB / 431.9 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.1234, allocations: 249.5 kB / 432.1 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1234, allocations: 4 kB / 432.1 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.1235, allocations: 31.92 kB / 432.2 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1236, allocations: 4 kB / 432.2 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.1236, allocations: 0 / 432.2 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1236, allocations: 0 / 432.2 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1236, allocations: 0 / 432.2 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.1239, allocations: 291.3 kB / 432.5 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.124, allocations: 84.95 kB / 432.5 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.124, allocations: 8.031 kB / 432.5 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.842e-05/0.1241, allocations: 11.89 kB / 432.6 MB, free: 6.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.1242, allocations: 19.86 kB / 432.6 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/0.1242, allocations: 4 kB / 432.6 MB, free: 6.566 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.087e-05/0.1242, allocations: 91.27 kB / 432.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.1242, allocations: 0 / 432.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002373/0.1245, allocations: 47.84 kB / 432.7 MB, free: 6.43 MB / 298.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 (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.0001197/0.1246, allocations: 107.2 kB / 432.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.1248, allocations: 107.8 kB / 432.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1248, allocations: 0 / 432.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.1249, allocations: 63.91 kB / 433 MB, free: 6.148 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002689/0.1252, allocations: 10.44 kB / 433 MB, free: 6.141 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007198/0.1259, allocations: 0.5053 MB / 433.5 MB, free: 5.609 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.1261, allocations: 0.7126 MB / 434.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.145e-05/0.1262, allocations: 12.64 kB / 434.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.89e-05/0.1262, allocations: 15.44 kB / 434.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.1262, allocations: 0 / 434.2 MB, free: 4.844 MB / 298.7 MB Notification: Performance of Templates: time 0.00298/0.1292, allocations: 1.022 MB / 435.3 MB, free: 3.824 MB / 298.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)