Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.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.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_PI_awfb_full",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.108/0.108, allocations: 21.62 MB / 36.57 MB, free: 1.078 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.001242/0.001242, allocations: 187 kB / 42.83 MB, free: 3.785 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.327/1.327, allocations: 223.2 MB / 272.1 MB, free: 1.383 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.0008799/0.0008797, allocations: 95.05 kB / 328.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003166/0.0003167, allocations: 8 kB / 395.1 MB, free: 48.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08791/0.08825, allocations: 55.82 MB / 450.9 MB, free: 8.57 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2912/0.3795, allocations: 79.4 MB / 0.5179 GB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001673/0.3797, allocations: 68.05 kB / 0.518 GB, free: 11.8 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:49:3-49:23:writable] Warning: Connecting two signal sources while connecting iBias to Bias. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:50:3-50:19:writable] Warning: Connecting two signal sources while connecting iTS to TS. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:51:3-51:19:writable] Warning: Connecting two signal sources while connecting iTR to TR. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:52:3-52:25:writable] Warning: Connecting two signal sources while connecting iNoInc to noInc. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:53:3-53:25:writable] Warning: Connecting two signal sources while connecting iNoDec to noDec. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:54:3-54:27:writable] Warning: Connecting two signal sources while connecting iOvrMax to ovrMax. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:55:3-55:27:writable] Warning: Connecting two signal sources while connecting iOvrMin to ovrMin. Notification: Performance of FrontEnd - DAE generated: time 0.005585/0.3853, allocations: 2.162 MB / 0.5201 GB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.684e-06/0.3853, allocations: 192 / 0.5201 GB, free: 11.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3853, allocations: 7.75 kB / 0.5201 GB, free: 11.34 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004575/0.3858, allocations: 431.2 kB / 0.5205 GB, free: 10.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.3858, allocations: 11.53 kB / 0.5205 GB, free: 10.95 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.478e-05/0.3859, allocations: 45.8 kB / 0.5206 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.666e-05/0.3859, allocations: 15.5 kB / 0.5206 GB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.3861, allocations: 213.6 kB / 0.5208 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.3861, allocations: 14.69 kB / 0.5208 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.311e-05/0.3862, allocations: 18.75 kB / 0.5208 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003165/0.3865, allocations: 149.3 kB / 0.5209 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3865, allocations: 0 / 0.5209 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.3865, allocations: 13.3 kB / 0.521 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.3866, allocations: 7.312 kB / 0.521 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.3869, allocations: 112 kB / 0.5211 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00081/0.3877, allocations: 0.5165 MB / 0.5216 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.388, allocations: 115.1 kB / 0.5217 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.388, allocations: 0 / 0.5217 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.541e-05/0.388, allocations: 34.88 kB / 0.5217 GB, free: 10.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.873e-06/0.388, allocations: 4 kB / 0.5217 GB, free: 10.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005888/0.3886, allocations: 228.6 kB / 0.5219 GB, free: 10.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.3887, allocations: 55.38 kB / 0.522 GB, free: 10.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.057e-05/0.3887, allocations: 120.9 kB / 0.5221 GB, free: 10.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.3887, allocations: 29.64 kB / 0.5221 GB, free: 10.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.104e-05/0.3888, allocations: 112.8 kB / 0.5222 GB, free: 9.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.3888, allocations: 78.14 kB / 0.5223 GB, free: 9.906 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.768e-06/0.3888, allocations: 3.5 kB / 0.5223 GB, free: 9.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.3889, allocations: 323.8 kB / 0.5226 GB, free: 9.594 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.3891, allocations: 58.39 kB / 0.5227 GB, free: 9.594 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.3892, allocations: 77.2 kB / 0.5228 GB, free: 9.578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.3894, allocations: 67.2 kB / 0.5228 GB, free: 9.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3894, allocations: 0 / 0.5228 GB, free: 9.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003788/0.3898, allocations: 194.9 kB / 0.523 GB, free: 9.523 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.3898, allocations: 7.625 kB / 0.523 GB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.3898, allocations: 0 / 0.523 GB, free: 9.523 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3898, allocations: 3.953 kB / 0.523 GB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004145/0.3903, allocations: 59.8 kB / 0.5231 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3903, allocations: 3.906 kB / 0.5231 GB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000156/0.3904, allocations: 28.86 kB / 0.5231 GB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.3905, allocations: 7.719 kB / 0.5231 GB, free: 9.508 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 (C.HIsat,C.LOsat,C.TS,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 7.539e-05/0.3905, allocations: 131.2 kB / 0.5232 GB, free: 9.387 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.3906, allocations: 11.75 kB / 0.5233 GB, free: 9.379 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004339/0.391, allocations: 205.3 kB / 0.5234 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.391, allocations: 3.844 kB / 0.5235 GB, free: 9.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.391, allocations: 4.719 kB / 0.5235 GB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.391, allocations: 0 / 0.5235 GB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.3912, allocations: 248.5 kB / 0.5237 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.3912, allocations: 0 / 0.5237 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002644/0.3915, allocations: 53.8 kB / 0.5237 GB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3915, allocations: 3.938 kB / 0.5237 GB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.651e-05/0.3915, allocations: 0 / 0.5237 GB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3916, allocations: 3.969 kB / 0.5238 GB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3916, allocations: 0 / 0.5238 GB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.3921, allocations: 365.8 kB / 0.5241 GB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.3921, allocations: 92.73 kB / 0.5242 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.3922, allocations: 3 kB / 0.5242 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001866/0.3924, allocations: 22.86 kB / 0.5242 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.401e-05/0.3925, allocations: 29.8 kB / 0.5242 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.039e-05/0.3925, allocations: 3.844 kB / 0.5242 GB, free: 8.875 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.394e-05/0.3925, allocations: 105.5 kB / 0.5243 GB, free: 8.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3925, allocations: 4 kB / 0.5244 GB, free: 8.793 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.3928, allocations: 37.81 kB / 0.5244 GB, free: 8.785 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C.xfb,C.xBias,C.u,C.csfil,P.y) * Number of discrete variables: 5 (C.HIsat,C.LOsat,C.TS,C.noInc,C.noDec) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0007069/0.3935, allocations: 0.8942 MB / 0.5253 GB, free: 8.105 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004956/0.394, allocations: 148.8 kB / 0.5254 GB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.394, allocations: 0 / 0.5254 GB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002429/0.3942, allocations: 83.2 kB / 0.5255 GB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003173/0.3946, allocations: 17.59 kB / 0.5255 GB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.3962, allocations: 1.151 MB / 0.5266 GB, free: 7.441 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001263/0.3963, allocations: 0.726 MB / 0.5273 GB, free: 6.746 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.3965, allocations: 27.91 kB / 0.5274 GB, free: 6.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.044e-05/0.3965, allocations: 48.44 kB / 0.5274 GB, free: 6.727 MB / 362.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3965, allocations: 0 / 0.5274 GB, free: 6.727 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.4099, allocations: 2.911 MB / 0.5302 GB, free: 6.055 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/0.4101, allocations: 169.1 kB / 0.5304 GB, free: 5.816 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.51/1.92, allocations: 3.938 kB / 0.5304 GB, free: 5.812 MB / 362.7 MB (rm -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_analogue_PI_awfb_full_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_analogue_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1)