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.1052/0.1052, allocations: 21.44 MB / 36.4 MB, free: 1.23 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.001082/0.001082, allocations: 190 kB / 42.63 MB, free: 3.965 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.588/1.588, allocations: 205.4 MB / 254.1 MB, free: 15.26 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.0009206/0.000921, allocations: 97.11 kB / 307.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003502, allocations: 8.969 kB / 373.2 MB, free: 59.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1147, allocations: 52.96 MB / 426.2 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.001921/0.1166, allocations: 1.471 MB / 427.7 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009063/0.1176, allocations: 0.578 MB / 428.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.1177, allocations: 11.94 kB / 428.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003569/0.118, allocations: 27.84 kB / 428.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.1182, allocations: 55.8 kB / 428.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.1184, allocations: 71.89 kB / 428.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.1186, allocations: 143.7 kB / 428.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001346/0.1188, allocations: 33.86 kB / 428.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.1189, allocations: 103.7 kB / 428.7 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.1191, allocations: 103.6 kB / 428.8 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.14e-05/0.1191, allocations: 4 kB / 428.8 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.1191, allocations: 12 kB / 428.8 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.408e-05/0.1192, allocations: 51.8 kB / 428.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.1193, allocations: 45.64 kB / 428.9 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.1194, allocations: 123.7 kB / 429 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.1194, allocations: 0 / 429 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1194, allocations: 0 / 429 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1194, allocations: 0 / 429 MB, free: 10.2 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.001119/0.1205, allocations: 0.5491 MB / 429.5 MB, free: 9.602 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1206, allocations: 12.03 kB / 429.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.1206, allocations: 27.72 kB / 429.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005523/0.1212, allocations: 302.4 kB / 429.9 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.1212, allocations: 8 kB / 429.9 MB, free: 9.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.1213, allocations: 12 kB / 429.9 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002405/0.1215, allocations: 133.6 kB / 430 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1215, allocations: 0 / 430 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.1216, allocations: 0 / 430 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1216, allocations: 4 kB / 430 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.1218, allocations: 119.8 kB / 430.2 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008419/0.1227, allocations: 0.5159 MB / 430.7 MB, free: 8.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004078/0.1231, allocations: 186.3 kB / 430.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.41e-05/0.1231, allocations: 7.984 kB / 430.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.1232, allocations: 38.56 kB / 430.9 MB, free: 8.137 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.1232, allocations: 0 / 430.9 MB, free: 8.137 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004548/0.1236, allocations: 234.6 kB / 431.1 MB, free: 7.902 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.035e-05/0.1237, allocations: 59.36 kB / 431.2 MB, free: 7.832 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004579/0.1241, allocations: 275.1 kB / 431.5 MB, free: 7.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1242, allocations: 37.64 kB / 431.5 MB, free: 7.512 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.1243, allocations: 124.3 kB / 431.6 MB, free: 7.383 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.055e-05/0.1243, allocations: 55.19 kB / 431.7 MB, free: 7.328 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.098e-05/0.1243, allocations: 4 kB / 431.7 MB, free: 7.324 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1245, allocations: 330.8 kB / 432 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.979e-05/0.1246, allocations: 55.95 kB / 432 MB, free: 6.938 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.244e-05/0.1247, allocations: 64.05 kB / 432.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.1248, allocations: 83.94 kB / 432.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1248, allocations: 0 / 432.2 MB, free: 6.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003011/0.1251, allocations: 213.4 kB / 432.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1251, allocations: 8 kB / 432.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.1252, allocations: 0 / 432.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1252, allocations: 0 / 432.4 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.1254, allocations: 35.92 kB / 432.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1254, allocations: 3.953 kB / 432.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002207/0.1256, allocations: 39.86 kB / 432.5 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1256, allocations: 4 kB / 432.5 MB, free: 6.488 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.0001601/0.1258, allocations: 147 kB / 432.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.1258, allocations: 19.72 kB / 432.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003846/0.1262, allocations: 233.3 kB / 432.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1262, allocations: 0 / 432.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1263, allocations: 0 / 432.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1263, allocations: 7.953 kB / 432.9 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.1265, allocations: 281.5 kB / 433.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1265, allocations: 0 / 433.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.1268, allocations: 31.92 kB / 433.2 MB, free: 5.719 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1268, allocations: 4 kB / 433.2 MB, free: 5.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.1268, allocations: 11.98 kB / 433.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.1268, allocations: 7.938 kB / 433.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1268, allocations: 3.938 kB / 433.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004202/0.1272, allocations: 383.4 kB / 433.6 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.1273, allocations: 96.86 kB / 433.7 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.1273, allocations: 8.047 kB / 433.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.1276, allocations: 31.97 kB / 433.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.1276, allocations: 7.984 kB / 433.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.1277, allocations: 4 kB / 433.7 MB, free: 5.137 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003744/0.128, allocations: 228.5 kB / 434 MB, free: 4.914 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.1281, allocations: 0 / 434 MB, free: 4.914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.1283, allocations: 39.89 kB / 434 MB, free: 4.875 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 0.000116/0.1284, allocations: 103 kB / 434.1 MB, free: 4.762 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.1287, allocations: 155.9 kB / 434.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1287, allocations: 0 / 434.3 MB, free: 4.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.1288, allocations: 85.61 kB / 434.3 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.1291, allocations: 39.97 kB / 434.4 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008966/0.13, allocations: 0.5218 MB / 434.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1303, allocations: 0.7556 MB / 435.7 MB, free: 3.16 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000125/0.1305, allocations: 37.52 kB / 435.7 MB, free: 3.125 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.124e-05/0.1305, allocations: 19.44 kB / 435.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.1306, allocations: 0 / 435.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of Templates: time 0.004266/0.1348, allocations: 1.775 MB / 437.5 MB, free: 1.328 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)