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.1365/0.1365, allocations: 21.42 MB / 36.67 MB, free: 1.168 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.00129/0.00129, allocations: 177.6 kB / 42.85 MB, free: 3.91 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.822/1.822, allocations: 205 MB / 253.9 MB, free: 15.01 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.0008135/0.0008137, allocations: 86.42 kB / 307.2 MB, free: 11.47 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 7.156 kB / 372.5 MB, free: 59.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1123, allocations: 52.52 MB / 425 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_standard): time 0.00279/0.1152, allocations: 1.856 MB / 426.8 MB, free: 12.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.116, allocations: 0.6087 MB / 427.4 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001107/0.1162, allocations: 4 kB / 427.5 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.1165, allocations: 27.78 kB / 427.5 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.1167, allocations: 55.81 kB / 427.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.1168, allocations: 91.83 kB / 427.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.1171, allocations: 239.4 kB / 427.9 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.1172, allocations: 41.66 kB / 427.9 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001225/0.1173, allocations: 91.61 kB / 428 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001903/0.1175, allocations: 111.6 kB / 428.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.475e-05/0.1176, allocations: 12 kB / 428.1 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.818e-05/0.1176, allocations: 8 kB / 428.1 MB, free: 11.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.1177, allocations: 59.73 kB / 428.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.215e-05/0.1178, allocations: 71.47 kB / 428.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.118, allocations: 167.3 kB / 428.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.118, allocations: 0 / 428.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.118, allocations: 4 kB / 428.4 MB, free: 11.01 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.118, allocations: 0 / 428.4 MB, free: 11.01 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.001168/0.1192, allocations: 0.5687 MB / 429 MB, free: 10.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.1192, allocations: 11.97 kB / 429 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.189e-05/0.1193, allocations: 24.66 kB / 429 MB, free: 10.36 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.1198, allocations: 307.7 kB / 429.3 MB, free: 10.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.1198, allocations: 8.375 kB / 429.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.1199, allocations: 8.375 kB / 429.3 MB, free: 10 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.1201, allocations: 144.2 kB / 429.5 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.1201, allocations: 0 / 429.5 MB, free: 9.855 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.001e-05/0.1202, allocations: 4 kB / 429.5 MB, free: 9.852 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.1202, allocations: 4 kB / 429.5 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.1204, allocations: 115.8 kB / 429.6 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007537/0.1212, allocations: 0.5237 MB / 430.1 MB, free: 9.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000384/0.1216, allocations: 178.5 kB / 430.3 MB, free: 8.977 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.1217, allocations: 76.81 kB / 430.4 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.1217, allocations: 4 kB / 430.4 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.585e-05/0.1218, allocations: 38.5 kB / 430.4 MB, free: 8.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=15): time 1.273e-06/0.1218, allocations: 0 / 430.4 MB, free: 8.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004491/0.1222, allocations: 242.3 kB / 430.6 MB, free: 8.605 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.1223, allocations: 51.41 kB / 430.7 MB, free: 8.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004072/0.1227, allocations: 279 kB / 431 MB, free: 8.262 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.623e-05/0.1227, allocations: 33.64 kB / 431 MB, free: 8.223 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.1228, allocations: 128.2 kB / 431.1 MB, free: 8.094 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.438e-05/0.1228, allocations: 59.2 kB / 431.2 MB, free: 8.035 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.1229, allocations: 33.7 kB / 431.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.1229, allocations: 326.8 kB / 431.5 MB, free: 7.668 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1231, allocations: 59.95 kB / 431.6 MB, free: 7.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.813e-05/0.1232, allocations: 56.53 kB / 431.6 MB, free: 7.555 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001653/0.1248, allocations: 476.4 kB / 432.1 MB, free: 7.086 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.1248, allocations: 8 kB / 432.1 MB, free: 7.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002902/0.1251, allocations: 213.3 kB / 432.3 MB, free: 6.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1252, allocations: 6.5 kB / 432.3 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1252, allocations: 4 kB / 432.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.1252, allocations: 0 / 432.3 MB, free: 6.855 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001794/0.1254, allocations: 35.92 kB / 432.4 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1254, allocations: 3.938 kB / 432.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002064/0.1256, allocations: 39.8 kB / 432.4 MB, free: 6.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.1256, allocations: 8 kB / 432.4 MB, free: 6.77 MB / 298.7 MB Warning: Assuming fixed start value for the following 5 variables: Act1.y:VARIABLE(flow=false start = Act1.y_start fixed = true ) "Connector of Real output signal" type: Real Act2.y:VARIABLE(flow=false start = Act2.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001592/0.1258, allocations: 139 kB / 432.6 MB, free: 6.625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.1258, allocations: 15.81 kB / 432.6 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003653/0.1262, allocations: 230.9 kB / 432.8 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1262, allocations: 0 / 432.8 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.1262, allocations: 7.875 kB / 432.8 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1262, allocations: 0 / 432.8 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.1265, allocations: 289.3 kB / 433.1 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1265, allocations: 0 / 433.1 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.1267, allocations: 31.98 kB / 433.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.554e-06/0.1267, allocations: 0 / 433.1 MB, free: 6.004 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.1267, allocations: 15.94 kB / 433.1 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1267, allocations: 0 / 433.1 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1267, allocations: 7.922 kB / 433.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004047/0.1271, allocations: 379.2 kB / 433.5 MB, free: 5.594 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.1272, allocations: 92.83 kB / 433.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.1272, allocations: 8.062 kB / 433.6 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002411/0.1275, allocations: 35.89 kB / 433.7 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1275, allocations: 12.11 kB / 433.7 MB, free: 5.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.1275, allocations: 11.98 kB / 433.7 MB, free: 5.418 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003438/0.1279, allocations: 208.6 kB / 433.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1279, allocations: 0 / 433.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002272/0.1281, allocations: 35.94 kB / 433.9 MB, free: 5.18 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 (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.0001124/0.1283, allocations: 115.1 kB / 434 MB, free: 5.055 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002801/0.1286, allocations: 169.3 kB / 434.2 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1286, allocations: 0 / 434.2 MB, free: 4.891 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.1287, allocations: 83.89 kB / 434.3 MB, free: 4.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.129, allocations: 35.97 kB / 434.3 MB, free: 4.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007728/0.1298, allocations: 0.5201 MB / 434.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/0.13, allocations: 0.7516 MB / 435.6 MB, free: 3.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.1301, allocations: 41.52 kB / 435.6 MB, free: 3.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.407e-05/0.1302, allocations: 15.44 kB / 435.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1302, allocations: 0 / 435.6 MB, free: 3.398 MB / 298.7 MB Notification: Performance of Templates: time 0.004071/0.1343, allocations: 1.827 MB / 437.5 MB, free: 1.57 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 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_standard.pipe 2>&1)