Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_mixing_streams.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_liquid_mixing_streams,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_mixing_streams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_mixing_streams,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_mixing_streams",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.1047/0.1047, allocations: 21.61 MB / 36.56 MB, free: 1.086 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.001199/0.001199, allocations: 175.6 kB / 42.82 MB, free: 3.832 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.369/1.369, 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.001042/0.001042, allocations: 105.8 kB / 328.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003411/0.000341, allocations: 12 kB / 397.1 MB, free: 46.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1121, allocations: 55.82 MB / 452.9 MB, free: 6.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3024/0.4145, allocations: 80.33 MB / 0.5208 GB, free: 13.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000172/0.4148, allocations: 67.05 kB / 0.5208 GB, free: 13.21 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid src1.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_wT_prescribed. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid src2.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_wT_fixed. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid snk.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Node_pT_fixed$snk. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid H.system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.Liquid.Header$H. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.005693/0.4205, allocations: 2.722 MB / 0.5235 GB, free: 12.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.4205, allocations: 0 / 0.5235 GB, free: 12.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.4205, allocations: 3.844 kB / 0.5235 GB, free: 12.75 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0004808/0.421, allocations: 465 kB / 0.5239 GB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.421, allocations: 11.64 kB / 0.524 GB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.72e-05/0.4211, allocations: 51.69 kB / 0.524 GB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.4211, allocations: 23.31 kB / 0.524 GB, free: 12.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.4214, allocations: 251.3 kB / 0.5243 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4214, allocations: 7.609 kB / 0.5243 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.4215, allocations: 14.72 kB / 0.5243 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/0.4217, allocations: 153.4 kB / 0.5244 GB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4217, allocations: 3.984 kB / 0.5244 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.4218, allocations: 10.8 kB / 0.5244 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4218, allocations: 3.812 kB / 0.5244 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.422, allocations: 103.5 kB / 0.5245 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007712/0.4228, allocations: 0.6072 MB / 0.5251 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.4229, allocations: 66.38 kB / 0.5252 GB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.4229, allocations: 0 / 0.5252 GB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.423, allocations: 38.2 kB / 0.5252 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001187/0.4231, allocations: 18.64 kB / 0.5253 GB, free: 11.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4231, allocations: 4 kB / 0.5253 GB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003355/0.4234, allocations: 118.6 kB / 0.5254 GB, free: 11.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.4235, allocations: 51.41 kB / 0.5254 GB, free: 11.38 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.4236, allocations: 210 kB / 0.5256 GB, free: 11.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.151e-05/0.4237, allocations: 25.7 kB / 0.5256 GB, free: 11.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.561e-05/0.4237, allocations: 147.3 kB / 0.5258 GB, free: 11.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.73e-05/0.4238, allocations: 22.78 kB / 0.5258 GB, free: 11.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.4238, allocations: 6.406 kB / 0.5258 GB, free: 11.13 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.685e-05/0.4238, allocations: 333.4 kB / 0.5261 GB, free: 10.82 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.971e-05/0.4239, allocations: 24.23 kB / 0.5262 GB, free: 10.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-05/0.424, allocations: 42.98 kB / 0.5262 GB, free: 10.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.756e-05/0.4241, allocations: 27.8 kB / 0.5262 GB, free: 10.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.4241, allocations: 4.781 kB / 0.5262 GB, free: 10.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002181/0.4243, allocations: 119.2 kB / 0.5263 GB, free: 10.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.4244, allocations: 7.906 kB / 0.5264 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.4244, allocations: 3.953 kB / 0.5264 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4244, allocations: 6.375 kB / 0.5264 GB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.4245, allocations: 22.31 kB / 0.5264 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.4245, allocations: 3.75 kB / 0.5264 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.203e-05/0.4246, allocations: 7.266 kB / 0.5264 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.4246, allocations: 3.781 kB / 0.5264 GB, free: 10.73 MB / 362.7 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = max(0.0, 0.0) start = H.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: 3 * 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 (12): * Single equations (assignments): 12 * 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.0002117/0.4249, allocations: 128.8 kB / 0.5265 GB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.4249, allocations: 26.36 kB / 0.5265 GB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002289/0.4251, allocations: 122 kB / 0.5267 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.4252, allocations: 7.797 kB / 0.5267 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4252, allocations: 0 / 0.5267 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.4252, allocations: 2.766 kB / 0.5267 GB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.4254, allocations: 239.2 kB / 0.5269 GB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.4254, allocations: 4 kB / 0.5269 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.4255, allocations: 30.3 kB / 0.5269 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4255, allocations: 0 / 0.5269 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.4255, allocations: 3.188 kB / 0.5269 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.4255, allocations: 0 / 0.5269 GB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4255, allocations: 3.953 kB / 0.5269 GB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.4258, allocations: 240.3 kB / 0.5272 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/0.4258, allocations: 88.77 kB / 0.5273 GB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.4259, allocations: 7.812 kB / 0.5273 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.834e-05/0.426, allocations: 3.328 kB / 0.5273 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.426, allocations: 7.766 kB / 0.5273 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.426, allocations: 6.625 kB / 0.5273 GB, free: 10.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001068/0.4262, allocations: 171.3 kB / 0.5274 GB, free: 10.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4262, allocations: 0 / 0.5274 GB, free: 10.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002444/0.4264, allocations: 38.22 kB / 0.5275 GB, free: 10.01 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (H.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 (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 Backend phase and start with SimCode phase: time 0.0004203/0.4268, allocations: 0.7655 MB / 0.5282 GB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001914/0.427, allocations: 71 kB / 0.5283 GB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.427, allocations: 0 / 0.5283 GB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.233e-05/0.4271, allocations: 37.88 kB / 0.5283 GB, free: 9.332 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.4274, allocations: 40.73 kB / 0.5284 GB, free: 9.328 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.4288, allocations: 1.444 MB / 0.5298 GB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001159/0.4289, allocations: 0.7331 MB / 0.5305 GB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.32e-05/0.429, allocations: 26.91 kB / 0.5305 GB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.593e-05/0.4291, allocations: 62.03 kB / 0.5306 GB, free: 7.707 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4291, allocations: 0 / 0.5306 GB, free: 7.707 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01283/0.4419, allocations: 3.861 MB / 0.5343 GB, free: 5.922 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001156/0.4421, allocations: 171.9 kB / 0.5345 GB, free: 5.68 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.525/1.967, allocations: 0 / 0.5345 GB, free: 5.68 MB / 362.7 MB (rm -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_mixing_streams.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_mixing_streams_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_mixing_streams.fmu > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1)