Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.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_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") translateModel(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising") [/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.09096/0.09096, allocations: 21.6 MB / 37.4 MB, free: 0.7422 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.00124/0.001241, allocations: 188.5 kB / 43.63 MB, free: 3.555 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.268/1.268, allocations: 205.1 MB / 254.8 MB, free: 14.24 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.0009296/0.0009297, allocations: 103.8 kB / 307.5 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 51.03 kB / 372.3 MB, free: 59.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0744/0.07555, allocations: 51.96 MB / 424.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.Typical_actuation_schemes.SplitRange_equalising): time 0.002351/0.07794, allocations: 1.993 MB / 426.3 MB, free: 12.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007959/0.07875, allocations: 0.7063 MB / 427 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.07885, allocations: 4 kB / 427 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000261/0.07912, allocations: 59.69 kB / 427.1 MB, free: 11.74 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.0793, allocations: 87.64 kB / 427.1 MB, free: 11.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001929/0.07951, allocations: 143.7 kB / 427.3 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002632/0.07978, allocations: 415.1 kB / 427.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.0799, allocations: 65.12 kB / 427.7 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.08002, allocations: 151.5 kB / 427.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001816/0.08021, allocations: 191.2 kB / 428.1 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.08026, allocations: 12 kB / 428.1 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.156e-05/0.0803, allocations: 12 kB / 428.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.08e-05/0.08039, allocations: 87.7 kB / 428.2 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.613e-05/0.08047, allocations: 111.2 kB / 428.3 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.08063, allocations: 251 kB / 428.5 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.08064, allocations: 7.984 kB / 428.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.32e-07/0.08065, allocations: 0 / 428.6 MB, free: 10.24 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.308e-06/0.08066, allocations: 4 kB / 428.6 MB, free: 10.23 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001488/0.08215, allocations: 0.7437 MB / 429.3 MB, free: 9.441 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.665e-05/0.08219, allocations: 8.031 kB / 429.3 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.08224, allocations: 32.56 kB / 429.3 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.083, allocations: 415.9 kB / 429.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.08302, allocations: 8.375 kB / 429.8 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.405e-05/0.08306, allocations: 20.36 kB / 429.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002295/0.08329, allocations: 177.7 kB / 429.9 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.08331, allocations: 3.938 kB / 430 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.08333, allocations: 8 kB / 430 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.08334, allocations: 0 / 430 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.08361, allocations: 175.9 kB / 430.1 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.08447, allocations: 0.6563 MB / 430.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003956/0.08487, allocations: 253.8 kB / 431 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001407/0.08502, allocations: 100.8 kB / 431.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.806e-05/0.08506, allocations: 4.375 kB / 431.1 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.059e-05/0.08508, allocations: 38.5 kB / 431.2 MB, free: 7.449 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 1.162e-06/0.08508, allocations: 0 / 431.2 MB, free: 7.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004854/0.08557, allocations: 349 kB / 431.5 MB, free: 7.102 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.395e-05/0.08561, allocations: 55.41 kB / 431.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006999/0.08631, allocations: 416.4 kB / 432 MB, free: 6.621 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.392e-05/0.08633, allocations: 33.64 kB / 432 MB, free: 6.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.0864, allocations: 160.4 kB / 432.2 MB, free: 6.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.514e-05/0.08645, allocations: 78.81 kB / 432.2 MB, free: 6.344 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.08651, allocations: 41.7 kB / 432.3 MB, free: 6.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.628e-05/0.08656, allocations: 342.8 kB / 432.6 MB, free: 5.953 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.08669, allocations: 92.17 kB / 432.7 MB, free: 5.863 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.08682, allocations: 88.36 kB / 432.8 MB, free: 5.777 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.08878, allocations: 0.6325 MB / 433.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.08879, allocations: 0 / 433.4 MB, free: 5.145 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003814/0.08918, allocations: 313.1 kB / 433.7 MB, free: 4.832 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.0892, allocations: 4 kB / 433.7 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.08921, allocations: 3.938 kB / 433.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.08922, allocations: 0 / 433.7 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.08945, allocations: 55.91 kB / 433.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.08946, allocations: 0 / 433.8 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00033/0.0898, allocations: 63.77 kB / 433.9 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.08982, allocations: 12 kB / 433.9 MB, free: 4.695 MB / 298.7 MB Warning: Assuming fixed start value for the following 7 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 FA1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] FA2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (28): * Single equations (assignments): 28 * 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.00014/0.08997, allocations: 159.8 kB / 434 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.811e-05/0.09002, allocations: 35.61 kB / 434.1 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004363/0.09046, allocations: 310 kB / 434.4 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.09048, allocations: 0 / 434.4 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.09049, allocations: 4 kB / 434.4 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.0905, allocations: 11.92 kB / 434.4 MB, free: 4.172 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.09075, allocations: 345.3 kB / 434.7 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.09076, allocations: 0 / 434.7 MB, free: 3.785 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002537/0.09102, allocations: 43.91 kB / 434.8 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.09103, allocations: 4 kB / 434.8 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.21e-05/0.09106, allocations: 7.938 kB / 434.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.09107, allocations: 7.984 kB / 434.8 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.09107, allocations: 0 / 434.8 MB, free: 3.723 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004177/0.09525, allocations: 3.066 MB / 437.8 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.09533, allocations: 112.8 kB / 438 MB, free: 396 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.09537, allocations: 11.94 kB / 438 MB, free: 384 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003588/0.09573, allocations: 55.92 kB / 438 MB, free: 328 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.09579, allocations: 11.97 kB / 438 MB, free: 316 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.09581, allocations: 12 kB / 438 MB, free: 304 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006242/0.09644, allocations: 330.9 kB / 438.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.09645, allocations: 3.938 kB / 438.4 MB, free: 15.97 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003627/0.09682, allocations: 79.84 kB / 438.5 MB, free: 15.89 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (Process.x_scaled[1],Process.x_scaled[2],Cfb.x_scaled[1],Act1.y,Act2.y,FA2.x_scaled[1],FA1.x_scaled[1]) * 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 (23): * Single equations (assignments): 23 * 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 8.473e-05/0.09691, allocations: 99.25 kB / 438.5 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000372/0.09729, allocations: 239.7 kB / 438.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.0973, allocations: 4 kB / 438.8 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001738/0.09748, allocations: 119.8 kB / 438.9 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003924/0.09788, allocations: 64.47 kB / 439 MB, free: 15.37 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.09906, allocations: 0.9393 MB / 439.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.09937, allocations: 0.7953 MB / 440.7 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001825/0.09956, allocations: 74.22 kB / 440.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.09968, allocations: 35.42 kB / 440.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of SimCode: time 2.3e-07/0.09969, allocations: 0 / 440.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of Templates: time 0.006089/0.1058, allocations: 3.741 MB / 444.5 MB, free: 9.711 MB / 314.7 MB make -j1 -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.makefile (rm -f AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.sim & ./AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.Typical_actuation_schemes.SplitRange_equalising.pipe 2>&1)