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: translateModel(AES.Devel_test_models.Test_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") translateModel(AES.Devel_test_models.Test_liquid_mixing_streams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_liquid_mixing_streams") [/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.09275/0.09275, allocations: 21.61 MB / 36.56 MB, free: 1.059 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.0009395/0.0009395, allocations: 187.1 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.225/1.225, allocations: 223.2 MB / 272.1 MB, free: 1.809 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.0009158/0.0009158, allocations: 104.8 kB / 328.7 MB, free: 12.16 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002749, allocations: 8 kB / 397 MB, free: 46.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07623/0.07652, allocations: 55.82 MB / 452.9 MB, free: 6.734 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2454/0.322, allocations: 80.34 MB / 0.5207 GB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001666/0.3222, allocations: 64.22 kB / 0.5208 GB, free: 13.02 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.005382/0.3276, allocations: 2.731 MB / 0.5234 GB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3276, allocations: 0 / 0.5234 GB, free: 12.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.3276, allocations: 3.875 kB / 0.5234 GB, free: 12.54 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.0004254/0.3281, allocations: 461.9 kB / 0.5239 GB, free: 12.12 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.3281, allocations: 11.61 kB / 0.5239 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.3281, allocations: 23.03 kB / 0.5239 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.3284, allocations: 257 kB / 0.5241 GB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.3284, allocations: 7.578 kB / 0.5241 GB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.3285, allocations: 10.88 kB / 0.5242 GB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.3287, allocations: 150.2 kB / 0.5243 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3287, allocations: 1.094 kB / 0.5243 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.3288, allocations: 15.11 kB / 0.5243 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.3288, allocations: 3.875 kB / 0.5243 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002195/0.329, allocations: 109.8 kB / 0.5244 GB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/0.3297, allocations: 0.5975 MB / 0.525 GB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3298, allocations: 56.16 kB / 0.5251 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.3299, allocations: 0 / 0.5251 GB, free: 11.38 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.17e-05/0.3299, allocations: 41.08 kB / 0.5251 GB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000118/0.33, allocations: 23.27 kB / 0.5251 GB, free: 11.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 8.92e-07/0.33, allocations: 4 kB / 0.5251 GB, free: 11.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002998/0.3303, allocations: 107.2 kB / 0.5252 GB, free: 11.28 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.674e-05/0.3303, allocations: 55.16 kB / 0.5253 GB, free: 11.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.3305, allocations: 211.9 kB / 0.5255 GB, free: 11.12 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.3305, allocations: 29.45 kB / 0.5255 GB, free: 11.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.3305, allocations: 143.4 kB / 0.5257 GB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.3306, allocations: 26.97 kB / 0.5257 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.3306, allocations: 0 / 0.5257 GB, free: 10.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 4.367e-05/0.3306, allocations: 334 kB / 0.526 GB, free: 10.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.592e-05/0.3307, allocations: 27.52 kB / 0.526 GB, free: 10.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.282e-05/0.3308, allocations: 48.14 kB / 0.5261 GB, free: 10.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.338e-05/0.3309, allocations: 25.78 kB / 0.5261 GB, free: 10.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3309, allocations: 0 / 0.5261 GB, free: 10.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002081/0.3311, allocations: 123.9 kB / 0.5262 GB, free: 10.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3311, allocations: 7.938 kB / 0.5262 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3311, allocations: 1.172 kB / 0.5262 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3311, allocations: 7.797 kB / 0.5262 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.3313, allocations: 28.59 kB / 0.5263 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.3313, allocations: 3.984 kB / 0.5263 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.506e-05/0.3314, allocations: 3.75 kB / 0.5263 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.3314, allocations: 3.969 kB / 0.5263 GB, free: 10.57 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.0001419/0.3315, allocations: 133.5 kB / 0.5264 GB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.3316, allocations: 19.48 kB / 0.5264 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.3318, allocations: 129.6 kB / 0.5265 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3318, allocations: 7.891 kB / 0.5265 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.3318, allocations: 4.812 kB / 0.5265 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3318, allocations: 0 / 0.5265 GB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.332, allocations: 241.1 kB / 0.5268 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.332, allocations: 4 kB / 0.5268 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3321, allocations: 29.09 kB / 0.5268 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3321, allocations: 0 / 0.5268 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.3321, allocations: 0.875 kB / 0.5268 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3321, allocations: 0 / 0.5268 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.3322, allocations: 3.953 kB / 0.5268 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3324, allocations: 234.9 kB / 0.527 GB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.3324, allocations: 98.92 kB / 0.5271 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.452e-05/0.3325, allocations: 64 / 0.5271 GB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3326, allocations: 11.38 kB / 0.5271 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.333e-05/0.3326, allocations: 6.812 kB / 0.5271 GB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.3326, allocations: 7.641 kB / 0.5272 GB, free: 9.926 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001021/0.3327, allocations: 175 kB / 0.5273 GB, free: 9.852 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3327, allocations: 0 / 0.5273 GB, free: 9.852 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002264/0.333, allocations: 34.5 kB / 0.5274 GB, free: 9.848 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 7.853e-05/0.333, allocations: 97.59 kB / 0.5274 GB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.3332, allocations: 77.83 kB / 0.5275 GB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.3332, allocations: 0 / 0.5275 GB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.721e-05/0.3333, allocations: 35.86 kB / 0.5276 GB, free: 9.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002122/0.3335, allocations: 40.53 kB / 0.5276 GB, free: 9.742 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.334, allocations: 0.4994 MB / 0.5281 GB, free: 9.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.3342, allocations: 0.7366 MB / 0.5288 GB, free: 8.723 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.804e-05/0.3343, allocations: 20.45 kB / 0.5288 GB, free: 8.719 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.704e-05/0.3343, allocations: 21.3 kB / 0.5288 GB, free: 8.711 MB / 362.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3343, allocations: 4 kB / 0.5288 GB, free: 8.707 MB / 362.7 MB Notification: Performance of Templates: time 0.003492/0.3378, allocations: 1.975 MB / 0.5308 GB, free: 7.82 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_liquid_mixing_streams.makefile (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 & ./AES_AES.Devel_test_models.Test_liquid_mixing_streams -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1)