Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.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.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_standard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard") [/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.1482/0.1482, allocations: 21.46 MB / 36.42 MB, free: 1.188 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.001277/0.001277, allocations: 182.7 kB / 42.64 MB, free: 3.996 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.508/1.508, allocations: 205.4 MB / 254.1 MB, free: 15.45 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.0007802/0.0007802, allocations: 88.12 kB / 307.8 MB, free: 11.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003782, allocations: 11.39 kB / 373.3 MB, free: 59.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09108/0.09149, allocations: 52.95 MB / 426.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.001673/0.09321, allocations: 1.479 MB / 427.7 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008952/0.09413, allocations: 0.5702 MB / 428.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.0943, allocations: 4 kB / 428.3 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003217/0.09464, allocations: 31.83 kB / 428.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.09484, allocations: 51.75 kB / 428.3 MB, free: 11.17 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.09505, allocations: 75.89 kB / 428.4 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.0953, allocations: 215.4 kB / 428.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.09541, allocations: 33.86 kB / 428.7 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.09556, allocations: 103.6 kB / 428.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.09573, allocations: 107.6 kB / 428.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.09577, allocations: 8 kB / 428.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.567e-05/0.09581, allocations: 8 kB / 428.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.234e-05/0.09587, allocations: 55.8 kB / 428.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.336e-05/0.09591, allocations: 45.64 kB / 429 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001161/0.09604, allocations: 123.8 kB / 429.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.09605, allocations: 3.938 kB / 429.1 MB, free: 10.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.09606, allocations: 4 kB / 429.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.09607, allocations: 0 / 429.1 MB, free: 10.39 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00116/0.09724, allocations: 0.553 MB / 429.7 MB, free: 9.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.09728, allocations: 8.031 kB / 429.7 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.09736, allocations: 19.72 kB / 429.7 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.09791, allocations: 310.4 kB / 430 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.09794, allocations: 8 kB / 430 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.154e-05/0.09798, allocations: 12 kB / 430 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.09821, allocations: 129.6 kB / 430.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.09823, allocations: 0 / 430.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.09825, allocations: 7.984 kB / 430.2 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.09827, allocations: 4 kB / 430.2 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.09849, allocations: 115.8 kB / 430.3 MB, free: 9.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007746/0.09928, allocations: 0.5198 MB / 430.8 MB, free: 8.574 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003771/0.09966, allocations: 178.4 kB / 431 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001152/0.09979, allocations: 80.81 kB / 431 MB, free: 8.309 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.09983, allocations: 3.984 kB / 431 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.09985, allocations: 30.56 kB / 431.1 MB, free: 8.266 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.09985, allocations: 0 / 431.1 MB, free: 8.266 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004248/0.1003, allocations: 245.9 kB / 431.3 MB, free: 8.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.456e-05/0.1003, allocations: 55.34 kB / 431.4 MB, free: 7.953 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004476/0.1008, allocations: 279.1 kB / 431.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1008, allocations: 29.7 kB / 431.7 MB, free: 7.637 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.1009, allocations: 124.3 kB / 431.8 MB, free: 7.508 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.1009, allocations: 59.19 kB / 431.9 MB, free: 7.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.658e-06/0.1009, allocations: 4 kB / 431.9 MB, free: 7.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.96e-05/0.101, allocations: 334.8 kB / 432.2 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1011, allocations: 55.97 kB / 432.2 MB, free: 7.055 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.39e-05/0.1012, allocations: 59.97 kB / 432.3 MB, free: 6.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/0.1013, allocations: 80.95 kB / 432.4 MB, free: 6.918 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.1013, allocations: 0 / 432.4 MB, free: 6.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002973/0.1016, allocations: 217.5 kB / 432.6 MB, free: 6.699 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.1017, allocations: 4 kB / 432.6 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.1017, allocations: 0 / 432.6 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1017, allocations: 4 kB / 432.6 MB, free: 6.691 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.1019, allocations: 43.91 kB / 432.6 MB, free: 6.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.1019, allocations: 7.953 kB / 432.6 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.1021, allocations: 31.81 kB / 432.7 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.1022, allocations: 11.98 kB / 432.7 MB, free: 6.598 MB / 298.7 MB Warning: Assuming fixed start value for the following 5 variables: Act2.y:VARIABLE(flow=false start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Cfb.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Process.x_scaled[2]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Process.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (20): * Single equations (assignments): 20 * 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.0001538/0.1023, allocations: 150.9 kB / 432.8 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.963e-05/0.1024, allocations: 15.81 kB / 432.9 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003894/0.1028, allocations: 225.8 kB / 433.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1028, allocations: 0 / 433.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1028, allocations: 3.953 kB / 433.1 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1028, allocations: 3.984 kB / 433.1 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.103, allocations: 281.4 kB / 433.4 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.103, allocations: 4 kB / 433.4 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002231/0.1033, allocations: 35.92 kB / 433.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.1033, allocations: 0 / 433.4 MB, free: 5.828 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.876e-05/0.1033, allocations: 7.984 kB / 433.4 MB, free: 5.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1033, allocations: 4 kB / 433.4 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1033, allocations: 0 / 433.4 MB, free: 5.816 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.1037, allocations: 383.4 kB / 433.8 MB, free: 5.426 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.116e-05/0.1038, allocations: 104.9 kB / 433.9 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.33e-05/0.1039, allocations: 4 kB / 433.9 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.1041, allocations: 27.97 kB / 433.9 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.1042, allocations: 11.97 kB / 433.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1042, allocations: 7.953 kB / 433.9 MB, free: 5.254 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003723/0.1046, allocations: 216.6 kB / 434.1 MB, free: 5.043 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1046, allocations: 4 kB / 434.1 MB, free: 5.039 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002389/0.1048, allocations: 31.91 kB / 434.2 MB, free: 5.008 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y) * 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 (17): * Single equations (assignments): 17 * 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 9.697e-05/0.1049, allocations: 111 kB / 434.3 MB, free: 4.887 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.1052, allocations: 155.8 kB / 434.4 MB, free: 4.734 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1052, allocations: 4 kB / 434.4 MB, free: 4.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.1054, allocations: 85.61 kB / 434.5 MB, free: 4.648 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003723/0.1057, allocations: 35.92 kB / 434.6 MB, free: 4.613 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007865/0.1065, allocations: 0.5297 MB / 435.1 MB, free: 4.059 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.1067, allocations: 0.74 MB / 435.8 MB, free: 3.293 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.1068, allocations: 41.52 kB / 435.9 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.1069, allocations: 23.44 kB / 435.9 MB, free: 3.23 MB / 298.7 MB Notification: Performance of SimCode: time 3.1e-07/0.1069, allocations: 0 / 435.9 MB, free: 3.23 MB / 298.7 MB Notification: Performance of Templates: time 0.003872/0.1108, allocations: 1.779 MB / 437.7 MB, free: 1.449 MB / 298.7 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)