Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.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_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",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.1301/0.1301, allocations: 21.62 MB / 36.56 MB, free: 1.102 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.001265/0.001265, allocations: 179.4 kB / 42.83 MB, free: 3.809 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.29/1.29, allocations: 223.2 MB / 272.1 MB, free: 1.391 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.0008605/0.0008605, allocations: 100.2 kB / 328.7 MB, free: 11.71 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002738, allocations: 12 kB / 395.1 MB, free: 48.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07448/0.07477, allocations: 55.81 MB / 450.9 MB, free: 8.523 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2671/0.3419, allocations: 78.52 MB / 0.517 GB, free: 11.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001895/0.3422, allocations: 66.66 kB / 0.5171 GB, free: 11.74 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007146/0.3493, allocations: 2.692 MB / 0.5197 GB, free: 11.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3493, allocations: 0 / 0.5197 GB, free: 11.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.376e-06/0.3494, allocations: 0 / 0.5197 GB, free: 11.29 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003041/0.3497, allocations: 386.6 kB / 0.5201 GB, free: 10.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.3497, allocations: 14.5 kB / 0.5201 GB, free: 10.9 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.3498, allocations: 40.19 kB / 0.5202 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.3498, allocations: 12.52 kB / 0.5202 GB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.3499, allocations: 197.6 kB / 0.5204 GB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.35, allocations: 11.06 kB / 0.5204 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/0.35, allocations: 7.031 kB / 0.5204 GB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3501, allocations: 68.39 kB / 0.5204 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3501, allocations: 3.953 kB / 0.5204 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.3501, allocations: 0 / 0.5204 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3501, allocations: 11.81 kB / 0.5205 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.905e-05/0.3502, allocations: 20.17 kB / 0.5205 GB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003736/0.3506, allocations: 348.2 kB / 0.5208 GB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002746/0.3509, allocations: 65.95 kB / 0.5209 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.3509, allocations: 4 kB / 0.5209 GB, free: 10.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.256e-05/0.3509, allocations: 30.56 kB / 0.5209 GB, free: 10.26 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.3509, allocations: 0 / 0.5209 GB, free: 10.26 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002013/0.3511, allocations: 79.39 kB / 0.521 GB, free: 10.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.88e-05/0.3512, allocations: 51.41 kB / 0.521 GB, free: 10.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.3513, allocations: 128.9 kB / 0.5211 GB, free: 10.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.3513, allocations: 25.7 kB / 0.5212 GB, free: 10.03 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.3513, allocations: 112 kB / 0.5213 GB, free: 9.938 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.3513, allocations: 25.86 kB / 0.5213 GB, free: 9.922 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.3513, allocations: 0 / 0.5213 GB, free: 9.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.3514, allocations: 321.1 kB / 0.5216 GB, free: 9.609 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/0.3514, allocations: 14.75 kB / 0.5216 GB, free: 9.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.129e-05/0.3515, allocations: 14.58 kB / 0.5216 GB, free: 9.609 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.928e-05/0.3515, allocations: 18.86 kB / 0.5217 GB, free: 9.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3515, allocations: 3.906 kB / 0.5217 GB, free: 9.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001101/0.3516, allocations: 83.83 kB / 0.5217 GB, free: 9.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.3517, allocations: 5.219 kB / 0.5217 GB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3517, allocations: 0.8125 kB / 0.5217 GB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3517, allocations: 3.938 kB / 0.5217 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.3518, allocations: 10.88 kB / 0.5218 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.3518, allocations: 0 / 0.5218 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.254e-05/0.3518, allocations: 3.125 kB / 0.5218 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.961e-06/0.3518, allocations: 3.438 kB / 0.5218 GB, free: 9.562 MB / 362.7 MB 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 (7): * Single equations (assignments): 7 * 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 5.153e-05/0.3519, allocations: 123 kB / 0.5219 GB, free: 9.445 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.705e-05/0.3519, allocations: 11.62 kB / 0.5219 GB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.3519, allocations: 10.91 kB / 0.5219 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3519, allocations: 4.859 kB / 0.5219 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.352, allocations: 0 / 0.5219 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.352, allocations: 0 / 0.5219 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.3521, allocations: 196.3 kB / 0.5221 GB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3521, allocations: 3.953 kB / 0.5221 GB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.405e-05/0.3522, allocations: 7.531 kB / 0.5221 GB, free: 9.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.3522, allocations: 4.188 kB / 0.5221 GB, free: 9.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.3522, allocations: 7.062 kB / 0.5221 GB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3522, allocations: 8 kB / 0.5221 GB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.3522, allocations: 7.625 kB / 0.5221 GB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001778/0.3524, allocations: 179.7 kB / 0.5223 GB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.494e-05/0.3524, allocations: 91.69 kB / 0.5224 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.625e-05/0.3525, allocations: 0 / 0.5224 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.57e-05/0.3525, allocations: 0 / 0.5224 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.3526, allocations: 9.672 kB / 0.5224 GB, free: 8.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3526, allocations: 0 / 0.5224 GB, free: 8.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.501e-05/0.3526, allocations: 116 kB / 0.5225 GB, free: 8.906 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3526, allocations: 0 / 0.5225 GB, free: 8.906 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002271/0.3529, allocations: 19.25 kB / 0.5225 GB, free: 8.898 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.Pr.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 (5): * Single equations (assignments): 5 * 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.000313/0.3532, allocations: 0.7199 MB / 0.5232 GB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001167/0.3533, allocations: 40.7 kB / 0.5233 GB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3533, allocations: 0 / 0.5233 GB, free: 8.227 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.3534, allocations: 18.12 kB / 0.5233 GB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002227/0.3536, allocations: 10.97 kB / 0.5233 GB, free: 8.223 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007179/0.3543, allocations: 0.6203 MB / 0.5239 GB, free: 7.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.803e-05/0.3544, allocations: 0.7021 MB / 0.5246 GB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.347e-05/0.3545, allocations: 11.25 kB / 0.5246 GB, free: 7.121 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.934e-05/0.3545, allocations: 24.53 kB / 0.5246 GB, free: 7.113 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3545, allocations: 0 / 0.5246 GB, free: 7.113 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01117/0.3657, allocations: 1.819 MB / 0.5264 GB, free: 6.922 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001127/0.3658, allocations: 160.5 kB / 0.5266 GB, free: 6.676 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/1.838, allocations: 0 / 0.5266 GB, free: 6.676 MB / 362.7 MB (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_FOPDT_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)