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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.09401/0.09401, allocations: 21.6 MB / 37.4 MB, free: 0.7617 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 188.5 kB / 43.64 MB, free: 3.574 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.273/1.273, allocations: 205.1 MB / 254.8 MB, free: 14.27 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008869/0.0008869, allocations: 106.2 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 54.94 kB / 372.3 MB, free: 59.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07297/0.07414, allocations: 51.97 MB / 424.3 MB, free: 14.51 MB / 298.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer "system" component but an inner "system" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_liquid_mixing_streams): time 0.02096/0.09514, allocations: 19 MB / 443.3 MB, free: 11.43 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005198/0.09567, allocations: 207.2 kB / 443.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.09579, allocations: 4 kB / 443.5 MB, free: 11.22 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 6.794e-05/0.09587, allocations: 19.78 kB / 443.5 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.09608, allocations: 51.56 kB / 443.6 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.498e-05/0.09617, allocations: 31.97 kB / 443.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.09637, allocations: 179 kB / 443.8 MB, free: 10.95 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.09656, allocations: 97.77 kB / 443.9 MB, free: 10.85 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.09669, allocations: 75.66 kB / 444 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.09681, allocations: 91.61 kB / 444 MB, free: 10.69 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.891e-05/0.09685, allocations: 12 kB / 444.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.815e-05/0.09688, allocations: 8 kB / 444.1 MB, free: 10.67 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.09692, allocations: 39.84 kB / 444.1 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.681e-05/0.097, allocations: 83.53 kB / 444.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001748/0.09719, allocations: 171.4 kB / 444.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.0972, allocations: 0 / 444.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.0972, allocations: 0 / 444.3 MB, free: 10.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.09721, allocations: 0 / 444.3 MB, free: 10.38 MB / 314.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.0005809/0.0978, allocations: 462.9 kB / 444.8 MB, free: 9.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.09784, allocations: 12.03 kB / 444.8 MB, free: 9.863 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.262e-05/0.09789, allocations: 20.73 kB / 444.8 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.09811, allocations: 228.7 kB / 445.1 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.09814, allocations: 8.609 kB / 445.1 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.09817, allocations: 8.375 kB / 445.1 MB, free: 9.566 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.09845, allocations: 166 kB / 445.2 MB, free: 9.395 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.09847, allocations: 3.984 kB / 445.2 MB, free: 9.391 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.09849, allocations: 8 kB / 445.2 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.09851, allocations: 4 kB / 445.3 MB, free: 9.379 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.09877, allocations: 103.8 kB / 445.4 MB, free: 9.277 MB / 314.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008512/0.09963, allocations: 0.6317 MB / 446 MB, free: 8.574 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001456/0.09979, allocations: 54.5 kB / 446 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.0999, allocations: 40.83 kB / 446.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.09992, allocations: 0 / 446.1 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.09995, allocations: 38.56 kB / 446.1 MB, free: 8.422 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 8.86e-05/0.1, allocations: 8 kB / 446.1 MB, free: 8.414 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.1001, allocations: 0 / 446.1 MB, free: 8.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003625/0.1004, allocations: 113.6 kB / 446.2 MB, free: 8.297 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1005, allocations: 55.34 kB / 446.3 MB, free: 8.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.1006, allocations: 198.5 kB / 446.5 MB, free: 8.023 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1006, allocations: 29.7 kB / 446.5 MB, free: 7.988 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.495e-05/0.1007, allocations: 135.8 kB / 446.6 MB, free: 7.852 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.233e-05/0.1008, allocations: 31.55 kB / 446.7 MB, free: 7.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.1008, allocations: 25.72 kB / 446.7 MB, free: 7.789 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.1009, allocations: 326.8 kB / 447 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.948e-05/0.101, allocations: 20 kB / 447 MB, free: 7.441 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/0.1011, allocations: 50.48 kB / 447.1 MB, free: 7.383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/0.1021, allocations: 202.3 kB / 447.3 MB, free: 7.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1021, allocations: 0 / 447.3 MB, free: 7.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002555/0.1024, allocations: 121.4 kB / 447.4 MB, free: 7.051 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.1024, allocations: 7.938 kB / 447.4 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1024, allocations: 0 / 447.4 MB, free: 7.043 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.1024, allocations: 8 kB / 447.4 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1026, allocations: 19.98 kB / 447.4 MB, free: 7.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.1026, allocations: 7.984 kB / 447.4 MB, free: 7.008 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.1027, allocations: 3.938 kB / 447.4 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.1027, allocations: 12.06 kB / 447.5 MB, free: 6.992 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.1029, allocations: 129.8 kB / 447.6 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.1029, allocations: 19.8 kB / 447.6 MB, free: 6.836 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002343/0.1031, allocations: 127 kB / 447.7 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.1032, allocations: 0 / 447.7 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1032, allocations: 0 / 447.7 MB, free: 6.711 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1032, allocations: 3.938 kB / 447.7 MB, free: 6.707 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002092/0.1034, allocations: 225.6 kB / 448 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1034, allocations: 0 / 448 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.1035, allocations: 19.98 kB / 448 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1035, allocations: 0 / 448 MB, free: 6.418 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1036, allocations: 8 kB / 448 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1036, allocations: 0 / 448 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1036, allocations: 0 / 448 MB, free: 6.41 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/0.1054, allocations: 1.48 MB / 449.5 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.1055, allocations: 88.95 kB / 449.5 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.1055, allocations: 4 kB / 449.6 MB, free: 4.676 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.58e-05/0.1056, allocations: 7.984 kB / 449.6 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.827e-05/0.1056, allocations: 0 / 449.6 MB, free: 4.668 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.1057, allocations: 4.094 kB / 449.6 MB, free: 4.664 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001026/0.1058, allocations: 152.1 kB / 449.7 MB, free: 4.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1058, allocations: 4.062 kB / 449.7 MB, free: 4.512 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000316/0.1061, allocations: 44 kB / 449.8 MB, free: 4.469 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.005e-05/0.1062, allocations: 103.2 kB / 449.9 MB, free: 4.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001845/0.1064, allocations: 72.19 kB / 449.9 MB, free: 4.289 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.1064, allocations: 192 / 449.9 MB, free: 4.289 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.717e-05/0.1065, allocations: 39.86 kB / 450 MB, free: 4.25 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.1068, allocations: 39.83 kB / 450 MB, free: 4.211 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006417/0.1074, allocations: 0.5612 MB / 450.6 MB, free: 3.609 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.1077, allocations: 0.7206 MB / 451.3 MB, free: 2.863 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.1078, allocations: 25.55 kB / 451.3 MB, free: 2.84 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.1078, allocations: 15.44 kB / 451.3 MB, free: 2.824 MB / 314.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1078, allocations: 0 / 451.3 MB, free: 2.824 MB / 314.7 MB Notification: Performance of Templates: time 0.00391/0.1117, allocations: 1.88 MB / 453.2 MB, free: 0.9453 MB / 314.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)