Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.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_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_HE_LiquidLiquid_001,fileNamePrefix="AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001",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.00521/0.00521, allocations: 104.5 kB / 15.74 MB, free: 5.598 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.001095/0.001095, allocations: 191.8 kB / 16.67 MB, free: 5.527 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1004/0.1004, allocations: 22.33 MB / 312.9 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 59.91 kB / 436.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1016, allocations: 54.95 MB / 491.5 MB, free: 5.25 MB / 366.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_HE_LiquidLiquid_001): time 0.3958/0.4975, allocations: 21.69 MB / 0.5012 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005948/0.4981, allocations: 218.3 kB / 0.5014 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.4982, allocations: 15.19 kB / 0.5014 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 7.448e-05/0.4983, allocations: 26.09 kB / 0.5014 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.4985, allocations: 99.33 kB / 0.5015 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.4986, allocations: 39.58 kB / 0.5015 GB, free: 5.281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002147/0.4989, allocations: 287.5 kB / 0.5018 GB, free: 5.242 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.4991, allocations: 130.3 kB / 0.5019 GB, free: 5.234 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.4992, allocations: 126.6 kB / 0.5021 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.4994, allocations: 94.27 kB / 0.5022 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.4994, allocations: 14.06 kB / 0.5022 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.978e-05/0.4994, allocations: 13.47 kB / 0.5022 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.4995, allocations: 35.05 kB / 0.5022 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.968e-05/0.4996, allocations: 111.9 kB / 0.5023 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.4998, allocations: 219.5 kB / 0.5025 GB, free: 5.105 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4998, allocations: 2.625 kB / 0.5025 GB, free: 5.105 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.4998, allocations: 0 / 0.5025 GB, free: 5.105 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.4998, allocations: 0 / 0.5025 GB, free: 5.105 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005591/0.5003, allocations: 0.5063 MB / 0.503 GB, free: 4.672 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.5004, allocations: 9.406 kB / 0.503 GB, free: 4.672 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.622e-05/0.5004, allocations: 46.78 kB / 0.5031 GB, free: 4.633 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.5005, allocations: 24.5 kB / 0.5031 GB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.5007, allocations: 280.4 kB / 0.5034 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.5007, allocations: 9.156 kB / 0.5034 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.5008, allocations: 15.91 kB / 0.5034 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002123/0.501, allocations: 170.4 kB / 0.5036 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.501, allocations: 4.125 kB / 0.5036 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.501, allocations: 3.875 kB / 0.5036 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.501, allocations: 3.5 kB / 0.5036 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.5012, allocations: 94.42 kB / 0.5037 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006082/0.5018, allocations: 0.8076 MB / 0.5044 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.5019, allocations: 77.05 kB / 0.5045 GB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.167e-05/0.502, allocations: 42 kB / 0.5046 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.502, allocations: 0 / 0.5046 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.377e-05/0.5021, allocations: 41.59 kB / 0.5046 GB, free: 3.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.5021, allocations: 0 / 0.5046 GB, free: 3.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000253/0.5023, allocations: 124.3 kB / 0.5047 GB, free: 3.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.142e-05/0.5023, allocations: 57.34 kB / 0.5048 GB, free: 3.484 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.5026, allocations: 272.7 kB / 0.505 GB, free: 3.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.097e-06/0.5026, allocations: 25.7 kB / 0.5051 GB, free: 3.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.765e-05/0.5027, allocations: 148.1 kB / 0.5052 GB, free: 3.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.5027, allocations: 31.05 kB / 0.5052 GB, free: 3.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.5027, allocations: 25.33 kB / 0.5053 GB, free: 3.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.5028, allocations: 332.9 kB / 0.5056 GB, free: 2.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.525e-05/0.5029, allocations: 28.95 kB / 0.5056 GB, free: 2.902 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.5029, allocations: 52.12 kB / 0.5056 GB, free: 2.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004797/0.5034, allocations: 156.6 kB / 0.5058 GB, free: 2.848 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.5034, allocations: 0 / 0.5058 GB, free: 2.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001911/0.5036, allocations: 143.1 kB / 0.5059 GB, free: 2.797 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.5036, allocations: 8.375 kB / 0.5059 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5037, allocations: 0 / 0.5059 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5037, allocations: 3.062 kB / 0.5059 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.5038, allocations: 23.69 kB / 0.506 GB, free: 2.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5039, allocations: 6.062 kB / 0.506 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.511e-05/0.5039, allocations: 15.25 kB / 0.506 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.504, allocations: 9.781 kB / 0.506 GB, free: 2.781 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) 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 (14): * Single equations (assignments): 14 * 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.0001317/0.5041, allocations: 135 kB / 0.5061 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/0.5041, allocations: 24.66 kB / 0.5061 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.072e-05/0.5042, allocations: 25.61 kB / 0.5062 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5042, allocations: 2.594 kB / 0.5062 GB, free: 2.645 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5042, allocations: 3.938 kB / 0.5062 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5042, allocations: 1.922 kB / 0.5062 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.5044, allocations: 245.8 kB / 0.5064 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5044, allocations: 5.375 kB / 0.5064 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000141/0.5046, allocations: 19.69 kB / 0.5064 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5046, allocations: 0 / 0.5064 GB, free: 2.449 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5046, allocations: 7.656 kB / 0.5064 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.5046, allocations: 0.5 kB / 0.5064 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5046, allocations: 7.125 kB / 0.5065 GB, free: 2.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.5048, allocations: 236.1 kB / 0.5067 GB, free: 2.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.5049, allocations: 102.3 kB / 0.5068 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.181e-05/0.5049, allocations: 4.641 kB / 0.5068 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.505, allocations: 0.7969 kB / 0.5068 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.803e-05/0.5051, allocations: 8.328 kB / 0.5068 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.481e-06/0.5051, allocations: 8.156 kB / 0.5068 GB, free: 2.184 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001384/0.5052, allocations: 189.9 kB / 0.507 GB, free: 2.105 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5052, allocations: 0 / 0.507 GB, free: 2.105 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00025/0.5055, allocations: 40.16 kB / 0.507 GB, free: 2.105 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * 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.0003507/0.5058, allocations: 0.7649 MB / 0.5078 GB, free: 1.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.506, allocations: 74.5 kB / 0.5078 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.506, allocations: 0 / 0.5078 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.538e-05/0.5061, allocations: 29.95 kB / 0.5079 GB, free: 1.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.5064, allocations: 59.55 kB / 0.5079 GB, free: 1.426 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.5083, allocations: 2.307 MB / 0.5102 GB, free: 80 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002784/0.5086, allocations: 0.7336 MB / 0.5109 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.5088, allocations: 28.33 kB / 0.5109 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.78e-05/0.5089, allocations: 66.47 kB / 0.511 GB, free: 15.37 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.5089, allocations: 2.688 kB / 0.511 GB, free: 15.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.5325, allocations: 4.704 MB / 0.5156 GB, free: 15.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.577/8.11, allocations: 14.12 kB / 0.5156 GB, free: 15.02 MB / 398.1 MB (rm -f AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe >> ../files/AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_HE_LiquidLiquid_001.fmu > AES_AES.Devel_test_models.Test_HE_LiquidLiquid_001.pipe 2>&1)