Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SOPDT_overdamped.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_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SOPDT_overdamped,fileNamePrefix="AES_AES_Devel_test_models_Test_SOPDT_overdamped",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.09931/0.09931, allocations: 21.62 MB / 36.56 MB, free: 1.051 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.001083/0.001083, allocations: 186.4 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.291/1.291, allocations: 223.2 MB / 272.1 MB, free: 1.363 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.0009454/0.0009452, allocations: 95.69 kB / 328.7 MB, free: 11.7 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.000333, allocations: 12 kB / 395.1 MB, free: 48.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08175/0.08211, allocations: 55.81 MB / 450.9 MB, free: 8.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2955/0.3777, allocations: 79.28 MB / 0.5178 GB, free: 11.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001629/0.3779, allocations: 71.31 kB / 0.5179 GB, free: 11.79 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01167/0.3896, allocations: 4.291 MB / 0.522 GB, free: 11.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3896, allocations: 0 / 0.522 GB, free: 11.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.3896, allocations: 3.812 kB / 0.522 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0008993/0.3905, allocations: 0.5486 MB / 0.5226 GB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.3905, allocations: 11.53 kB / 0.5226 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.335e-05/0.3906, allocations: 44.77 kB / 0.5226 GB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.066e-05/0.3906, allocations: 19.41 kB / 0.5227 GB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.3913, allocations: 338.5 kB / 0.523 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.3913, allocations: 3.938 kB / 0.523 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.881e-05/0.3913, allocations: 16.47 kB / 0.523 GB, free: 10.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000216/0.3916, allocations: 145.5 kB / 0.5231 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.3916, allocations: 1.938 kB / 0.5231 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3916, allocations: 11.75 kB / 0.5231 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.3916, allocations: 3.688 kB / 0.5232 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.3918, allocations: 124.4 kB / 0.5233 GB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008078/0.3926, allocations: 0.5877 MB / 0.5238 GB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.3928, allocations: 143.9 kB / 0.524 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3929, allocations: 3.531 kB / 0.524 GB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.166e-05/0.3929, allocations: 30.56 kB / 0.524 GB, free: 10.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.3929, allocations: 0 / 0.524 GB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004276/0.3933, allocations: 266.9 kB / 0.5243 GB, free: 10.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.856e-05/0.3934, allocations: 55.22 kB / 0.5243 GB, free: 10.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004954/0.3939, allocations: 270.2 kB / 0.5246 GB, free: 9.941 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.3939, allocations: 28.83 kB / 0.5246 GB, free: 9.91 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.394, allocations: 129 kB / 0.5247 GB, free: 9.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.394, allocations: 51.31 kB / 0.5248 GB, free: 9.789 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.087e-06/0.394, allocations: 3.25 kB / 0.5248 GB, free: 9.789 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.9e-05/0.3941, allocations: 331.4 kB / 0.5251 GB, free: 9.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.3942, allocations: 73.47 kB / 0.5252 GB, free: 9.477 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.689e-05/0.3943, allocations: 75.31 kB / 0.5252 GB, free: 9.477 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.3944, allocations: 86.98 kB / 0.5253 GB, free: 9.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3944, allocations: 3.938 kB / 0.5253 GB, free: 9.469 MB / 362.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002784/0.3947, allocations: 228.3 kB / 0.5255 GB, free: 9.418 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.3947, allocations: 3.656 kB / 0.5255 GB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3947, allocations: 7.812 kB / 0.5256 GB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3948, allocations: 0 / 0.5256 GB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.3951, allocations: 51.7 kB / 0.5256 GB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.3951, allocations: 0 / 0.5256 GB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002354/0.3954, allocations: 29.17 kB / 0.5256 GB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.3954, allocations: 7.219 kB / 0.5256 GB, free: 9.414 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 (17): * Single equations (assignments): 17 * 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.832e-05/0.3955, allocations: 142.3 kB / 0.5258 GB, free: 9.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.3955, allocations: 26.45 kB / 0.5258 GB, free: 9.277 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.262e-05/0.3956, allocations: 28.38 kB / 0.5258 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3956, allocations: 0 / 0.5258 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.3956, allocations: 4.938 kB / 0.5258 GB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3956, allocations: 3.938 kB / 0.5258 GB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.3959, allocations: 308.1 kB / 0.5261 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3959, allocations: 0 / 0.5261 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.3961, allocations: 24.92 kB / 0.5262 GB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.3961, allocations: 3.953 kB / 0.5262 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.3961, allocations: 7.5 kB / 0.5262 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3961, allocations: 4 kB / 0.5262 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.3961, allocations: 0 / 0.5262 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.3965, allocations: 384.8 kB / 0.5265 GB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.3966, allocations: 99.31 kB / 0.5266 GB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.187e-05/0.3966, allocations: 8.578 kB / 0.5266 GB, free: 8.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.3969, allocations: 35.31 kB / 0.5267 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.971e-05/0.3969, allocations: 7.016 kB / 0.5267 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3969, allocations: 7.906 kB / 0.5267 GB, free: 8.816 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004245/0.3974, allocations: 232.5 kB / 0.5269 GB, free: 8.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3974, allocations: 0 / 0.5269 GB, free: 8.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.3976, allocations: 41.69 kB / 0.5269 GB, free: 8.727 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (P1.Pr.x_scaled[1],P1.Pr.x_scaled[2],P2.Pr.x_scaled[1],P2.Pr.x_scaled[2]) * 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 (13): * Single equations (assignments): 13 * 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.000541/0.3982, allocations: 0.92 MB / 0.5278 GB, free: 8.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.3985, allocations: 166.9 kB / 0.528 GB, free: 8.035 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3985, allocations: 0 / 0.528 GB, free: 8.035 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001111/0.3986, allocations: 80.41 kB / 0.5281 GB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.3988, allocations: 31.61 kB / 0.5281 GB, free: 8.008 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002568/0.4014, allocations: 1.531 MB / 0.5296 GB, free: 7.277 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001659/0.4016, allocations: 0.7491 MB / 0.5303 GB, free: 6.555 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.4017, allocations: 44.92 kB / 0.5304 GB, free: 6.539 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.4018, allocations: 59.84 kB / 0.5304 GB, free: 6.523 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4018, allocations: 0 / 0.5304 GB, free: 6.523 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0128/0.4146, allocations: 3.97 MB / 0.5343 GB, free: 4.684 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001154/0.4148, allocations: 167.6 kB / 0.5345 GB, free: 4.441 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.115, allocations: 4 kB / 0.5345 GB, free: 4.438 MB / 362.7 MB (rm -f AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; mkfifo AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe >> ../files/AES_AES.Devel_test_models.Test_SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SOPDT_overdamped_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SOPDT_overdamped.fmu > AES_AES.Devel_test_models.Test_SOPDT_overdamped.pipe 2>&1)