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: translateModel(AES.Devel_test_models.Test_analogue_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_PI_awfb_full") translateModel(AES.Devel_test_models.Test_analogue_PI_awfb_full,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1200,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_analogue_PI_awfb_full") [/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.09625/0.09625, allocations: 21.61 MB / 36.56 MB, free: 1.094 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.001019/0.001019, allocations: 186.4 kB / 42.82 MB, free: 3.777 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.259/1.259, allocations: 223.2 MB / 272.2 MB, free: 1.422 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.0008182/0.0008183, allocations: 91.25 kB / 328.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002868, allocations: 8 kB / 395 MB, free: 48.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08764/0.08794, allocations: 55.83 MB / 450.8 MB, free: 8.648 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3014/0.3894, allocations: 79.39 MB / 0.5178 GB, free: 11.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001947/0.3897, allocations: 65.94 kB / 0.5179 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.005479/0.3952, allocations: 2.171 MB / 0.52 GB, free: 11.33 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3952, allocations: 0 / 0.52 GB, free: 11.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3952, allocations: 3.844 kB / 0.52 GB, free: 11.33 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.0003883/0.3956, allocations: 415.8 kB / 0.5204 GB, free: 10.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.215e-05/0.3956, allocations: 15.53 kB / 0.5204 GB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.3957, allocations: 15.5 kB / 0.5204 GB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.3958, allocations: 212.5 kB / 0.5206 GB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.3959, allocations: 15.41 kB / 0.5206 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.132e-05/0.3959, allocations: 18.12 kB / 0.5207 GB, free: 10.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003032/0.3962, allocations: 157.5 kB / 0.5208 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.3962, allocations: 0 / 0.5208 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.3963, allocations: 10.95 kB / 0.5208 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.3963, allocations: 7.844 kB / 0.5208 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.3966, allocations: 116.6 kB / 0.5209 GB, free: 10.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007374/0.3973, allocations: 0.5031 MB / 0.5214 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002158/0.3976, allocations: 116.7 kB / 0.5215 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.3976, allocations: 7.297 kB / 0.5215 GB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.3976, allocations: 34.16 kB / 0.5216 GB, free: 10.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.3976, allocations: 0 / 0.5216 GB, free: 10.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005458/0.3982, allocations: 227.4 kB / 0.5218 GB, free: 10.26 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.329e-05/0.3982, allocations: 55.22 kB / 0.5219 GB, free: 10.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.906e-05/0.3983, allocations: 126 kB / 0.522 GB, free: 10.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.417e-05/0.3983, allocations: 29.64 kB / 0.522 GB, free: 10.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.3983, allocations: 118.7 kB / 0.5221 GB, free: 9.977 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3984, allocations: 67.44 kB / 0.5222 GB, free: 9.934 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.148e-06/0.3984, allocations: 3.938 kB / 0.5222 GB, free: 9.934 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.962e-05/0.3985, allocations: 325.2 kB / 0.5225 GB, free: 9.617 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3986, allocations: 59.53 kB / 0.5225 GB, free: 9.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3988, allocations: 81.39 kB / 0.5226 GB, free: 9.598 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.3989, allocations: 60.02 kB / 0.5227 GB, free: 9.598 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.3989, allocations: 0 / 0.5227 GB, free: 9.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003532/0.3993, allocations: 200.6 kB / 0.5229 GB, free: 9.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.3993, allocations: 3.812 kB / 0.5229 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.3993, allocations: 3.844 kB / 0.5229 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.133e-05/0.3993, allocations: 0 / 0.5229 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.3997, allocations: 58.94 kB / 0.5229 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.373e-06/0.3997, allocations: 0 / 0.5229 GB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.3999, allocations: 28.78 kB / 0.523 GB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3999, allocations: 7.688 kB / 0.523 GB, free: 9.535 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.989e-05/0.4, allocations: 126.3 kB / 0.5231 GB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.4, allocations: 19.48 kB / 0.5231 GB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.4006, allocations: 209 kB / 0.5233 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.4006, allocations: 0 / 0.5233 GB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.4006, allocations: 3.953 kB / 0.5233 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.4006, allocations: 4.719 kB / 0.5233 GB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.4009, allocations: 251.8 kB / 0.5236 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.4009, allocations: 0 / 0.5236 GB, free: 9.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.4013, allocations: 47.03 kB / 0.5236 GB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4013, allocations: 0 / 0.5236 GB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4013, allocations: 6.375 kB / 0.5236 GB, free: 9.156 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.4013, allocations: 15.7 kB / 0.5236 GB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4013, allocations: 3.938 kB / 0.5236 GB, free: 9.141 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006805/0.402, allocations: 360.3 kB / 0.524 GB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.402, allocations: 88.92 kB / 0.5241 GB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.4021, allocations: 6.312 kB / 0.5241 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.4023, allocations: 23.34 kB / 0.5241 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.452e-05/0.4024, allocations: 28.3 kB / 0.5241 GB, free: 8.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.4024, allocations: 7.062 kB / 0.5241 GB, free: 8.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.321e-05/0.4025, allocations: 98.38 kB / 0.5242 GB, free: 8.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4025, allocations: 0 / 0.5242 GB, free: 8.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00029/0.4028, allocations: 38.17 kB / 0.5243 GB, free: 8.805 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.0001151/0.4029, allocations: 116 kB / 0.5244 GB, free: 8.703 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000445/0.4033, allocations: 154.3 kB / 0.5245 GB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4034, allocations: 3.875 kB / 0.5245 GB, free: 8.695 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002033/0.4036, allocations: 82.14 kB / 0.5246 GB, free: 8.691 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.4038, allocations: 14.5 kB / 0.5246 GB, free: 8.688 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007479/0.4046, allocations: 433.5 kB / 0.525 GB, free: 8.438 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/0.4047, allocations: 0.7299 MB / 0.5257 GB, free: 7.742 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.4049, allocations: 20.22 kB / 0.5257 GB, free: 7.734 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.99e-05/0.405, allocations: 15.28 kB / 0.5258 GB, free: 7.727 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.405, allocations: 0 / 0.5258 GB, free: 7.727 MB / 362.7 MB Notification: Performance of Templates: time 0.003831/0.4088, allocations: 1.416 MB / 0.5271 GB, free: 7.629 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.makefile (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 & ./AES_AES.Devel_test_models.Test_analogue_PI_awfb_full -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_analogue_PI_awfb_full.pipe 2>&1)