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: "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_mixing_streams,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_mixing_streams",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_mixing_streams,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_mixing_streams",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00097/0.00097, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.0009274/0.0009273, allocations: 191.7 kB / 16.25 MB, free: 6.633 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.19/1.19, 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.1781/0.1781, allocations: 22.37 MB / 312.4 MB, free: 12.65 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 59.89 kB / 380.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2129, allocations: 54.94 MB / 435.4 MB, free: 39.8 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.02536/0.2383, allocations: 21.83 MB / 457.2 MB, free: 32.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004652/0.2388, allocations: 197 kB / 457.4 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.119e-05/0.2389, allocations: 6.312 kB / 457.4 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.1e-05/0.239, allocations: 11.98 kB / 457.4 MB, free: 31.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.2392, allocations: 57.17 kB / 457.4 MB, free: 31.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.644e-05/0.2392, allocations: 28.3 kB / 457.5 MB, free: 31.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.2394, allocations: 190 kB / 457.7 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001824/0.2396, allocations: 111.5 kB / 457.8 MB, free: 31.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.2397, allocations: 73.06 kB / 457.8 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.442e-05/0.2398, allocations: 92.59 kB / 457.9 MB, free: 31.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.958e-05/0.2398, allocations: 14.03 kB / 457.9 MB, free: 31.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.921e-05/0.2399, allocations: 12.81 kB / 458 MB, free: 31.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.679e-05/0.2399, allocations: 35.05 kB / 458 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.732e-05/0.24, allocations: 83.23 kB / 458.1 MB, free: 31.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000144/0.2401, allocations: 182.6 kB / 458.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2401, allocations: 1.219 kB / 458.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2401, allocations: 0 / 458.3 MB, free: 31.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.2402, allocations: 4 kB / 458.3 MB, free: 31.44 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.0004693/0.2406, allocations: 462 kB / 458.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.472e-05/0.2407, allocations: 9.688 kB / 458.7 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.354e-05/0.2407, allocations: 46.28 kB / 458.8 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.713e-05/0.2408, allocations: 17.66 kB / 458.8 MB, free: 30.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.2409, allocations: 228.4 kB / 459 MB, free: 30.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.2409, allocations: 13.67 kB / 459 MB, free: 30.72 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.241, allocations: 15.66 kB / 459 MB, free: 30.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.2412, allocations: 161.1 kB / 459.2 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2413, allocations: 0 / 459.2 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.2413, allocations: 1 kB / 459.2 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.2413, allocations: 3.031 kB / 459.2 MB, free: 30.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002446/0.2415, allocations: 101.1 kB / 459.3 MB, free: 30.58 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.0006856/0.2422, allocations: 0.637 MB / 459.9 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.2424, allocations: 59.09 kB / 460 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.262e-05/0.2425, allocations: 36.19 kB / 460 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.2425, allocations: 5.031 kB / 460 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.979e-06/0.2425, allocations: 31.72 kB / 460.1 MB, free: 29.92 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.471e-05/0.2426, allocations: 12.38 kB / 460.1 MB, free: 29.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.202e-06/0.2426, allocations: 5.344 kB / 460.1 MB, free: 29.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003311/0.243, allocations: 110 kB / 460.2 MB, free: 29.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.611e-05/0.243, allocations: 52.72 kB / 460.2 MB, free: 29.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2431, allocations: 204.1 kB / 460.4 MB, free: 29.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.2431, allocations: 25.7 kB / 460.5 MB, free: 29.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.692e-05/0.2432, allocations: 135.3 kB / 460.6 MB, free: 29.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.2432, allocations: 26.84 kB / 460.6 MB, free: 29.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.2433, allocations: 28.06 kB / 460.6 MB, free: 29.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.751e-05/0.2433, allocations: 329.3 kB / 461 MB, free: 29.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.778e-05/0.2434, allocations: 23.27 kB / 461 MB, free: 29.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.63e-05/0.2435, allocations: 49.05 kB / 461 MB, free: 29.08 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009804/0.2445, allocations: 200.4 kB / 461.2 MB, free: 29.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2445, allocations: 3.938 kB / 461.2 MB, free: 29 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002341/0.2447, allocations: 118.4 kB / 461.4 MB, free: 28.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.2447, allocations: 5.594 kB / 461.4 MB, free: 28.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2448, allocations: 1.031 kB / 461.4 MB, free: 28.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2448, allocations: 5.062 kB / 461.4 MB, free: 28.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.2449, allocations: 29.67 kB / 461.4 MB, free: 28.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.2449, allocations: 10.41 kB / 461.4 MB, free: 28.92 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.784e-05/0.245, allocations: 4.328 kB / 461.4 MB, free: 28.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.245, allocations: 2.594 kB / 461.4 MB, free: 28.92 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.0001205/0.2452, allocations: 130.3 kB / 461.5 MB, free: 28.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-05/0.2452, allocations: 18.06 kB / 461.6 MB, free: 28.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002064/0.2454, allocations: 118.2 kB / 461.7 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2454, allocations: 1.5 kB / 461.7 MB, free: 28.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2454, allocations: 3.938 kB / 461.7 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.2454, allocations: 1.406 kB / 461.7 MB, free: 28.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.2456, allocations: 227.1 kB / 461.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2456, allocations: 1.469 kB / 461.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000128/0.2457, allocations: 23.12 kB / 461.9 MB, free: 28.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.604e-06/0.2458, allocations: 5.469 kB / 461.9 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.2458, allocations: 3.938 kB / 461.9 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2458, allocations: 1.219 kB / 461.9 MB, free: 28.49 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2458, allocations: 3.938 kB / 461.9 MB, free: 28.48 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.246, allocations: 239.2 kB / 462.2 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.926e-05/0.2461, allocations: 88.89 kB / 462.3 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.2461, allocations: 7.938 kB / 462.3 MB, free: 28.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.919e-05/0.2462, allocations: 5.312 kB / 462.3 MB, free: 28.19 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.2462, allocations: 11.14 kB / 462.3 MB, free: 28.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.2462, allocations: 2.5 kB / 462.3 MB, free: 28.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.082e-05/0.2463, allocations: 144.5 kB / 462.4 MB, free: 28.09 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2463, allocations: 1.312 kB / 462.4 MB, free: 28.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.2466, allocations: 33.44 kB / 462.5 MB, free: 28.09 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 0.0003546/0.2469, allocations: 0.7626 MB / 463.2 MB, free: 27.38 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.2471, allocations: 78.36 kB / 463.3 MB, free: 27.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2472, allocations: 0 / 463.3 MB, free: 27.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.471e-05/0.2472, allocations: 32.52 kB / 463.3 MB, free: 27.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.2475, allocations: 40.7 kB / 463.4 MB, free: 27.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/0.2491, allocations: 1.949 MB / 465.3 MB, free: 25.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.2492, allocations: 0.7224 MB / 466 MB, free: 25.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.179e-05/0.2493, allocations: 24.3 kB / 466.1 MB, free: 25.06 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.031e-05/0.2494, allocations: 55.72 kB / 466.1 MB, free: 25.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.2494, allocations: 0 / 466.1 MB, free: 25.02 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.2623, allocations: 3.36 MB / 469.5 MB, free: 23.96 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001138/0.2624, allocations: 195.3 kB / 469.7 MB, free: 23.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.826, allocations: 4 kB / 469.7 MB, free: 23.7 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_mixing_streams_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_mixing_streams.fmu > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1)