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.001546/0.001546, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001807/0.001807, allocations: 198.2 kB / 16.14 MB, free: 6.711 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.349/1.349, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2144/0.2144, allocations: 22.37 MB / 312.3 MB, free: 12.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001374/0.001374, allocations: 71.88 kB / 380.1 MB, free: 11.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2575, allocations: 54.93 MB / 435 MB, free: 39.45 MB / 350.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.03125/0.2888, allocations: 21.83 MB / 456.9 MB, free: 31.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005721/0.2894, allocations: 198 kB / 457.1 MB, free: 31.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001768/0.2895, allocations: 3.5 kB / 457.1 MB, free: 31.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.358e-05/0.2896, allocations: 20.05 kB / 457.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.2899, allocations: 53.14 kB / 457.1 MB, free: 31.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.29, allocations: 28.72 kB / 457.2 MB, free: 31.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001893/0.2902, allocations: 179.8 kB / 457.3 MB, free: 31.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.2905, allocations: 104.2 kB / 457.4 MB, free: 31.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.2907, allocations: 72.05 kB / 457.5 MB, free: 31.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.2908, allocations: 85.45 kB / 457.6 MB, free: 31.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.435e-05/0.2909, allocations: 12.72 kB / 457.6 MB, free: 31.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.999e-05/0.2909, allocations: 10.25 kB / 457.6 MB, free: 31.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.322e-05/0.2909, allocations: 35.42 kB / 457.7 MB, free: 31.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.387e-05/0.291, allocations: 80.48 kB / 457.7 MB, free: 31.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.2912, allocations: 181.7 kB / 457.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2912, allocations: 0 / 457.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2912, allocations: 0 / 457.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.2912, allocations: 0 / 457.9 MB, free: 31.11 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.0006276/0.2919, allocations: 459.3 kB / 458.4 MB, free: 30.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2919, allocations: 12.72 kB / 458.4 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.171e-05/0.292, allocations: 17.38 kB / 458.4 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.2922, allocations: 236.9 kB / 458.6 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.2922, allocations: 13.41 kB / 458.6 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.51e-05/0.2923, allocations: 12.16 kB / 458.6 MB, free: 30.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.2926, allocations: 157.7 kB / 458.8 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.2926, allocations: 3.938 kB / 458.8 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.2926, allocations: 1.062 kB / 458.8 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.2926, allocations: 3.125 kB / 458.8 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/0.2929, allocations: 104.6 kB / 458.9 MB, free: 30.28 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.0008522/0.2938, allocations: 0.6333 MB / 459.5 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.294, allocations: 64.58 kB / 459.6 MB, free: 29.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.947e-05/0.2941, allocations: 31.5 kB / 459.6 MB, free: 29.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.2941, allocations: 5.125 kB / 459.6 MB, free: 29.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.236e-05/0.2941, allocations: 31.72 kB / 459.7 MB, free: 29.63 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001096/0.2942, allocations: 13.2 kB / 459.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.495e-06/0.2942, allocations: 0 / 459.7 MB, free: 29.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003757/0.2946, allocations: 118.1 kB / 459.8 MB, free: 29.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.117e-05/0.2946, allocations: 52.62 kB / 459.8 MB, free: 29.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.2948, allocations: 200 kB / 460 MB, free: 29.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.2948, allocations: 25.7 kB / 460.1 MB, free: 29.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.2949, allocations: 128.5 kB / 460.2 MB, free: 29.21 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.2949, allocations: 34.36 kB / 460.2 MB, free: 29.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.295, allocations: 32.47 kB / 460.3 MB, free: 29.15 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.034e-05/0.295, allocations: 325.6 kB / 460.6 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.552e-05/0.2951, allocations: 27.28 kB / 460.6 MB, free: 28.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.2952, allocations: 44.2 kB / 460.6 MB, free: 28.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.2963, allocations: 194.9 kB / 460.8 MB, free: 28.72 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2963, allocations: 1.094 kB / 460.8 MB, free: 28.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002657/0.2966, allocations: 124.5 kB / 461 MB, free: 28.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2966, allocations: 5.531 kB / 461 MB, free: 28.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.2966, allocations: 1.062 kB / 461 MB, free: 28.65 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.2966, allocations: 1.062 kB / 461 MB, free: 28.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.2968, allocations: 32.81 kB / 461 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.2968, allocations: 1.5 kB / 461 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.727e-05/0.2969, allocations: 5.094 kB / 461 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2969, allocations: 6.891 kB / 461 MB, free: 28.64 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.2971, allocations: 134.3 kB / 461.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.797e-05/0.2971, allocations: 14.03 kB / 461.2 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.2974, allocations: 118.9 kB / 461.3 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2974, allocations: 1.188 kB / 461.3 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.2974, allocations: 4.5 kB / 461.3 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2974, allocations: 3.938 kB / 461.3 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.2976, allocations: 231.7 kB / 461.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-06/0.2976, allocations: 5.062 kB / 461.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001393/0.2978, allocations: 23.16 kB / 461.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2978, allocations: 1.25 kB / 461.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2978, allocations: 4.344 kB / 461.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2978, allocations: 1.312 kB / 461.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.2978, allocations: 0 / 461.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.2981, allocations: 237.7 kB / 461.8 MB, free: 28.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.857e-05/0.2982, allocations: 92.3 kB / 461.9 MB, free: 27.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.2982, allocations: 9.297 kB / 461.9 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.2983, allocations: 1.094 kB / 461.9 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.605e-05/0.2984, allocations: 10.36 kB / 461.9 MB, free: 27.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.2984, allocations: 10.12 kB / 461.9 MB, free: 27.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000108/0.2985, allocations: 146.9 kB / 462 MB, free: 27.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2985, allocations: 0 / 462 MB, free: 27.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002712/0.2988, allocations: 33.91 kB / 462.1 MB, free: 27.79 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 (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.197e-05/0.2989, allocations: 97.25 kB / 462.2 MB, free: 27.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.2991, allocations: 76.84 kB / 462.2 MB, free: 27.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2991, allocations: 0 / 462.2 MB, free: 27.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.917e-05/0.2992, allocations: 33.39 kB / 462.3 MB, free: 27.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.2996, allocations: 25.11 kB / 462.3 MB, free: 27.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.3003, allocations: 444 kB / 462.7 MB, free: 27.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001733/0.3004, allocations: 0.7238 MB / 463.5 MB, free: 26.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001138/0.3006, allocations: 26.78 kB / 463.5 MB, free: 26.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.834e-05/0.3006, allocations: 17.44 kB / 463.5 MB, free: 26.62 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3006, allocations: 0 / 463.5 MB, free: 26.62 MB / 350.1 MB Notification: Performance of Templates: time 0.004751/0.3054, allocations: 1.66 MB / 465.2 MB, free: 26.49 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)