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.001035/0.001035, allocations: 106.7 kB / 16.41 MB, free: 6.512 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.0009882/0.0009882, allocations: 187 kB / 17.34 MB, free: 5.742 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.095/0.095, allocations: 22.32 MB / 313.5 MB, free: 8.902 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 59.89 kB / 437.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08197/0.08319, allocations: 54.96 MB / 492.7 MB, free: 4.773 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.2956/0.3788, allocations: 21.59 MB / 0.5022 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000467/0.3793, allocations: 178 kB / 0.5024 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.873e-05/0.3794, allocations: 2.594 kB / 0.5024 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.976e-05/0.3795, allocations: 21.36 kB / 0.5024 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001982/0.3797, allocations: 62.55 kB / 0.5025 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.873e-05/0.3798, allocations: 35.2 kB / 0.5025 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001403/0.3799, allocations: 187.1 kB / 0.5027 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001887/0.3801, allocations: 118.9 kB / 0.5028 GB, free: 5.793 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3802, allocations: 79.92 kB / 0.5029 GB, free: 5.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.3803, allocations: 88.97 kB / 0.5029 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.3804, allocations: 13.16 kB / 0.503 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.059e-05/0.3804, allocations: 14.19 kB / 0.503 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.3804, allocations: 35.25 kB / 0.503 GB, free: 5.754 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.573e-05/0.3805, allocations: 89.56 kB / 0.5031 GB, free: 5.73 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001506/0.3807, allocations: 187 kB / 0.5033 GB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3807, allocations: 0 / 0.5033 GB, free: 5.699 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.031e-06/0.3807, allocations: 0 / 0.5033 GB, free: 5.699 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.3807, allocations: 0 / 0.5033 GB, free: 5.699 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.0004936/0.3812, allocations: 453.5 kB / 0.5037 GB, free: 5.293 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.745e-05/0.3812, allocations: 12.34 kB / 0.5037 GB, free: 5.293 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.3813, allocations: 26.88 kB / 0.5037 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.3815, allocations: 230.9 kB / 0.504 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.3815, allocations: 10.8 kB / 0.504 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.3815, allocations: 12.06 kB / 0.504 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002691/0.3818, allocations: 159.2 kB / 0.5041 GB, free: 5.012 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.3818, allocations: 3.938 kB / 0.5041 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3818, allocations: 6.625 kB / 0.5041 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3818, allocations: 2.188 kB / 0.5041 GB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002578/0.3821, allocations: 97.34 kB / 0.5042 GB, free: 5.008 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.0007107/0.3828, allocations: 0.6336 MB / 0.5049 GB, free: 4.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.383, allocations: 60.92 kB / 0.5049 GB, free: 4.508 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.886e-05/0.3831, allocations: 33.23 kB / 0.505 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.3831, allocations: 2.688 kB / 0.505 GB, free: 4.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.039e-05/0.3831, allocations: 32.69 kB / 0.505 GB, free: 4.461 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.697e-05/0.3832, allocations: 11.3 kB / 0.505 GB, free: 4.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3832, allocations: 2.656 kB / 0.505 GB, free: 4.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003641/0.3836, allocations: 115.5 kB / 0.5051 GB, free: 4.414 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.072e-05/0.3836, allocations: 59.06 kB / 0.5052 GB, free: 4.352 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001287/0.3838, allocations: 196.9 kB / 0.5054 GB, free: 4.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.3838, allocations: 25.7 kB / 0.5054 GB, free: 4.211 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.853e-05/0.3838, allocations: 137.8 kB / 0.5055 GB, free: 4.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.3839, allocations: 26.48 kB / 0.5055 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.3839, allocations: 25.94 kB / 0.5056 GB, free: 4.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.869e-05/0.3839, allocations: 326.3 kB / 0.5059 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.743e-05/0.384, allocations: 25.23 kB / 0.5059 GB, free: 3.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.469e-05/0.3841, allocations: 51.17 kB / 0.5059 GB, free: 3.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/0.3852, allocations: 199.3 kB / 0.5061 GB, free: 3.711 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3852, allocations: 0 / 0.5061 GB, free: 3.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002547/0.3855, allocations: 122.4 kB / 0.5062 GB, free: 3.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.3855, allocations: 4.656 kB / 0.5063 GB, free: 3.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3855, allocations: 7.531 kB / 0.5063 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3855, allocations: 3.859 kB / 0.5063 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001492/0.3857, allocations: 25.33 kB / 0.5063 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.3857, allocations: 3.172 kB / 0.5063 GB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.227e-05/0.3858, allocations: 10.17 kB / 0.5063 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.3858, allocations: 3.953 kB / 0.5063 GB, free: 3.656 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.0001063/0.3859, allocations: 133.8 kB / 0.5064 GB, free: 3.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.386, allocations: 10.77 kB / 0.5064 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.3862, allocations: 124.9 kB / 0.5066 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3862, allocations: 6.547 kB / 0.5066 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.3862, allocations: 0.6562 kB / 0.5066 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3862, allocations: 4.594 kB / 0.5066 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.3864, allocations: 226 kB / 0.5068 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3864, allocations: 0 / 0.5068 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001386/0.3866, allocations: 21.45 kB / 0.5068 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3866, allocations: 2.656 kB / 0.5068 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.3866, allocations: 6.797 kB / 0.5068 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3866, allocations: 0 / 0.5068 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3866, allocations: 0 / 0.5068 GB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.3868, allocations: 240.9 kB / 0.507 GB, free: 3.145 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.017e-05/0.3869, allocations: 91.47 kB / 0.5071 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.3869, allocations: 0.75 kB / 0.5071 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.387, allocations: 8.828 kB / 0.5071 GB, free: 3.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.3871, allocations: 9.156 kB / 0.5072 GB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.3871, allocations: 4.484 kB / 0.5072 GB, free: 3.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.656e-05/0.3872, allocations: 145.8 kB / 0.5073 GB, free: 2.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3872, allocations: 0 / 0.5073 GB, free: 2.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.3874, allocations: 35.38 kB / 0.5073 GB, free: 2.961 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 5.929e-05/0.3875, allocations: 97.88 kB / 0.5074 GB, free: 2.871 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.3877, allocations: 70.69 kB / 0.5075 GB, free: 2.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3877, allocations: 7.719 kB / 0.5075 GB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.673e-05/0.3878, allocations: 39.88 kB / 0.5075 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.3881, allocations: 26.58 kB / 0.5076 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.3886, allocations: 410 kB / 0.508 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001134/0.3887, allocations: 0.7177 MB / 0.5087 GB, free: 1.934 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.3888, allocations: 21.48 kB / 0.5087 GB, free: 1.926 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3888, allocations: 0 / 0.5087 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Templates: time 0.003281/0.3921, allocations: 1.993 MB / 0.5106 GB, free: 1.898 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)