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.005865/0.00587, allocations: 95.83 kB / 15.73 MB, free: 6.484 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.001375/0.001375, allocations: 191.3 kB / 16.67 MB, free: 6.391 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1953/0.1953, allocations: 22.37 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 70.89 kB / 436.6 MB, free: 33.94 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07475/0.07661, allocations: 54.96 MB / 491.6 MB, free: 1.699 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.03152/0.1082, allocations: 22.06 MB / 0.5016 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005978/0.1088, allocations: 179.4 kB / 0.5017 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.1089, allocations: 3.938 kB / 0.5017 GB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.632e-05/0.109, allocations: 23.78 kB / 0.5018 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1092, allocations: 59.48 kB / 0.5018 GB, free: 11.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.863e-05/0.1093, allocations: 35.89 kB / 0.5019 GB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.1095, allocations: 187 kB / 0.502 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002502/0.1098, allocations: 123.1 kB / 0.5022 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1099, allocations: 75.72 kB / 0.5022 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.1101, allocations: 87.61 kB / 0.5023 GB, free: 11.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.528e-05/0.1101, allocations: 16 kB / 0.5023 GB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.738e-05/0.1102, allocations: 12 kB / 0.5023 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.063e-05/0.1102, allocations: 31.86 kB / 0.5024 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.289e-05/0.1103, allocations: 79.61 kB / 0.5024 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1105, allocations: 191.2 kB / 0.5026 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1105, allocations: 0 / 0.5026 GB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1106, allocations: 0 / 0.5026 GB, free: 10.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.1106, allocations: 0 / 0.5026 GB, free: 10.68 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.0006693/0.1112, allocations: 466.8 kB / 0.5031 GB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1113, allocations: 8.031 kB / 0.5031 GB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.08e-05/0.1113, allocations: 46.73 kB / 0.5031 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.1114, allocations: 20.83 kB / 0.5031 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.1117, allocations: 236.7 kB / 0.5034 GB, free: 9.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.1117, allocations: 8.609 kB / 0.5034 GB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.1117, allocations: 12.38 kB / 0.5034 GB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.1121, allocations: 162.6 kB / 0.5035 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1121, allocations: 0 / 0.5035 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.1121, allocations: 0 / 0.5035 GB, free: 9.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.1121, allocations: 4 kB / 0.5036 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002985/0.1124, allocations: 103.9 kB / 0.5036 GB, free: 9.531 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.0009632/0.1134, allocations: 0.6318 MB / 0.5043 GB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1136, allocations: 58.55 kB / 0.5043 GB, free: 8.762 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.1137, allocations: 32.84 kB / 0.5044 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.1137, allocations: 3.938 kB / 0.5044 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.397e-05/0.1138, allocations: 34.56 kB / 0.5044 GB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 9.95e-05/0.1139, allocations: 8 kB / 0.5044 GB, free: 8.672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.1139, allocations: 7.938 kB / 0.5044 GB, free: 8.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004065/0.1143, allocations: 109.6 kB / 0.5045 GB, free: 8.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.73e-05/0.1143, allocations: 55.41 kB / 0.5046 GB, free: 8.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.1145, allocations: 198.5 kB / 0.5048 GB, free: 8.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.1146, allocations: 25.7 kB / 0.5048 GB, free: 8.246 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.579e-05/0.1147, allocations: 136 kB / 0.5049 GB, free: 8.109 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.1147, allocations: 27.83 kB / 0.5049 GB, free: 8.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-05/0.1147, allocations: 33.61 kB / 0.505 GB, free: 8.043 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1149, allocations: 330.8 kB / 0.5053 GB, free: 7.711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.115, allocations: 23.98 kB / 0.5053 GB, free: 7.688 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.1151, allocations: 54.5 kB / 0.5054 GB, free: 7.625 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00109/0.1162, allocations: 194.3 kB / 0.5055 GB, free: 7.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1162, allocations: 0 / 0.5055 GB, free: 7.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002894/0.1165, allocations: 117.5 kB / 0.5057 GB, free: 7.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.1166, allocations: 8 kB / 0.5057 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1166, allocations: 0 / 0.5057 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1166, allocations: 0 / 0.5057 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.1168, allocations: 35.91 kB / 0.5057 GB, free: 7.262 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1168, allocations: 3.938 kB / 0.5057 GB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.162e-05/0.1169, allocations: 4.094 kB / 0.5057 GB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.1169, allocations: 7.938 kB / 0.5057 GB, free: 7.246 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.0001783/0.1171, allocations: 135.9 kB / 0.5058 GB, free: 7.105 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.093e-05/0.1171, allocations: 19.89 kB / 0.5059 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.1174, allocations: 119 kB / 0.506 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1174, allocations: 0 / 0.506 GB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1174, allocations: 7.938 kB / 0.506 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1174, allocations: 0 / 0.506 GB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00026/0.1177, allocations: 229.6 kB / 0.5062 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1177, allocations: 0 / 0.5062 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1179, allocations: 23.92 kB / 0.5062 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1179, allocations: 4 kB / 0.5062 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1179, allocations: 0 / 0.5062 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1179, allocations: 0 / 0.5062 GB, free: 6.652 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.1179, allocations: 3.938 kB / 0.5062 GB, free: 6.648 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003355/0.1182, allocations: 243.3 kB / 0.5065 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.485e-05/0.1183, allocations: 97.09 kB / 0.5066 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.1183, allocations: 4 kB / 0.5066 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1185, allocations: 0 / 0.5066 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.466e-05/0.1185, allocations: 11.92 kB / 0.5066 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-06/0.1185, allocations: 4 kB / 0.5066 GB, free: 6.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1186, allocations: 140.2 kB / 0.5067 GB, free: 6.125 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1187, allocations: 4 kB / 0.5067 GB, free: 6.121 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000263/0.1189, allocations: 31.95 kB / 0.5067 GB, free: 6.09 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.0006277/0.1196, allocations: 0.7672 MB / 0.5075 GB, free: 5.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1198, allocations: 63.91 kB / 0.5076 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1198, allocations: 0 / 0.5076 GB, free: 5.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.1199, allocations: 43.92 kB / 0.5076 GB, free: 5.188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.1202, allocations: 36.41 kB / 0.5076 GB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002264/0.1225, allocations: 1.9 MB / 0.5095 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.1228, allocations: 0.7241 MB / 0.5102 GB, free: 2.414 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.961e-05/0.1229, allocations: 25.53 kB / 0.5102 GB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.902e-05/0.123, allocations: 47.42 kB / 0.5103 GB, free: 2.344 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.123, allocations: 0 / 0.5103 GB, free: 2.344 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2928/0.4158, allocations: 3.539 MB / 0.5137 GB, free: 14.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.166/8.582, allocations: 14.66 kB / 0.5137 GB, free: 14.84 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 & /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)