Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_digital_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_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_PI_awfb_full",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_digital_PI_awfb_full,fileNamePrefix="AES_AES_Devel_test_models_Test_digital_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.09946/0.09946, allocations: 21.62 MB / 36.57 MB, free: 1.07 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.001046/0.001046, allocations: 187.1 kB / 42.83 MB, free: 3.789 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.276/1.276, allocations: 223.2 MB / 272.1 MB, free: 1.75 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.001012/0.001012, allocations: 104.2 kB / 328.7 MB, free: 12.09 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000281/0.000281, allocations: 11.94 kB / 395.1 MB, free: 48.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08095/0.08124, allocations: 55.82 MB / 450.9 MB, free: 8.574 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3062/0.3875, allocations: 79.39 MB / 0.5179 GB, free: 11.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001879/0.3877, allocations: 64.47 kB / 0.5179 GB, free: 11.73 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:51:3-51:23:writable] Warning: Connecting two signal sources while connecting iBias to Bias. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:52:3-52:19:writable] Warning: Connecting two signal sources while connecting iTS to TS. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:53:3-53:19:writable] Warning: Connecting two signal sources while connecting iTR to TR. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:54:3-54:25:writable] Warning: Connecting two signal sources while connecting iNoInc to noInc. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:55:3-55:25:writable] Warning: Connecting two signal sources while connecting iNoDec to noDec. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:56:3-56:27:writable] Warning: Connecting two signal sources while connecting iOvrMax to ovrMax. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/DigitalControllers/PI_awfb_full.mo:57:3-57:27:writable] Warning: Connecting two signal sources while connecting iOvrMin to ovrMin. Notification: Performance of FrontEnd - DAE generated: time 0.005291/0.393, allocations: 2.192 MB / 0.5201 GB, free: 11.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3931, allocations: 0 / 0.5201 GB, free: 11.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.669e-06/0.3931, allocations: 3.844 kB / 0.5201 GB, free: 11.26 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.0003622/0.3934, allocations: 477.3 kB / 0.5205 GB, free: 10.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.3935, allocations: 7.656 kB / 0.5206 GB, free: 10.8 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.476e-05/0.3935, allocations: 51.06 kB / 0.5206 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.442e-05/0.3936, allocations: 19.34 kB / 0.5206 GB, free: 10.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.3938, allocations: 218.9 kB / 0.5208 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.3938, allocations: 14.94 kB / 0.5208 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.3938, allocations: 18.69 kB / 0.5209 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.3942, allocations: 148.6 kB / 0.521 GB, free: 10.51 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.3942, allocations: 3.938 kB / 0.521 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/0.3942, allocations: 11.2 kB / 0.521 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3942, allocations: 4.531 kB / 0.521 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002827/0.3945, allocations: 102.8 kB / 0.5211 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007065/0.3952, allocations: 486.8 kB / 0.5216 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.3955, allocations: 165.5 kB / 0.5217 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.3955, allocations: 4 kB / 0.5217 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.3958, allocations: 161.9 kB / 0.5219 GB, free: 10.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.443e-06/0.3958, allocations: 0 / 0.5219 GB, free: 10.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007047/0.3965, allocations: 423.9 kB / 0.5223 GB, free: 9.922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.3966, allocations: 131.5 kB / 0.5224 GB, free: 9.789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.946e-05/0.3966, allocations: 131.2 kB / 0.5226 GB, free: 9.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.3967, allocations: 33.2 kB / 0.5226 GB, free: 9.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.3967, allocations: 114.8 kB / 0.5227 GB, free: 9.562 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.564e-05/0.3967, allocations: 56.62 kB / 0.5228 GB, free: 9.531 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.676e-06/0.3968, allocations: 3.312 kB / 0.5228 GB, free: 9.531 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.3968, allocations: 324.5 kB / 0.5231 GB, free: 9.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.397, allocations: 56.73 kB / 0.5231 GB, free: 9.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.3971, allocations: 122.8 kB / 0.5232 GB, free: 9.141 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3973, allocations: 125.2 kB / 0.5234 GB, free: 9.066 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3973, allocations: 7.375 kB / 0.5234 GB, free: 9.066 MB / 362.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004389/0.3978, allocations: 313.4 kB / 0.5237 GB, free: 8.949 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.702e-05/0.3978, allocations: 70.19 kB / 0.5237 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3978, allocations: 0 / 0.5237 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3978, allocations: 3.969 kB / 0.5237 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.398, allocations: 27.12 kB / 0.5238 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.398, allocations: 11.8 kB / 0.5238 GB, free: 8.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.3981, allocations: 34.22 kB / 0.5238 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.3982, allocations: 11.44 kB / 0.5238 GB, free: 8.867 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition1,$PRE.C.HIsat,C.HIsat,$PRE.C.LOsat,C.LOsat,$PRE.C.xBias,C.xBias,$PRE.C.iBiaso,C.iBiaso,$PRE.C.fBias,C.fBias,$PRE.C.xfb,C.xfb,$PRE.C.ulin,C.ulin,$PRE.C.ulino,C.ulino,$PRE.C.u,C.u,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 (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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 9.803e-05/0.3983, allocations: 168.1 kB / 0.524 GB, free: 8.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.3983, allocations: 11.59 kB / 0.524 GB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005413/0.3988, allocations: 346.3 kB / 0.5243 GB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3989, allocations: 3.969 kB / 0.5243 GB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.3989, allocations: 0 / 0.5243 GB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3989, allocations: 2.531 kB / 0.5243 GB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001387/0.399, allocations: 253.8 kB / 0.5246 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.399, allocations: 0 / 0.5246 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001201/0.3992, allocations: 18.12 kB / 0.5246 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3992, allocations: 2.766 kB / 0.5246 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.3992, allocations: 7.906 kB / 0.5246 GB, free: 8.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.3992, allocations: 7.844 kB / 0.5246 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.3992, allocations: 0 / 0.5246 GB, free: 8.426 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007305/0.3999, allocations: 447.1 kB / 0.525 GB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.509e-05/0.4, allocations: 92.95 kB / 0.5251 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.4, allocations: 7.219 kB / 0.5251 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001647/0.4002, allocations: 26.27 kB / 0.5251 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.475e-05/0.4003, allocations: 22.23 kB / 0.5252 GB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4003, allocations: 11.64 kB / 0.5252 GB, free: 8.211 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.927e-05/0.4003, allocations: 105.2 kB / 0.5253 GB, free: 8.133 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4003, allocations: 0 / 0.5253 GB, free: 8.133 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.4006, allocations: 46.44 kB / 0.5253 GB, free: 8.125 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (P.y) * Number of discrete variables: 13 ($whenCondition1,C.HIsat,C.LOsat,C.xBias,C.iBiaso,C.fBias,C.xfb,C.ulin,C.ulino,C.u,C.TS,C.noInc,C.noDec) * Number of discrete states: 10 (C.LOsat,C.HIsat,C.u,C.ulino,C.ulin,C.xfb,C.iBiaso,C.fBias,C.xBias,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0008766/0.4014, allocations: 1.004 MB / 0.5263 GB, free: 7.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004585/0.4019, allocations: 368.3 kB / 0.5267 GB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4019, allocations: 0 / 0.5267 GB, free: 7.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.4022, allocations: 290.1 kB / 0.5269 GB, free: 7.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001684/0.4024, allocations: 19.52 kB / 0.5269 GB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001772/0.4041, allocations: 2.192 MB / 0.5291 GB, free: 5.551 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.4043, allocations: 0.7259 MB / 0.5298 GB, free: 4.852 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.23e-05/0.4044, allocations: 10.94 kB / 0.5298 GB, free: 4.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.408e-05/0.4044, allocations: 42.94 kB / 0.5298 GB, free: 4.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4045, allocations: 0 / 0.5298 GB, free: 4.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01584/0.4203, allocations: 2.809 MB / 0.5326 GB, free: 4.066 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/0.4205, allocations: 165.3 kB / 0.5328 GB, free: 3.832 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/1.977, allocations: 0 / 0.5328 GB, free: 3.832 MB / 362.7 MB (rm -f AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; mkfifo AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe >> ../files/AES_AES.Devel_test_models.Test_digital_PI_awfb_full.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_digital_PI_awfb_full_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_digital_PI_awfb_full.fmu > AES_AES.Devel_test_models.Test_digital_PI_awfb_full.pipe 2>&1)