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.0008472/0.0008472, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.0009/0.0009001, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2532/0.2532, allocations: 22.34 MB / 313.4 MB, free: 13.17 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004499, allocations: 8 kB / 381.9 MB, free: 10.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3699, allocations: 55.98 MB / 437.9 MB, free: 39.39 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_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/flowTwoPorts_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.002102/0.3721, allocations: 1.912 MB / 439.8 MB, free: 38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003508/0.3725, allocations: 198.2 kB / 440 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.451e-05/0.3726, allocations: 2.781 kB / 440 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.812e-05/0.3726, allocations: 20.38 kB / 440 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002303/0.3729, allocations: 67.64 kB / 440.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.159e-05/0.3729, allocations: 22.06 kB / 440.1 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3731, allocations: 174.1 kB / 440.3 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002166/0.3733, allocations: 97.86 kB / 440.4 MB, free: 37.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3735, allocations: 72.48 kB / 440.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3736, allocations: 84.11 kB / 440.5 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.3736, allocations: 11.38 kB / 440.6 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.774e-05/0.3736, allocations: 8.219 kB / 440.6 MB, free: 37.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.3737, allocations: 24.94 kB / 440.6 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.358e-05/0.3737, allocations: 55.95 kB / 440.6 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.3738, allocations: 140 kB / 440.8 MB, free: 37.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3738, allocations: 0 / 440.8 MB, free: 37.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3738, allocations: 0 / 440.8 MB, free: 37.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.3739, allocations: 0 / 440.8 MB, free: 37.47 MB / 350.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.0004638/0.3743, allocations: 427.7 kB / 441.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.3744, allocations: 8.125 kB / 441.2 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.022e-05/0.3744, allocations: 20.12 kB / 441.2 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.3746, allocations: 226.1 kB / 441.4 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3746, allocations: 9.828 kB / 441.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.81e-05/0.3747, allocations: 12.34 kB / 441.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.375, allocations: 153.9 kB / 441.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.375, allocations: 3.938 kB / 441.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.375, allocations: 0 / 441.6 MB, free: 36.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.375, allocations: 13.08 kB / 441.6 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002421/0.3753, allocations: 103.1 kB / 441.7 MB, free: 36.68 MB / 350.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.0007551/0.376, allocations: 0.6229 MB / 442.4 MB, free: 36.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001382/0.3762, allocations: 61.27 kB / 442.4 MB, free: 36.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.786e-05/0.3763, allocations: 33.64 kB / 442.4 MB, free: 36.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.3763, allocations: 6.875 kB / 442.5 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.684e-05/0.3763, allocations: 37.75 kB / 442.5 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001064/0.3764, allocations: 9.156 kB / 442.5 MB, free: 36.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3764, allocations: 0 / 442.5 MB, free: 36.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003387/0.3768, allocations: 114.3 kB / 442.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.3768, allocations: 58.19 kB / 442.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.377, allocations: 198.3 kB / 442.9 MB, free: 35.76 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.377, allocations: 25.7 kB / 442.9 MB, free: 35.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.143e-05/0.3771, allocations: 131.2 kB / 443 MB, free: 35.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.794e-05/0.3771, allocations: 22.69 kB / 443 MB, free: 35.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.131e-06/0.3771, allocations: 4 kB / 443 MB, free: 35.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.022e-05/0.3772, allocations: 328.6 kB / 443.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.314e-05/0.3772, allocations: 26.69 kB / 443.4 MB, free: 35.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.315e-05/0.3773, allocations: 48 kB / 443.4 MB, free: 35.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.599e-05/0.3774, allocations: 22.53 kB / 443.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3775, allocations: 0 / 443.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002313/0.3777, allocations: 137.4 kB / 443.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.3777, allocations: 3.406 kB / 443.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.82e-06/0.3777, allocations: 3.031 kB / 443.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.3777, allocations: 0 / 443.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.3779, allocations: 26.86 kB / 443.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.3779, allocations: 320 / 443.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.244e-05/0.378, allocations: 7.094 kB / 443.6 MB, free: 35.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.378, allocations: 3.156 kB / 443.6 MB, free: 35.12 MB / 350.1 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.0001852/0.3782, allocations: 143.1 kB / 443.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.3782, allocations: 19.36 kB / 443.8 MB, free: 34.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.3785, allocations: 122.2 kB / 443.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.3785, allocations: 3.969 kB / 443.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3785, allocations: 0 / 443.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3785, allocations: 4 kB / 443.9 MB, free: 34.9 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.3787, allocations: 229.6 kB / 444.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3787, allocations: 0 / 444.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/0.3788, allocations: 21.03 kB / 444.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3788, allocations: 3.953 kB / 444.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.3789, allocations: 3.094 kB / 444.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3789, allocations: 0 / 444.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3789, allocations: 0 / 444.2 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.3791, allocations: 241.9 kB / 444.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.3792, allocations: 87.86 kB / 444.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3792, allocations: 6.922 kB / 444.5 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.3793, allocations: 7.375 kB / 444.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3794, allocations: 2.875 kB / 444.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.435e-06/0.3794, allocations: 6.344 kB / 444.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.005e-05/0.3795, allocations: 146.3 kB / 444.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3795, allocations: 0 / 444.7 MB, free: 34.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.3797, allocations: 33.38 kB / 444.7 MB, free: 34.28 MB / 350.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 (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 9.331e-05/0.3798, allocations: 100.9 kB / 444.8 MB, free: 34.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00019/0.38, allocations: 71.22 kB / 444.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.38, allocations: 3.031 kB / 444.9 MB, free: 34.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.131e-05/0.3801, allocations: 39.33 kB / 444.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.3804, allocations: 24.89 kB / 444.9 MB, free: 34.14 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006453/0.3811, allocations: 482.5 kB / 445.4 MB, free: 33.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001525/0.3813, allocations: 0.7219 MB / 446.1 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.522e-05/0.3814, allocations: 18.48 kB / 446.1 MB, free: 33.12 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.415e-05/0.3814, allocations: 16.81 kB / 446.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3814, allocations: 4 kB / 446.2 MB, free: 33.11 MB / 350.1 MB Notification: Performance of Templates: time 0.003955/0.3854, allocations: 1.585 MB / 447.7 MB, free: 32.99 MB / 350.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)