Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.Typical_actuation_schemes.DaisyChain,fileNamePrefix="AES_AES_Coursework_Typical_actuation_schemes_DaisyChain",fmuType="me",version="2.0",platforms={"static"}) [/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.1538/0.1538, allocations: 21.62 MB / 36.56 MB, free: 1.098 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 186.4 kB / 42.83 MB, free: 3.781 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.2 MB / 272.1 MB, free: 1.352 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008815/0.0008815, allocations: 98.47 kB / 328.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005028/0.0005028, allocations: 8 kB / 397.1 MB, free: 46.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1043, allocations: 55.82 MB / 452.9 MB, free: 6.508 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3672/0.4715, allocations: 79.98 MB / 0.5204 GB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.4718, allocations: 74.42 kB / 0.5205 GB, free: 13.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01067/0.4825, allocations: 3.561 MB / 0.524 GB, free: 12.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.4825, allocations: 0 / 0.524 GB, free: 12.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.576e-05/0.4825, allocations: 4.938 kB / 0.524 GB, free: 12.7 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0009026/0.4834, allocations: 0.5373 MB / 0.5245 GB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4835, allocations: 14.45 kB / 0.5245 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.4835, allocations: 51.22 kB / 0.5246 GB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.584e-05/0.4836, allocations: 19.41 kB / 0.5246 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000649/0.4842, allocations: 311.1 kB / 0.5249 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.4843, allocations: 10.7 kB / 0.5249 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.2e-05/0.4843, allocations: 14.17 kB / 0.5249 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.4846, allocations: 151.8 kB / 0.5251 GB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.4846, allocations: 7.766 kB / 0.5251 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.4846, allocations: 3.625 kB / 0.5251 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.4846, allocations: 3.688 kB / 0.5251 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.4849, allocations: 129.1 kB / 0.5252 GB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007151/0.4856, allocations: 0.5148 MB / 0.5257 GB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003853/0.486, allocations: 189.2 kB / 0.5259 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/0.486, allocations: 7.188 kB / 0.5259 GB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.4861, allocations: 36.56 kB / 0.5259 GB, free: 11.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.4861, allocations: 0 / 0.5259 GB, free: 11.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004733/0.4865, allocations: 256.1 kB / 0.5262 GB, free: 11.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.4866, allocations: 59.33 kB / 0.5262 GB, free: 11.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004512/0.487, allocations: 246 kB / 0.5264 GB, free: 11.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.4871, allocations: 25.7 kB / 0.5265 GB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.4871, allocations: 130.8 kB / 0.5266 GB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.168e-05/0.4872, allocations: 53.45 kB / 0.5267 GB, free: 11.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.4872, allocations: 3.312 kB / 0.5267 GB, free: 11.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.068e-05/0.4873, allocations: 337.4 kB / 0.527 GB, free: 10.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000126/0.4874, allocations: 62.42 kB / 0.527 GB, free: 10.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.4875, allocations: 63.56 kB / 0.5271 GB, free: 10.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.4877, allocations: 82.67 kB / 0.5272 GB, free: 10.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4877, allocations: 3.812 kB / 0.5272 GB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003255/0.488, allocations: 228.9 kB / 0.5274 GB, free: 10.72 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.4881, allocations: 3.844 kB / 0.5274 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.4881, allocations: 0 / 0.5274 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4881, allocations: 0 / 0.5274 GB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.4883, allocations: 40.08 kB / 0.5274 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4883, allocations: 3.984 kB / 0.5274 GB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.4886, allocations: 37.78 kB / 0.5275 GB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.4886, allocations: 5.469 kB / 0.5275 GB, free: 10.69 MB / 362.7 MB Warning: Assuming fixed start value for the following 5 variables: Act2.y:VARIABLE(start = Act2.y_start fixed = true ) "Connector of Real output signal" type: Real Act1.y:VARIABLE(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 (21): * Single equations (assignments): 21 * 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.0001923/0.4888, allocations: 161.1 kB / 0.5276 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.4888, allocations: 16.06 kB / 0.5277 GB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004264/0.4893, allocations: 239.5 kB / 0.5279 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4893, allocations: 0 / 0.5279 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4893, allocations: 0 / 0.5279 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.4893, allocations: 3.984 kB / 0.5279 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002495/0.4896, allocations: 308.3 kB / 0.5282 GB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4896, allocations: 5.312 kB / 0.5282 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002133/0.4898, allocations: 34.7 kB / 0.5282 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4898, allocations: 0 / 0.5282 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.3e-05/0.4898, allocations: 11.7 kB / 0.5282 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4898, allocations: 0 / 0.5282 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4898, allocations: 0 / 0.5282 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.4903, allocations: 397.9 kB / 0.5286 GB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.157e-05/0.4904, allocations: 100.2 kB / 0.5287 GB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.302e-05/0.4904, allocations: 11.62 kB / 0.5287 GB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.4907, allocations: 23.47 kB / 0.5287 GB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.4907, allocations: 19.44 kB / 0.5288 GB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.4907, allocations: 3.688 kB / 0.5288 GB, free: 9.883 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003724/0.4911, allocations: 216.5 kB / 0.529 GB, free: 9.762 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.71e-07/0.4911, allocations: 0 / 0.529 GB, free: 9.762 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002646/0.4914, allocations: 49.5 kB / 0.529 GB, free: 9.75 MB / 362.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 (18): * Single equations (assignments): 18 * 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.0006601/0.4921, allocations: 0.9312 MB / 0.5299 GB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.4924, allocations: 172.2 kB / 0.5301 GB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4924, allocations: 0 / 0.5301 GB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.4925, allocations: 88.02 kB / 0.5302 GB, free: 8.992 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.4928, allocations: 31.94 kB / 0.5302 GB, free: 8.984 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.4954, allocations: 1.528 MB / 0.5317 GB, free: 8.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002055/0.4957, allocations: 0.7564 MB / 0.5324 GB, free: 7.469 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001411/0.4958, allocations: 46.2 kB / 0.5325 GB, free: 7.449 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.4959, allocations: 65.38 kB / 0.5325 GB, free: 7.434 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4959, allocations: 0 / 0.5325 GB, free: 7.434 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01532/0.5112, allocations: 3.818 MB / 0.5363 GB, free: 5.66 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/0.5114, allocations: 164.2 kB / 0.5364 GB, free: 5.426 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.202, allocations: 3.844 kB / 0.5364 GB, free: 5.426 MB / 362.7 MB (rm -f AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; mkfifo AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe ; head -c 1048576 < AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe >> ../files/AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_Typical_actuation_schemes_DaisyChain_fmu --startTime=0 --stopTime=300 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_Typical_actuation_schemes_DaisyChain.fmu > AES_AES.Coursework.Typical_actuation_schemes.DaisyChain.pipe 2>&1)