Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_002.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_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_002,fileNamePrefix="AES_AES_Devel_test_models_Test_header_002",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.1523/0.1523, allocations: 21.61 MB / 36.56 MB, free: 1.078 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.001542/0.001542, allocations: 186.4 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.375/1.375, allocations: 223.2 MB / 272.1 MB, free: 1.797 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.0009222/0.0009221, allocations: 106.9 kB / 328.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003566/0.0003565, allocations: 11.98 kB / 397.1 MB, free: 46.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1077, allocations: 55.81 MB / 452.9 MB, free: 6.633 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3571/0.4649, allocations: 80.18 MB / 0.5206 GB, free: 12.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002321/0.4651, allocations: 66.33 kB / 0.5207 GB, free: 12.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00485/0.47, allocations: 2.218 MB / 0.5228 GB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.47, allocations: 0 / 0.5228 GB, free: 12.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.47, allocations: 3.844 kB / 0.5228 GB, free: 12.41 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: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004222/0.4705, allocations: 430.4 kB / 0.5233 GB, free: 12.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.4705, allocations: 13.62 kB / 0.5233 GB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.167e-05/0.4706, allocations: 47.52 kB / 0.5233 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.301e-05/0.4706, allocations: 15.28 kB / 0.5233 GB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.4709, allocations: 230.5 kB / 0.5236 GB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4709, allocations: 3.812 kB / 0.5236 GB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.15e-05/0.4709, allocations: 10.59 kB / 0.5236 GB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.4712, allocations: 120.9 kB / 0.5237 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.4712, allocations: 7.688 kB / 0.5237 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.4712, allocations: 9.578 kB / 0.5237 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.4712, allocations: 3.844 kB / 0.5237 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.4713, allocations: 52.3 kB / 0.5238 GB, free: 11.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.4721, allocations: 0.5516 MB / 0.5243 GB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.4722, allocations: 45.41 kB / 0.5243 GB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.4722, allocations: 0.75 kB / 0.5243 GB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.4722, allocations: 41.53 kB / 0.5244 GB, free: 11.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.4723, allocations: 0 / 0.5244 GB, free: 11.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002151/0.4725, allocations: 76.52 kB / 0.5244 GB, free: 11.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.207e-05/0.4725, allocations: 51.41 kB / 0.5245 GB, free: 11.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.4726, allocations: 183.9 kB / 0.5247 GB, free: 11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.4727, allocations: 25.7 kB / 0.5247 GB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.406e-05/0.4727, allocations: 125.6 kB / 0.5248 GB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.426e-05/0.4727, allocations: 15.34 kB / 0.5248 GB, free: 10.86 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.4727, allocations: 4 kB / 0.5248 GB, free: 10.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.907e-05/0.4728, allocations: 326.2 kB / 0.5251 GB, free: 10.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.412e-05/0.4729, allocations: 11.31 kB / 0.5252 GB, free: 10.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/0.4729, allocations: 29.83 kB / 0.5252 GB, free: 10.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.388e-05/0.4729, allocations: 16.58 kB / 0.5252 GB, free: 10.53 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4729, allocations: 0 / 0.5252 GB, free: 10.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001183/0.4731, allocations: 93.31 kB / 0.5253 GB, free: 10.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.4731, allocations: 5.219 kB / 0.5253 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.4731, allocations: 6.062 kB / 0.5253 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4731, allocations: 0 / 0.5253 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.49e-05/0.4732, allocations: 18.56 kB / 0.5253 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.4732, allocations: 3.719 kB / 0.5253 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.135e-05/0.4733, allocations: 13.09 kB / 0.5253 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.064e-06/0.4733, allocations: 3.812 kB / 0.5253 GB, free: 10.47 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = header.Tstart unit = "K" fixed = true nominal = 300.0 ) "fluid T" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 0.0001848/0.4735, allocations: 127.5 kB / 0.5255 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.948e-05/0.4736, allocations: 15.62 kB / 0.5255 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.33e-05/0.4736, allocations: 19.48 kB / 0.5255 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.4736, allocations: 0 / 0.5255 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4736, allocations: 3.953 kB / 0.5255 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.4736, allocations: 0 / 0.5255 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.4738, allocations: 212.3 kB / 0.5257 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4738, allocations: 1.094 kB / 0.5257 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.545e-05/0.4739, allocations: 14 kB / 0.5257 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4739, allocations: 3.688 kB / 0.5257 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.4739, allocations: 4 kB / 0.5257 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4739, allocations: 0 / 0.5257 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.474, allocations: 0 / 0.5257 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.4741, allocations: 182.2 kB / 0.5259 GB, free: 9.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.4742, allocations: 89.7 kB / 0.526 GB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.4742, allocations: 3.812 kB / 0.526 GB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.4743, allocations: 0 / 0.526 GB, free: 9.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.4743, allocations: 3.938 kB / 0.526 GB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.4744, allocations: 7.297 kB / 0.526 GB, free: 9.887 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.891e-05/0.4744, allocations: 148.1 kB / 0.5261 GB, free: 9.809 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4745, allocations: 0 / 0.5261 GB, free: 9.809 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002235/0.4747, allocations: 30.92 kB / 0.5262 GB, free: 9.801 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.T) * 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 (3): * Single equations (assignments): 3 * 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.0003657/0.4751, allocations: 0.7055 MB / 0.5269 GB, free: 9.141 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001222/0.4752, allocations: 40.33 kB / 0.5269 GB, free: 9.137 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4752, allocations: 3.938 kB / 0.5269 GB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.929e-05/0.4752, allocations: 11.25 kB / 0.5269 GB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.4755, allocations: 28.09 kB / 0.5269 GB, free: 9.133 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.477, allocations: 1.119 MB / 0.528 GB, free: 8.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.4772, allocations: 0.7126 MB / 0.5287 GB, free: 7.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.576e-05/0.4772, allocations: 16.42 kB / 0.5287 GB, free: 7.762 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.739e-05/0.4773, allocations: 42.59 kB / 0.5288 GB, free: 7.754 MB / 362.7 MB Notification: Performance of SimCode: time 3e-07/0.4773, allocations: 0 / 0.5288 GB, free: 7.754 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01218/0.4895, allocations: 2.76 MB / 0.5315 GB, free: 6.801 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001166/0.4896, allocations: 144.5 kB / 0.5316 GB, free: 6.566 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.485/1.975, allocations: 7.812 kB / 0.5316 GB, free: 6.562 MB / 362.7 MB (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_002_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_002.fmu > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1)