Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_001.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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_header_001,fileNamePrefix="AES_AES_Devel_test_models_Test_header_001",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.1035/0.1035, allocations: 21.61 MB / 36.56 MB, free: 1.066 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.001111/0.001111, allocations: 182.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.372/1.372, allocations: 223.2 MB / 272.1 MB, free: 1.762 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.0009277/0.0009277, allocations: 107.2 kB / 328.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003423, allocations: 8 kB / 397.1 MB, free: 46.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.107, allocations: 55.82 MB / 452.9 MB, free: 6.582 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.354/0.4611, allocations: 80.05 MB / 0.5205 GB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001803/0.4613, allocations: 65.25 kB / 0.5206 GB, free: 12.97 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005359/0.4667, allocations: 2.663 MB / 0.5232 GB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4667, allocations: 0 / 0.5232 GB, free: 12.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.4667, allocations: 3.969 kB / 0.5232 GB, free: 12.48 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.0005083/0.4672, allocations: 454.4 kB / 0.5236 GB, free: 12.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4673, allocations: 15.53 kB / 0.5236 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.4673, allocations: 48.16 kB / 0.5237 GB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.4674, allocations: 19.53 kB / 0.5237 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.4678, allocations: 251.4 kB / 0.5239 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.4678, allocations: 11.22 kB / 0.5239 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.857e-05/0.4678, allocations: 11.09 kB / 0.5239 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002411/0.4681, allocations: 127.5 kB / 0.5241 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4681, allocations: 0 / 0.5241 GB, free: 11.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.4681, allocations: 11.64 kB / 0.5241 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4681, allocations: 7.797 kB / 0.5241 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001606/0.4683, allocations: 76.53 kB / 0.5242 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008588/0.4692, allocations: 0.5053 MB / 0.5246 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001202/0.4693, allocations: 54.42 kB / 0.5247 GB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.4693, allocations: 3.938 kB / 0.5247 GB, free: 11.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.4694, allocations: 30.56 kB / 0.5247 GB, free: 11.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.726e-06/0.4694, allocations: 0 / 0.5247 GB, free: 11.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002658/0.4696, allocations: 85.08 kB / 0.5248 GB, free: 11.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.4697, allocations: 55.41 kB / 0.5249 GB, free: 11.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.4699, allocations: 201.6 kB / 0.5251 GB, free: 11.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.4699, allocations: 25.7 kB / 0.5251 GB, free: 11.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.73e-05/0.47, allocations: 151 kB / 0.5252 GB, free: 11.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.47, allocations: 12.86 kB / 0.5252 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.47, allocations: 0 / 0.5252 GB, free: 11.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.264e-05/0.4701, allocations: 330 kB / 0.5256 GB, free: 10.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.565e-05/0.4701, allocations: 25.36 kB / 0.5256 GB, free: 10.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.4702, allocations: 47.48 kB / 0.5256 GB, free: 10.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.567e-05/0.4703, allocations: 26 kB / 0.5256 GB, free: 10.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4703, allocations: 0 / 0.5256 GB, free: 10.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001849/0.4705, allocations: 108.7 kB / 0.5257 GB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.4705, allocations: 9.344 kB / 0.5258 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4705, allocations: 3.844 kB / 0.5258 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.4705, allocations: 4.062 kB / 0.5258 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002137/0.4708, allocations: 39.78 kB / 0.5258 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.4708, allocations: 0 / 0.5258 GB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.68e-05/0.4709, allocations: 15.19 kB / 0.5258 GB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.4709, allocations: 3.688 kB / 0.5258 GB, free: 10.6 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 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: 4 * 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 (10): * Single equations (assignments): 10 * 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.0001995/0.4711, allocations: 129.8 kB / 0.5259 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.743e-05/0.4711, allocations: 19.3 kB / 0.526 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.4712, allocations: 22.16 kB / 0.526 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4712, allocations: 0 / 0.526 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4712, allocations: 0 / 0.526 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.4712, allocations: 1.312 kB / 0.526 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004409/0.4716, allocations: 416.7 kB / 0.5264 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4717, allocations: 1.094 kB / 0.5264 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.925e-05/0.4717, allocations: 7.656 kB / 0.5264 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4717, allocations: 0 / 0.5264 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.4718, allocations: 10.7 kB / 0.5264 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4718, allocations: 0 / 0.5264 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4718, allocations: 192 / 0.5264 GB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001957/0.472, allocations: 227.3 kB / 0.5266 GB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.472, allocations: 95.64 kB / 0.5267 GB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.4721, allocations: 3.562 kB / 0.5267 GB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.4722, allocations: 11.69 kB / 0.5267 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.4722, allocations: 11.48 kB / 0.5267 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.4722, allocations: 3.844 kB / 0.5267 GB, free: 9.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.987e-05/0.4723, allocations: 164.2 kB / 0.5269 GB, free: 9.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4723, allocations: 0 / 0.5269 GB, free: 9.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002473/0.4726, allocations: 33.45 kB / 0.5269 GB, free: 9.742 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0003602/0.4729, allocations: 0.8867 MB / 0.5278 GB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001296/0.4731, allocations: 49.08 kB / 0.5278 GB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.4731, allocations: 0 / 0.5278 GB, free: 8.887 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.138e-05/0.4731, allocations: 17.59 kB / 0.5279 GB, free: 8.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.4733, allocations: 36.73 kB / 0.5279 GB, free: 8.875 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.4749, allocations: 1.518 MB / 0.5294 GB, free: 7.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.475, allocations: 0.73 MB / 0.5301 GB, free: 7.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.744e-05/0.4751, allocations: 11.89 kB / 0.5301 GB, free: 7.141 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.4752, allocations: 55.81 kB / 0.5302 GB, free: 7.133 MB / 362.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4752, allocations: 0 / 0.5302 GB, free: 7.133 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01402/0.4892, allocations: 3.121 MB / 0.5332 GB, free: 5.832 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001314/0.4894, allocations: 155.3 kB / 0.5333 GB, free: 5.594 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.543/2.033, allocations: 0 / 0.5333 GB, free: 5.594 MB / 362.7 MB (rm -f AES_AES.Devel_test_models.Test_header_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_001.pipe >> ../files/AES_AES.Devel_test_models.Test_header_001.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_header_001_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_header_001.fmu > AES_AES.Devel_test_models.Test_header_001.pipe 2>&1)