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/ModelicaServices 4.0.0+maint.om/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/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 106.7 kB / 16.41 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 191 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09688/0.09688, allocations: 22.33 MB / 313.5 MB, free: 8.879 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 71.88 kB / 437.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08735/0.08869, allocations: 54.95 MB / 492.7 MB, free: 4.766 MB / 366.1 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.3506/0.4393, allocations: 21.6 MB / 0.5022 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000487/0.4398, allocations: 180.1 kB / 0.5024 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.675e-05/0.4399, allocations: 5.656 kB / 0.5024 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.38e-05/0.4399, allocations: 21.38 kB / 0.5024 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.4401, allocations: 56.03 kB / 0.5025 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.859e-05/0.4402, allocations: 32.36 kB / 0.5025 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001865/0.4404, allocations: 188.1 kB / 0.5027 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001885/0.4406, allocations: 118.1 kB / 0.5028 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.4407, allocations: 85.72 kB / 0.5029 GB, free: 5.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.4408, allocations: 85.84 kB / 0.503 GB, free: 5.785 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.4409, allocations: 17.38 kB / 0.503 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.14e-05/0.4409, allocations: 14.69 kB / 0.503 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.649e-05/0.4409, allocations: 29.41 kB / 0.503 GB, free: 5.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.441, allocations: 91.94 kB / 0.5031 GB, free: 5.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.4412, allocations: 181.1 kB / 0.5033 GB, free: 5.719 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4412, allocations: 1.062 kB / 0.5033 GB, free: 5.719 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.4412, allocations: 0 / 0.5033 GB, free: 5.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.4412, allocations: 0 / 0.5033 GB, free: 5.719 MB / 382.1 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.0005142/0.4417, allocations: 460 kB / 0.5037 GB, free: 5.312 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.4417, allocations: 10.97 kB / 0.5037 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.4418, allocations: 22.38 kB / 0.5037 GB, free: 5.301 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.442, allocations: 232 kB / 0.504 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.442, allocations: 7.828 kB / 0.504 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/0.442, allocations: 13.12 kB / 0.504 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003094/0.4423, allocations: 155.9 kB / 0.5041 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.4424, allocations: 0 / 0.5041 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4424, allocations: 8.156 kB / 0.5041 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4424, allocations: 4.812 kB / 0.5041 GB, free: 5.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.4426, allocations: 103.9 kB / 0.5042 GB, free: 5.027 MB / 382.1 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.0007228/0.4434, allocations: 0.6304 MB / 0.5049 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.4435, allocations: 61.64 kB / 0.5049 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.993e-05/0.4436, allocations: 35.08 kB / 0.505 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.4437, allocations: 2.25 kB / 0.505 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.038e-05/0.4437, allocations: 32.14 kB / 0.505 GB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001002/0.4438, allocations: 14.3 kB / 0.505 GB, free: 4.477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4438, allocations: 2.688 kB / 0.505 GB, free: 4.477 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003825/0.4442, allocations: 112.3 kB / 0.5051 GB, free: 4.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.557e-05/0.4442, allocations: 52.02 kB / 0.5052 GB, free: 4.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.4443, allocations: 200.5 kB / 0.5054 GB, free: 4.262 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.4444, allocations: 27.97 kB / 0.5054 GB, free: 4.23 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.4444, allocations: 134.9 kB / 0.5055 GB, free: 4.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.4444, allocations: 27.75 kB / 0.5055 GB, free: 4.117 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.4445, allocations: 32.31 kB / 0.5056 GB, free: 4.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.931e-05/0.4445, allocations: 323.7 kB / 0.5059 GB, free: 3.785 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.56e-05/0.4446, allocations: 22.81 kB / 0.5059 GB, free: 3.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.4448, allocations: 53.05 kB / 0.5059 GB, free: 3.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001066/0.4458, allocations: 195.7 kB / 0.5061 GB, free: 3.734 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.4458, allocations: 0 / 0.5061 GB, free: 3.734 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00026/0.4461, allocations: 118 kB / 0.5062 GB, free: 3.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.4461, allocations: 12.75 kB / 0.5063 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.9e-06/0.4461, allocations: 3.328 kB / 0.5063 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.4462, allocations: 10.5 kB / 0.5063 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.4463, allocations: 27.33 kB / 0.5063 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.4463, allocations: 2.094 kB / 0.5063 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.4465, allocations: 5.109 kB / 0.5063 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.4465, allocations: 5.984 kB / 0.5063 GB, free: 3.676 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: H.T:VARIABLE(min = 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.0001053/0.4466, allocations: 128.9 kB / 0.5064 GB, free: 3.559 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.4466, allocations: 12.45 kB / 0.5064 GB, free: 3.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.4469, allocations: 124.8 kB / 0.5066 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.4469, allocations: 2.484 kB / 0.5066 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4469, allocations: 0 / 0.5066 GB, free: 3.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.4469, allocations: 6.594 kB / 0.5066 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001799/0.4471, allocations: 229.5 kB / 0.5068 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4471, allocations: 0.75 kB / 0.5068 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001441/0.4472, allocations: 22.94 kB / 0.5068 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4473, allocations: 1.844 kB / 0.5068 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.4473, allocations: 4.672 kB / 0.5068 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4473, allocations: 0 / 0.5068 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4473, allocations: 0 / 0.5068 GB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.4476, allocations: 239.1 kB / 0.507 GB, free: 3.168 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.4476, allocations: 93.98 kB / 0.5071 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.4476, allocations: 4.031 kB / 0.5071 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.4478, allocations: 6.922 kB / 0.5071 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.4478, allocations: 8.656 kB / 0.5072 GB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.4478, allocations: 2.875 kB / 0.5072 GB, free: 3.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.826e-05/0.4479, allocations: 147.1 kB / 0.5073 GB, free: 2.988 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4479, allocations: 0 / 0.5073 GB, free: 2.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002535/0.4482, allocations: 35.44 kB / 0.5073 GB, free: 2.984 MB / 382.1 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 0.0001018/0.4483, allocations: 94.69 kB / 0.5074 GB, free: 2.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.4485, allocations: 79.17 kB / 0.5075 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4485, allocations: 0.9375 kB / 0.5075 GB, free: 2.887 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.825e-05/0.4486, allocations: 37.05 kB / 0.5075 GB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.4489, allocations: 34.45 kB / 0.5076 GB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000536/0.4494, allocations: 407.1 kB / 0.508 GB, free: 2.648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001088/0.4495, allocations: 0.7198 MB / 0.5087 GB, free: 1.953 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.85e-05/0.4496, allocations: 18.83 kB / 0.5087 GB, free: 1.945 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4496, allocations: 0 / 0.5087 GB, free: 1.945 MB / 382.1 MB Notification: Performance of Templates: time 0.003547/0.4531, allocations: 2.005 MB / 0.5106 GB, free: 1.922 MB / 382.1 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)