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 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.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.1154/0.1154, allocations: 21.46 MB / 36.42 MB, free: 1.191 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.0009596/0.0009595, allocations: 187.1 kB / 42.65 MB, free: 3.988 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.607/1.607, allocations: 205.4 MB / 254.1 MB, free: 15.22 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.0007045/0.0007044, allocations: 82.38 kB / 307.8 MB, free: 11.08 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 9.281 kB / 371.2 MB, free: 60.13 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09561, allocations: 52.96 MB / 424.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_analogue_PI_awfb_full): time 0.001746/0.09744, allocations: 1.41 MB / 425.6 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002885/0.09774, allocations: 151.2 kB / 425.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.335e-05/0.09784, allocations: 0 / 425.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.286e-05/0.09795, allocations: 15.88 kB / 425.8 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.09808, allocations: 15.86 kB / 425.8 MB, free: 13.4 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:71:5-71:30:writable] Warning: Conditional component ‘ovrMax‘ is used in a non-connect context. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ControlBlocks/AnalogueControllers/PI_awfb_full.mo:77:5-77:30:writable] Warning: Conditional component ‘ovrMin‘ is used in a non-connect context. Notification: Performance of NFTyping.typeClassSections: time 9.451e-05/0.09819, allocations: 39.89 kB / 425.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000131/0.09832, allocations: 123.7 kB / 426 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.09846, allocations: 57.73 kB / 426 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.09851, allocations: 43.78 kB / 426.1 MB, free: 13.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.0986, allocations: 55.69 kB / 426.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.09863, allocations: 4 kB / 426.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.742e-05/0.09865, allocations: 4 kB / 426.1 MB, free: 13.08 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.09867, allocations: 27.84 kB / 426.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.275e-05/0.0987, allocations: 45.64 kB / 426.2 MB, free: 13 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.475e-05/0.09879, allocations: 83.83 kB / 426.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.09881, allocations: 0 / 426.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.09881, allocations: 0 / 426.3 MB, free: 12.92 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.09882, allocations: 0 / 426.3 MB, free: 12.92 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0004882/0.09932, allocations: 414.9 kB / 426.7 MB, free: 12.47 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.09936, allocations: 12.03 kB / 426.7 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.434e-05/0.09941, allocations: 23.81 kB / 426.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001501/0.09956, allocations: 198.8 kB / 426.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.0996, allocations: 19.95 kB / 426.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.09964, allocations: 16 kB / 426.9 MB, free: 12.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.09997, allocations: 161.2 kB / 427.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.09999, allocations: 0 / 427.1 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.1, allocations: 8 kB / 427.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.1, allocations: 4 kB / 427.1 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.1004, allocations: 123.7 kB / 427.2 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.1011, allocations: 0.4884 MB / 427.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002382/0.1014, allocations: 118.5 kB / 427.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001693/0.1016, allocations: 76.77 kB / 427.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.1016, allocations: 0 / 427.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.305e-05/0.1016, allocations: 42.55 kB / 427.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=20): time 9.21e-07/0.1016, allocations: 0 / 427.9 MB, free: 11.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005992/0.1022, allocations: 231.4 kB / 428.2 MB, free: 10.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.063e-05/0.1023, allocations: 51.41 kB / 428.2 MB, free: 10.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.42e-05/0.1023, allocations: 129.8 kB / 428.4 MB, free: 10.64 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.1024, allocations: 29.7 kB / 428.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.1024, allocations: 116.3 kB / 428.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.1025, allocations: 59.11 kB / 428.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.043e-05/0.1025, allocations: 4 kB / 428.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.4e-05/0.1025, allocations: 330.8 kB / 428.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.1027, allocations: 59.91 kB / 428.9 MB, free: 10.04 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.1029, allocations: 77.67 kB / 429 MB, free: 9.957 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001696/0.1031, allocations: 69.44 kB / 429.1 MB, free: 9.891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1031, allocations: 7.938 kB / 429.1 MB, free: 9.883 MB / 298.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003901/0.1035, allocations: 205.7 kB / 429.3 MB, free: 9.676 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1035, allocations: 6.344 kB / 429.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1035, allocations: 0 / 429.3 MB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1035, allocations: 4 kB / 429.3 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.1039, allocations: 47.97 kB / 429.3 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1039, allocations: 4 kB / 429.3 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.1041, allocations: 35.84 kB / 429.4 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.1041, allocations: 4 kB / 429.4 MB, free: 9.578 MB / 298.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.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * 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 8.143e-05/0.1042, allocations: 137.7 kB / 429.5 MB, free: 9.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.1043, allocations: 7.906 kB / 429.5 MB, free: 9.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004592/0.1047, allocations: 213.6 kB / 429.7 MB, free: 9.215 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1047, allocations: 4 kB / 429.7 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.1048, allocations: 3.984 kB / 429.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1048, allocations: 0 / 429.7 MB, free: 9.207 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.105, allocations: 261.5 kB / 430 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.105, allocations: 0 / 430 MB, free: 8.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002685/0.1053, allocations: 43.97 kB / 430 MB, free: 8.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1053, allocations: 4 kB / 430 MB, free: 8.855 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.619e-05/0.1053, allocations: 4 kB / 430.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1053, allocations: 0 / 430.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1053, allocations: 11.98 kB / 430.1 MB, free: 8.84 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005818/0.1059, allocations: 347.6 kB / 430.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.052e-05/0.106, allocations: 96.81 kB / 430.5 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.106, allocations: 4 kB / 430.5 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.1062, allocations: 24.03 kB / 430.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.1063, allocations: 31.94 kB / 430.6 MB, free: 8.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.089e-05/0.1063, allocations: 4 kB / 430.6 MB, free: 8.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.833e-05/0.1063, allocations: 99.83 kB / 430.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1063, allocations: 0 / 430.7 MB, free: 8.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002237/0.1065, allocations: 31.91 kB / 430.7 MB, free: 8.18 MB / 298.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.noInc,C.noDec,C.HIsat,C.LOsat,ts.y) * 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 9.812e-05/0.1067, allocations: 111 kB / 430.8 MB, free: 8.059 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004067/0.1071, allocations: 159.8 kB / 431 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.1071, allocations: 0 / 431 MB, free: 7.902 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001804/0.1073, allocations: 79.91 kB / 431 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.1076, allocations: 20.41 kB / 431.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006621/0.1083, allocations: 454 kB / 431.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.1084, allocations: 0.7244 MB / 432.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000123/0.1086, allocations: 21.42 kB / 432.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.631e-05/0.1086, allocations: 15.44 kB / 432.3 MB, free: 6.547 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.1086, allocations: 3.938 kB / 432.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of Templates: time 0.003339/0.112, allocations: 1.405 MB / 433.7 MB, free: 5.137 MB / 298.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)