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.007281/0.007281, allocations: 96.7 kB / 15.73 MB, free: 6.051 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.001776/0.001776, allocations: 197.8 kB / 16.67 MB, free: 5.973 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1874/0.1874, allocations: 22.34 MB / 312.9 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 69.23 kB / 436.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07627/0.07747, allocations: 54.96 MB / 491.5 MB, free: 1.727 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.02853/0.106, allocations: 21.67 MB / 0.5012 GB, free: 12.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005532/0.1066, allocations: 183.3 kB / 0.5014 GB, free: 12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.072e-05/0.1067, allocations: 4 kB / 0.5014 GB, free: 12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.329e-05/0.1068, allocations: 19.73 kB / 0.5014 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002321/0.107, allocations: 71.47 kB / 0.5015 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.899e-05/0.1071, allocations: 31.91 kB / 0.5015 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001859/0.1073, allocations: 183.1 kB / 0.5017 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1075, allocations: 125.4 kB / 0.5018 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.1077, allocations: 75.77 kB / 0.5019 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1078, allocations: 91.56 kB / 0.5019 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.772e-05/0.1079, allocations: 19.98 kB / 0.502 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.624e-05/0.1079, allocations: 12 kB / 0.502 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.742e-05/0.1079, allocations: 31.86 kB / 0.502 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.593e-05/0.108, allocations: 79.61 kB / 0.5021 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002168/0.1082, allocations: 191.2 kB / 0.5023 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1083, allocations: 0 / 0.5023 GB, free: 11.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1083, allocations: 0 / 0.5023 GB, free: 11.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1083, allocations: 0 / 0.5023 GB, free: 11.08 MB / 382.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.0006031/0.1089, allocations: 470.7 kB / 0.5027 GB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.1089, allocations: 8.031 kB / 0.5027 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.109, allocations: 42.75 kB / 0.5028 GB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.109, allocations: 24.83 kB / 0.5028 GB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1093, allocations: 232.8 kB / 0.503 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1093, allocations: 4.609 kB / 0.503 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1093, allocations: 16.31 kB / 0.503 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.1096, allocations: 158.6 kB / 0.5032 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1096, allocations: 0 / 0.5032 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.1097, allocations: 4 kB / 0.5032 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1097, allocations: 4 kB / 0.5032 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.11, allocations: 99.95 kB / 0.5033 GB, free: 9.934 MB / 382.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.0008549/0.1108, allocations: 0.6279 MB / 0.5039 GB, free: 9.234 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.111, allocations: 58.55 kB / 0.5039 GB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.1111, allocations: 41 kB / 0.504 GB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.1111, allocations: 3.984 kB / 0.504 GB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.1112, allocations: 34.5 kB / 0.504 GB, free: 9.078 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.897e-05/0.1113, allocations: 15.88 kB / 0.504 GB, free: 9.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.243e-06/0.1113, allocations: 0 / 0.504 GB, free: 9.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003911/0.1117, allocations: 113.8 kB / 0.5041 GB, free: 8.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.1117, allocations: 55.41 kB / 0.5042 GB, free: 8.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.1119, allocations: 202.5 kB / 0.5044 GB, free: 8.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1119, allocations: 25.7 kB / 0.5044 GB, free: 8.637 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/0.112, allocations: 135.9 kB / 0.5045 GB, free: 8.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.531e-05/0.112, allocations: 23.78 kB / 0.5046 GB, free: 8.477 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.1121, allocations: 33.61 kB / 0.5046 GB, free: 8.438 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1122, allocations: 330.8 kB / 0.5049 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.1123, allocations: 23.98 kB / 0.5049 GB, free: 8.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.1124, allocations: 50.5 kB / 0.505 GB, free: 8.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/0.1135, allocations: 198.3 kB / 0.5052 GB, free: 7.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1135, allocations: 0 / 0.5052 GB, free: 7.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002747/0.1138, allocations: 117.5 kB / 0.5053 GB, free: 7.699 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1138, allocations: 8 kB / 0.5053 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1138, allocations: 0 / 0.5053 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1139, allocations: 64 / 0.5053 GB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.114, allocations: 36 kB / 0.5053 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.114, allocations: 7.875 kB / 0.5053 GB, free: 7.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.264e-05/0.1141, allocations: 4 kB / 0.5053 GB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.1141, allocations: 8 kB / 0.5054 GB, free: 7.637 MB / 382.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.000146/0.1143, allocations: 125 kB / 0.5055 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.1143, allocations: 19.89 kB / 0.5055 GB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.1146, allocations: 119 kB / 0.5056 GB, free: 7.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.1146, allocations: 3.984 kB / 0.5056 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.1146, allocations: 3.938 kB / 0.5056 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1146, allocations: 0 / 0.5056 GB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1149, allocations: 225.6 kB / 0.5058 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1149, allocations: 0 / 0.5058 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001372/0.115, allocations: 19.98 kB / 0.5058 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.115, allocations: 4 kB / 0.5058 GB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.115, allocations: 8 kB / 0.5059 GB, free: 7.055 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.115, allocations: 3.938 kB / 0.5059 GB, free: 7.051 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1151, allocations: 3.938 kB / 0.5059 GB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.1154, allocations: 235.5 kB / 0.5061 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.1154, allocations: 97.03 kB / 0.5062 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1155, allocations: 0 / 0.5062 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1156, allocations: 4 kB / 0.5062 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.1156, allocations: 11.92 kB / 0.5062 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1156, allocations: 12.06 kB / 0.5062 GB, free: 6.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1157, allocations: 140.2 kB / 0.5063 GB, free: 6.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1157, allocations: 4 kB / 0.5063 GB, free: 6.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.116, allocations: 31.89 kB / 0.5064 GB, free: 6.488 MB / 382.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.000536/0.1166, allocations: 0.7671 MB / 0.5071 GB, free: 5.691 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002047/0.1168, allocations: 71.97 kB / 0.5072 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.1168, allocations: 0 / 0.5072 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.468e-05/0.1169, allocations: 39.92 kB / 0.5072 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.1172, allocations: 27.92 kB / 0.5073 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002009/0.1192, allocations: 1.902 MB / 0.5091 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.1195, allocations: 0.7202 MB / 0.5098 GB, free: 2.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.297e-05/0.1195, allocations: 21.55 kB / 0.5098 GB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.082e-05/0.1196, allocations: 51.42 kB / 0.5099 GB, free: 2.746 MB / 382.1 MB Notification: Performance of SimCode: time 1.633e-06/0.1196, allocations: 0.6562 kB / 0.5099 GB, free: 2.746 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01855/0.1382, allocations: 3.537 MB / 0.5133 GB, free: 15.26 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.384/7.522, allocations: 11.7 kB / 0.5134 GB, free: 15.25 MB / 398.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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_liquid_mixing_streams_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.2 AES_AES_Devel_test_models_Test_liquid_mixing_streams.fmu > AES_AES.Devel_test_models.Test_liquid_mixing_streams.pipe 2>&1)