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.001463/0.001463, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.359/1.359, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2048/0.2048, allocations: 22.35 MB / 312.7 MB, free: 12.61 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002403/0.002403, allocations: 59.91 kB / 380.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2584, allocations: 54.94 MB / 435.9 MB, free: 39.71 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.02538/0.2838, allocations: 21.63 MB / 457.5 MB, free: 32.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004721/0.2843, allocations: 185.3 kB / 457.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.292e-05/0.2844, allocations: 7.719 kB / 457.7 MB, free: 31.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.956e-05/0.2844, allocations: 24.33 kB / 457.7 MB, free: 31.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.2847, allocations: 59.78 kB / 457.8 MB, free: 31.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.934e-05/0.2847, allocations: 35.28 kB / 457.8 MB, free: 31.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.2849, allocations: 182 kB / 458 MB, free: 31.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001985/0.2851, allocations: 112.9 kB / 458.1 MB, free: 31.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.2852, allocations: 72.97 kB / 458.2 MB, free: 31.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000106/0.2853, allocations: 92.66 kB / 458.3 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.2854, allocations: 18.22 kB / 458.3 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.309e-05/0.2854, allocations: 12.69 kB / 458.3 MB, free: 31.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.2854, allocations: 35.11 kB / 458.3 MB, free: 31.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.078e-05/0.2855, allocations: 83.61 kB / 458.4 MB, free: 31.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001498/0.2857, allocations: 183.9 kB / 458.6 MB, free: 31.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2857, allocations: 0 / 458.6 MB, free: 31.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2857, allocations: 0 / 458.6 MB, free: 31.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2857, allocations: 1.156 kB / 458.6 MB, free: 31.49 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.0004845/0.2862, allocations: 466.4 kB / 459 MB, free: 31.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.2862, allocations: 9.156 kB / 459.1 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.29e-05/0.2863, allocations: 46.62 kB / 459.1 MB, free: 31.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.2863, allocations: 16.31 kB / 459.1 MB, free: 31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.2865, allocations: 231.1 kB / 459.3 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.2865, allocations: 9.141 kB / 459.4 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.994e-05/0.2866, allocations: 7.938 kB / 459.4 MB, free: 30.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002689/0.2868, allocations: 156.7 kB / 459.5 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.2869, allocations: 1.156 kB / 459.5 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.2869, allocations: 5.031 kB / 459.5 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.2869, allocations: 3.438 kB / 459.5 MB, free: 30.67 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.2872, allocations: 106.1 kB / 459.6 MB, free: 30.63 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.0007197/0.2879, allocations: 0.6329 MB / 460.3 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.288, allocations: 58.67 kB / 460.3 MB, free: 30.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.954e-05/0.2881, allocations: 36.56 kB / 460.3 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.514e-05/0.2882, allocations: 0 / 460.3 MB, free: 30.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.153e-05/0.2882, allocations: 34.84 kB / 460.4 MB, free: 29.98 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.966e-05/0.2883, allocations: 14.69 kB / 460.4 MB, free: 29.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2883, allocations: 0 / 460.4 MB, free: 29.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003663/0.2887, allocations: 117.3 kB / 460.5 MB, free: 29.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.678e-05/0.2887, allocations: 55.92 kB / 460.6 MB, free: 29.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2888, allocations: 201.7 kB / 460.8 MB, free: 29.7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.2888, allocations: 30.77 kB / 460.8 MB, free: 29.66 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.92e-05/0.2889, allocations: 134.3 kB / 460.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.2889, allocations: 22.84 kB / 460.9 MB, free: 29.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-05/0.289, allocations: 29.34 kB / 461 MB, free: 29.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.137e-05/0.289, allocations: 328.9 kB / 461.3 MB, free: 29.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.805e-05/0.2891, allocations: 27.33 kB / 461.3 MB, free: 29.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.432e-05/0.2892, allocations: 40.64 kB / 461.4 MB, free: 29.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.2903, allocations: 196.6 kB / 461.6 MB, free: 29.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.2903, allocations: 0 / 461.6 MB, free: 29.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002751/0.2906, allocations: 128.1 kB / 461.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.2906, allocations: 5.688 kB / 461.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.2906, allocations: 1.156 kB / 461.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2906, allocations: 1.188 kB / 461.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.2908, allocations: 24.95 kB / 461.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.2908, allocations: 5.031 kB / 461.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.798e-05/0.2909, allocations: 1.156 kB / 461.7 MB, free: 28.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.2909, allocations: 11.97 kB / 461.7 MB, free: 28.98 MB / 350.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.0001182/0.291, allocations: 133.4 kB / 461.9 MB, free: 28.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.2911, allocations: 21.95 kB / 461.9 MB, free: 28.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002264/0.2913, allocations: 119.2 kB / 462 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2913, allocations: 1.219 kB / 462 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2913, allocations: 3.938 kB / 462 MB, free: 28.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2913, allocations: 5.531 kB / 462 MB, free: 28.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001773/0.2915, allocations: 231.1 kB / 462.2 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2915, allocations: 0 / 462.2 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001359/0.2916, allocations: 20.08 kB / 462.3 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.2917, allocations: 1.062 kB / 462.3 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.2917, allocations: 9.625 kB / 462.3 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2917, allocations: 0 / 462.3 MB, free: 28.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2917, allocations: 3.938 kB / 462.3 MB, free: 28.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000256/0.2919, allocations: 234.9 kB / 462.5 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.294e-05/0.292, allocations: 93.61 kB / 462.6 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.292, allocations: 5.125 kB / 462.6 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.2921, allocations: 4.516 kB / 462.6 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.62e-05/0.2922, allocations: 11.12 kB / 462.6 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-06/0.2922, allocations: 5.641 kB / 462.6 MB, free: 28.24 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.973e-05/0.2923, allocations: 142.2 kB / 462.8 MB, free: 28.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2923, allocations: 3.938 kB / 462.8 MB, free: 28.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002565/0.2925, allocations: 25.66 kB / 462.8 MB, free: 28.14 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.0003832/0.2929, allocations: 0.7703 MB / 463.6 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.2932, allocations: 74.19 kB / 463.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2932, allocations: 0 / 463.6 MB, free: 27.41 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.64e-05/0.2932, allocations: 37.25 kB / 463.7 MB, free: 27.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.2935, allocations: 44.38 kB / 463.7 MB, free: 27.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.2952, allocations: 1.895 MB / 465.6 MB, free: 25.87 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001095/0.2954, allocations: 0.7227 MB / 466.3 MB, free: 25.17 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.449e-05/0.2955, allocations: 19.97 kB / 466.3 MB, free: 25.16 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.2956, allocations: 51.19 kB / 466.4 MB, free: 25.13 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2956, allocations: 1.094 kB / 466.4 MB, free: 25.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.271/2.567, allocations: 3.483 MB / 469.9 MB, free: 23.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.707/10.27, allocations: 24.17 kB / 469.9 MB, free: 23.94 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)