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.004861/0.004861, allocations: 101 kB / 15.73 MB, free: 6.02 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.00132/0.00132, allocations: 195.9 kB / 16.67 MB, free: 5.934 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1018/0.1018, allocations: 22.33 MB / 312.9 MB, free: 8.867 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002388/0.002388, allocations: 67.88 kB / 436.6 MB, free: 12.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1056, allocations: 54.95 MB / 491.5 MB, free: 5.215 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.348/0.4537, allocations: 22.14 MB / 0.5016 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005558/0.4543, allocations: 211.3 kB / 0.5018 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001084/0.4544, allocations: 11.19 kB / 0.5018 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.59e-05/0.4545, allocations: 29.42 kB / 0.5019 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.4546, allocations: 97.16 kB / 0.5019 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.4548, allocations: 41.02 kB / 0.502 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001983/0.455, allocations: 288 kB / 0.5023 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001859/0.4552, allocations: 131.6 kB / 0.5024 GB, free: 5.238 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.4553, allocations: 111.5 kB / 0.5025 GB, free: 5.215 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.4554, allocations: 95.81 kB / 0.5026 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.763e-05/0.4555, allocations: 12.81 kB / 0.5026 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.529e-05/0.4555, allocations: 15.72 kB / 0.5026 GB, free: 5.191 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.794e-05/0.4556, allocations: 29.94 kB / 0.5026 GB, free: 5.184 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.4556, allocations: 112 kB / 0.5027 GB, free: 5.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001896/0.4558, allocations: 219.3 kB / 0.503 GB, free: 5.102 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4558, allocations: 0 / 0.503 GB, free: 5.102 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4559, allocations: 0 / 0.503 GB, free: 5.102 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.4559, allocations: 0 / 0.503 GB, free: 5.102 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.0005396/0.4564, allocations: 0.5194 MB / 0.5035 GB, free: 4.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.008e-05/0.4564, allocations: 8.719 kB / 0.5035 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.4565, allocations: 44.97 kB / 0.5035 GB, free: 4.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.4565, allocations: 25.17 kB / 0.5035 GB, free: 4.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.4568, allocations: 277.3 kB / 0.5038 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4568, allocations: 9.562 kB / 0.5038 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.4568, allocations: 15.3 kB / 0.5038 GB, free: 4.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.457, allocations: 171.1 kB / 0.504 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.457, allocations: 7.641 kB / 0.504 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.4571, allocations: 4.219 kB / 0.504 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4571, allocations: 4.375 kB / 0.504 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.4572, allocations: 94.94 kB / 0.5041 GB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.4579, allocations: 0.7995 MB / 0.5049 GB, free: 3.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.458, allocations: 79.75 kB / 0.505 GB, free: 3.625 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.11e-05/0.4581, allocations: 37.09 kB / 0.505 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.4581, allocations: 2.625 kB / 0.505 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.4581, allocations: 37.66 kB / 0.505 GB, free: 3.578 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.4581, allocations: 3.891 kB / 0.505 GB, free: 3.578 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000255/0.4584, allocations: 123 kB / 0.5051 GB, free: 3.535 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.934e-05/0.4584, allocations: 61.17 kB / 0.5052 GB, free: 3.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/0.4587, allocations: 271.4 kB / 0.5055 GB, free: 3.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.606e-06/0.4587, allocations: 28.83 kB / 0.5055 GB, free: 3.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.4587, allocations: 147.1 kB / 0.5056 GB, free: 3.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.4588, allocations: 29.11 kB / 0.5057 GB, free: 3.207 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.4588, allocations: 30.53 kB / 0.5057 GB, free: 3.191 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.901e-05/0.4589, allocations: 332.2 kB / 0.506 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.4589, allocations: 27.23 kB / 0.506 GB, free: 2.879 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.459, allocations: 50.95 kB / 0.5061 GB, free: 2.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000482/0.4595, allocations: 164.6 kB / 0.5062 GB, free: 2.824 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4595, allocations: 4.406 kB / 0.5062 GB, free: 2.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001832/0.4597, allocations: 142.3 kB / 0.5064 GB, free: 2.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.4597, allocations: 4.969 kB / 0.5064 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4597, allocations: 3.328 kB / 0.5064 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.4597, allocations: 2.875 kB / 0.5064 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001567/0.4599, allocations: 26.17 kB / 0.5064 GB, free: 2.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.4599, allocations: 10.08 kB / 0.5064 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.878e-05/0.46, allocations: 17.09 kB / 0.5064 GB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.46, allocations: 4.969 kB / 0.5064 GB, free: 2.754 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.0001232/0.4601, allocations: 138.3 kB / 0.5066 GB, free: 2.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.4602, allocations: 21.08 kB / 0.5066 GB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.096e-05/0.4602, allocations: 26.53 kB / 0.5066 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.4602, allocations: 0 / 0.5066 GB, free: 2.617 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4602, allocations: 5.688 kB / 0.5066 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4603, allocations: 0.75 kB / 0.5066 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/0.4604, allocations: 242.6 kB / 0.5069 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4605, allocations: 6.938 kB / 0.5069 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.4606, allocations: 13.47 kB / 0.5069 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.4606, allocations: 2.672 kB / 0.5069 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.4606, allocations: 2.5 kB / 0.5069 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.4606, allocations: 4.812 kB / 0.5069 GB, free: 2.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4606, allocations: 9.766 kB / 0.5069 GB, free: 2.414 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.4609, allocations: 236.1 kB / 0.5071 GB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.904e-05/0.4609, allocations: 98.72 kB / 0.5072 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.461, allocations: 5.391 kB / 0.5072 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.4611, allocations: 3.812 kB / 0.5072 GB, free: 2.164 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.4611, allocations: 10.91 kB / 0.5072 GB, free: 2.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.4611, allocations: 0.875 kB / 0.5072 GB, free: 2.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001278/0.4612, allocations: 193.4 kB / 0.5074 GB, free: 2.082 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4612, allocations: 0 / 0.5074 GB, free: 2.082 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000272/0.4615, allocations: 37.69 kB / 0.5075 GB, free: 2.082 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.0003597/0.4619, allocations: 0.7739 MB / 0.5082 GB, free: 1.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001675/0.4621, allocations: 77.31 kB / 0.5083 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.4621, allocations: 2.656 kB / 0.5083 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-05/0.4621, allocations: 26.7 kB / 0.5083 GB, free: 1.398 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.4625, allocations: 65.69 kB / 0.5084 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.4645, allocations: 2.3 MB / 0.5106 GB, free: 40 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.4649, allocations: 0.731 MB / 0.5113 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000106/0.465, allocations: 31.7 kB / 0.5114 GB, free: 15.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-05/0.4651, allocations: 63.23 kB / 0.5114 GB, free: 15.33 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4651, allocations: 0 / 0.5114 GB, free: 15.33 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.242/0.7071, allocations: 4.625 MB / 0.5159 GB, free: 15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.554/9.261, allocations: 11.41 kB / 0.516 GB, free: 14.99 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)