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.001472/0.001472, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001852/0.001852, allocations: 197.9 kB / 16.26 MB, free: 6.625 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.382/1.382, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1937/0.1937, allocations: 22.35 MB / 312.4 MB, free: 12.66 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.00119, allocations: 67.89 kB / 380.3 MB, free: 10.99 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2317, allocations: 54.95 MB / 435.2 MB, free: 39.7 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.02764/0.2594, allocations: 21.82 MB / 457.1 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005139/0.2599, allocations: 193.8 kB / 457.2 MB, free: 31.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.26, allocations: 3.406 kB / 457.3 MB, free: 31.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.403e-05/0.2601, allocations: 20.84 kB / 457.3 MB, free: 31.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.2603, allocations: 44.75 kB / 457.3 MB, free: 31.74 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.499e-05/0.2604, allocations: 31.38 kB / 457.3 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.2605, allocations: 187.8 kB / 457.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.2607, allocations: 107.6 kB / 457.6 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.2609, allocations: 79.75 kB / 457.7 MB, free: 31.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.261, allocations: 89.36 kB / 457.8 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.392e-05/0.261, allocations: 13.66 kB / 457.8 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.23e-05/0.2611, allocations: 13.81 kB / 457.8 MB, free: 31.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.86e-05/0.2611, allocations: 35.59 kB / 457.9 MB, free: 31.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.119e-05/0.2612, allocations: 87.64 kB / 457.9 MB, free: 31.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.2613, allocations: 182 kB / 458.1 MB, free: 31.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2613, allocations: 5.188 kB / 458.1 MB, free: 31.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2614, allocations: 0 / 458.1 MB, free: 31.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.2614, allocations: 0 / 458.1 MB, free: 31.34 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.0005169/0.2619, allocations: 462.3 kB / 458.6 MB, free: 30.9 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.2619, allocations: 9.438 kB / 458.6 MB, free: 30.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.75e-05/0.262, allocations: 22.09 kB / 458.6 MB, free: 30.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.2622, allocations: 228.1 kB / 458.8 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.2622, allocations: 13.19 kB / 458.8 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.2622, allocations: 11.44 kB / 458.9 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002959/0.2625, allocations: 156.9 kB / 459 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.2626, allocations: 0 / 459 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.2626, allocations: 6.219 kB / 459 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2626, allocations: 2.406 kB / 459 MB, free: 30.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002692/0.2629, allocations: 104 kB / 459.1 MB, free: 30.52 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.0007814/0.2637, allocations: 0.6295 MB / 459.8 MB, free: 29.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.2638, allocations: 55.08 kB / 459.8 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.2639, allocations: 39.55 kB / 459.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.772e-05/0.264, allocations: 5.234 kB / 459.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.445e-05/0.264, allocations: 35.59 kB / 459.9 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001042/0.2641, allocations: 13.38 kB / 459.9 MB, free: 29.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.2641, allocations: 1.062 kB / 459.9 MB, free: 29.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003765/0.2645, allocations: 110 kB / 460 MB, free: 29.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.2645, allocations: 51.41 kB / 460.1 MB, free: 29.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001402/0.2647, allocations: 201.3 kB / 460.3 MB, free: 29.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.2647, allocations: 26.83 kB / 460.3 MB, free: 29.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.2647, allocations: 134 kB / 460.4 MB, free: 29.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.2648, allocations: 30.12 kB / 460.4 MB, free: 29.42 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.766e-05/0.2648, allocations: 26.05 kB / 460.5 MB, free: 29.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.2649, allocations: 325.6 kB / 460.8 MB, free: 29.08 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.766e-05/0.265, allocations: 30.78 kB / 460.8 MB, free: 29.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.556e-05/0.2651, allocations: 52.17 kB / 460.9 MB, free: 29.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/0.2662, allocations: 205.3 kB / 461.1 MB, free: 28.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2662, allocations: 0 / 461.1 MB, free: 28.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002592/0.2664, allocations: 120.4 kB / 461.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.2665, allocations: 5.219 kB / 461.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.2665, allocations: 4.062 kB / 461.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2665, allocations: 1.406 kB / 461.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.2666, allocations: 26.39 kB / 461.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2667, allocations: 1.219 kB / 461.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.816e-05/0.2668, allocations: 12.59 kB / 461.2 MB, free: 28.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.2668, allocations: 3.625 kB / 461.2 MB, free: 28.87 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.0001412/0.2669, allocations: 133.6 kB / 461.4 MB, free: 28.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.267, allocations: 14.69 kB / 461.4 MB, free: 28.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002329/0.2672, allocations: 115.9 kB / 461.5 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.2672, allocations: 1.531 kB / 461.5 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2672, allocations: 3.328 kB / 461.5 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.2672, allocations: 5.312 kB / 461.5 MB, free: 28.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.2674, allocations: 221.4 kB / 461.7 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2674, allocations: 4.656 kB / 461.7 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.2676, allocations: 31.06 kB / 461.8 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.2676, allocations: 1.125 kB / 461.8 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.2676, allocations: 1.125 kB / 461.8 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2676, allocations: 1.094 kB / 461.8 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2676, allocations: 0 / 461.8 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.2679, allocations: 242.3 kB / 462 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.2679, allocations: 92.7 kB / 462.1 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.268, allocations: 4.922 kB / 462.1 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.2681, allocations: 8.047 kB / 462.1 MB, free: 28.14 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.2681, allocations: 14.58 kB / 462.1 MB, free: 28.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.2682, allocations: 2.781 kB / 462.1 MB, free: 28.13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.244e-05/0.2683, allocations: 141.5 kB / 462.3 MB, free: 28.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2683, allocations: 0 / 462.3 MB, free: 28.04 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.2685, allocations: 30.88 kB / 462.3 MB, free: 28.03 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 7.93e-05/0.2686, allocations: 101 kB / 462.4 MB, free: 27.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.2688, allocations: 81.61 kB / 462.5 MB, free: 27.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2689, allocations: 0 / 462.5 MB, free: 27.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.2689, allocations: 36.58 kB / 462.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.2693, allocations: 37.45 kB / 462.5 MB, free: 27.88 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.2698, allocations: 440.7 kB / 463 MB, free: 27.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.27, allocations: 0.7196 MB / 463.7 MB, free: 26.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.2701, allocations: 24.11 kB / 463.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.2701, allocations: 25.08 kB / 463.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2701, allocations: 0 / 463.7 MB, free: 26.86 MB / 350.1 MB Notification: Performance of Templates: time 0.004189/0.2743, allocations: 1.738 MB / 465.5 MB, free: 26.72 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)