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.001225/0.001225, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001262/0.001263, allocations: 177.3 kB / 15.94 MB, free: 228 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.571/1.571, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.3671/0.3671, allocations: 22.33 MB / 313.3 MB, free: 13.08 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005244/0.0005245, allocations: 11.98 kB / 381.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3801/0.3806, allocations: 55.98 MB / 437.9 MB, free: 39.07 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.002578/0.3833, allocations: 1.814 MB / 439.7 MB, free: 37.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004647/0.3838, allocations: 212.4 kB / 439.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.3839, allocations: 2.469 kB / 439.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.36e-05/0.384, allocations: 20.38 kB / 439.9 MB, free: 37.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.3843, allocations: 88.53 kB / 440 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.24e-05/0.3844, allocations: 21.5 kB / 440 MB, free: 37.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.3846, allocations: 123.8 kB / 440.2 MB, free: 37.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.3848, allocations: 98.41 kB / 440.3 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.3849, allocations: 74.52 kB / 440.3 MB, free: 37.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.3851, allocations: 79.27 kB / 440.4 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3851, allocations: 9.094 kB / 440.4 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.84e-05/0.3851, allocations: 11.84 kB / 440.4 MB, free: 37.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.971e-05/0.3852, allocations: 28.84 kB / 440.5 MB, free: 37.31 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.339e-05/0.3852, allocations: 56.61 kB / 440.5 MB, free: 37.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.3854, allocations: 135.9 kB / 440.6 MB, free: 37.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.3854, allocations: 0 / 440.6 MB, free: 37.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3854, allocations: 3.938 kB / 440.7 MB, free: 37.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.3855, allocations: 0 / 440.7 MB, free: 37.22 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.0006162/0.3861, allocations: 422.4 kB / 441.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3861, allocations: 10.88 kB / 441.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.306e-05/0.3862, allocations: 40.62 kB / 441.1 MB, free: 36.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.3863, allocations: 23.53 kB / 441.1 MB, free: 36.76 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.3865, allocations: 228.8 kB / 441.4 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.847e-05/0.3866, allocations: 7.672 kB / 441.4 MB, free: 36.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.3866, allocations: 12.44 kB / 441.4 MB, free: 36.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.3869, allocations: 154.8 kB / 441.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3869, allocations: 0 / 441.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.387, allocations: 4 kB / 441.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.387, allocations: 3.906 kB / 441.5 MB, free: 36.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000274/0.3873, allocations: 108.6 kB / 441.6 MB, free: 36.39 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.0009269/0.3882, allocations: 0.6336 MB / 442.3 MB, free: 35.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.3883, allocations: 53.16 kB / 442.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.3884, allocations: 3.062 kB / 442.3 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.698e-05/0.3884, allocations: 37.97 kB / 442.4 MB, free: 35.76 MB / 350.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000103/0.3885, allocations: 9.812 kB / 442.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.3885, allocations: 0 / 442.4 MB, free: 35.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003885/0.3889, allocations: 114.6 kB / 442.5 MB, free: 35.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.389, allocations: 54.38 kB / 442.5 MB, free: 35.62 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3891, allocations: 193.7 kB / 442.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.3891, allocations: 32.58 kB / 442.8 MB, free: 35.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.545e-05/0.3892, allocations: 130.9 kB / 442.9 MB, free: 35.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.889e-05/0.3892, allocations: 26.02 kB / 442.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.3892, allocations: 0 / 442.9 MB, free: 35.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.584e-05/0.3893, allocations: 328.2 kB / 443.2 MB, free: 35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.3894, allocations: 26.38 kB / 443.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000118/0.3895, allocations: 50.61 kB / 443.3 MB, free: 34.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3897, allocations: 36.28 kB / 443.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3897, allocations: 0 / 443.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002383/0.3899, allocations: 119.4 kB / 443.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3899, allocations: 7.531 kB / 443.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.39, allocations: 4.062 kB / 443.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.39, allocations: 0 / 443.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.3901, allocations: 31.2 kB / 443.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.3901, allocations: 0 / 443.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.3902, allocations: 2.938 kB / 443.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3903, allocations: 6.844 kB / 443.5 MB, free: 34.85 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.0001906/0.3905, allocations: 127.1 kB / 443.6 MB, free: 34.73 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.3905, allocations: 21.27 kB / 443.7 MB, free: 34.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.3907, allocations: 125.5 kB / 443.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3908, allocations: 0 / 443.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3908, allocations: 3.125 kB / 443.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3908, allocations: 0 / 443.8 MB, free: 34.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.391, allocations: 226.9 kB / 444 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.391, allocations: 0 / 444 MB, free: 34.42 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001329/0.3911, allocations: 32.98 kB / 444 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3912, allocations: 3.953 kB / 444 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.3912, allocations: 4 kB / 444.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3912, allocations: 6.562 kB / 444.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3912, allocations: 0 / 444.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002636/0.3915, allocations: 229.4 kB / 444.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.426e-05/0.3915, allocations: 91.95 kB / 444.4 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.838e-05/0.3915, allocations: 6.859 kB / 444.4 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3917, allocations: 8 kB / 444.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.3917, allocations: 6.328 kB / 444.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.3917, allocations: 6.969 kB / 444.4 MB, free: 34.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.262e-05/0.3918, allocations: 143.4 kB / 444.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3918, allocations: 2.531 kB / 444.5 MB, free: 34.01 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.3921, allocations: 31.59 kB / 444.6 MB, free: 34 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 0.0004402/0.3926, allocations: 0.7616 MB / 445.3 MB, free: 33.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.3928, allocations: 76.55 kB / 445.4 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3928, allocations: 2.906 kB / 445.4 MB, free: 33.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.434e-05/0.3928, allocations: 34.97 kB / 445.4 MB, free: 33.26 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.3931, allocations: 27 kB / 445.5 MB, free: 33.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3945, allocations: 1.311 MB / 446.8 MB, free: 32.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.3947, allocations: 0.7266 MB / 447.5 MB, free: 31.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.955e-05/0.3948, allocations: 17.75 kB / 447.5 MB, free: 31.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.89e-05/0.3949, allocations: 53.17 kB / 447.6 MB, free: 31.57 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3949, allocations: 0 / 447.6 MB, free: 31.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.4093, allocations: 3.235 MB / 450.8 MB, free: 31.33 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.4096, allocations: 165.5 kB / 451 MB, free: 31.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.22, allocations: 4 kB / 451 MB, free: 31.09 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/linux/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) Environment - environmentSimulation: