Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.737/1.737, allocations: 288.4 MB / 303.3 MB, free: 8.059 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 180.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.871/1.871, allocations: 205.4 MB / 0.6307 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007457/0.0007456, allocations: 98.91 kB / 0.744 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004196/0.0004196, allocations: 12.53 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2495/0.2499, allocations: 115.3 MB / 0.9797 GB, free: 27.54 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.7732/1.023, allocations: 226.8 MB / 1.201 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01924/1.043, allocations: 11.15 MB / 1.212 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003704/1.046, allocations: 60.66 kB / 1.212 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003157/1.049, allocations: 0.7038 MB / 1.213 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01075/1.06, allocations: 2.401 MB / 1.215 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004473/1.065, allocations: 1.158 MB / 1.216 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008548/1.073, allocations: 5.383 MB / 1.221 GB, free: 1.859 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/1.076, allocations: 1.111 MB / 1.223 GB, free: 1.18 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004871/1.08, allocations: 1.672 MB / 1.224 GB, free: 228 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/1.083, allocations: 1.233 MB / 1.225 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0002071/1.083, allocations: 60 kB / 1.225 GB, free: 14.92 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004253/1.088, allocations: 1.309 MB / 1.227 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0005407/1.088, allocations: 426.4 kB / 1.227 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007611/1.089, allocations: 400.8 kB / 1.228 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003183/1.092, allocations: 2.31 MB / 1.23 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/1.092, allocations: 0 / 1.23 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.204e-06/1.092, allocations: 0 / 1.23 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.506e-05/1.092, allocations: 0 / 1.23 GB, free: 10.48 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.003705/1.096, allocations: 1.925 MB / 1.232 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.096, allocations: 8.031 kB / 1.232 GB, free: 8.492 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002185/1.096, allocations: 172.8 kB / 1.232 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001516/1.098, allocations: 349.4 kB / 1.232 GB, free: 7.969 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002197/1.1, allocations: 1.293 MB / 1.233 GB, free: 6.621 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-05/1.1, allocations: 86.16 kB / 1.234 GB, free: 6.535 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/1.1, allocations: 116 kB / 1.234 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/1.102, allocations: 1.205 MB / 1.235 GB, free: 5.168 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/1.102, allocations: 7.984 kB / 1.235 GB, free: 5.16 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/1.103, allocations: 51.61 kB / 1.235 GB, free: 5.113 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-05/1.103, allocations: 50.02 kB / 1.235 GB, free: 5.062 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00173/1.104, allocations: 0.9647 MB / 1.236 GB, free: 4.09 MB / 0.7605 GB 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.006838/1.111, allocations: 5.536 MB / 1.241 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/1.113, allocations: 0.8717 MB / 1.242 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000641/1.113, allocations: 413 kB / 1.243 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006799/1.114, allocations: 0.6057 MB / 1.243 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.114, allocations: 43.12 kB / 1.243 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.537e-06/1.114, allocations: 0 / 1.243 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.003622/1.118, allocations: 1.457 MB / 1.245 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.332e-05/1.118, allocations: 59.97 kB / 1.245 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.119, allocations: 1.191 MB / 1.246 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.923e-05/1.119, allocations: 45.7 kB / 1.246 GB, free: 9.18 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005326/1.12, allocations: 0.681 MB / 1.246 GB, free: 8.492 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002419/1.12, allocations: 256.4 kB / 1.247 GB, free: 8.238 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/1.12, allocations: 16 kB / 1.247 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001466/1.12, allocations: 334 kB / 1.247 GB, free: 7.891 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005321/1.121, allocations: 293.8 kB / 1.247 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/1.122, allocations: 0.5301 MB / 1.248 GB, free: 6.988 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006569/1.122, allocations: 390.7 kB / 1.248 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/1.122, allocations: 0 / 1.248 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00216/1.124, allocations: 1.068 MB / 1.249 GB, free: 5.527 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.124, allocations: 175.4 kB / 1.249 GB, free: 5.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.124, allocations: 3.938 kB / 1.249 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007826/1.125, allocations: 149.5 kB / 1.25 GB, free: 5.164 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/1.126, allocations: 187.8 kB / 1.25 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001108/1.127, allocations: 1.757 MB / 1.251 GB, free: 3.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/1.129, allocations: 171.2 kB / 1.252 GB, free: 2.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/1.129, allocations: 32 kB / 1.252 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/1.129, allocations: 4 kB / 1.252 GB, free: 2.945 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001628/1.13, allocations: 0.8644 MB / 1.253 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/1.13, allocations: 160 / 1.253 GB, free: 2.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002654/1.131, allocations: 101.6 kB / 1.253 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/1.131, allocations: 155.8 kB / 1.253 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002686/1.134, allocations: 3.141 MB / 1.256 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/1.135, allocations: 167.2 kB / 1.256 GB, free: 14.23 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/1.135, allocations: 32 kB / 1.256 GB, free: 14.2 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (87): * Single equations (assignments): 83 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007608/1.136, allocations: 440.8 kB / 1.256 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001933/1.136, allocations: 142.3 kB / 1.257 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001768/1.138, allocations: 0.961 MB / 1.258 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/1.138, allocations: 8 kB / 1.258 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/1.138, allocations: 3.938 kB / 1.258 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001388/1.139, allocations: 1.063 MB / 1.259 GB, free: 11.47 MB / 0.7917 GB 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 postOpt removeSimpleEquations (simulation): time 0.003799/1.143, allocations: 2.47 MB / 1.261 GB, free: 8.891 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/1.143, allocations: 4 kB / 1.261 GB, free: 8.887 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007184/1.144, allocations: 160.1 kB / 1.261 GB, free: 8.73 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002357/1.144, allocations: 93.62 kB / 1.261 GB, free: 8.633 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/1.144, allocations: 27.94 kB / 1.261 GB, free: 8.605 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009538/1.145, allocations: 1.741 MB / 1.263 GB, free: 6.789 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/1.145, allocations: 4 kB / 1.263 GB, free: 6.785 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002267/1.148, allocations: 1.458 MB / 1.264 GB, free: 5.277 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006013/1.148, allocations: 327.1 kB / 1.265 GB, free: 4.938 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001436/1.148, allocations: 16 kB / 1.265 GB, free: 4.922 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009885/1.149, allocations: 122.8 kB / 1.265 GB, free: 4.805 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/1.149, allocations: 52.39 kB / 1.265 GB, free: 4.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/1.149, allocations: 35.97 kB / 1.265 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001106/1.151, allocations: 0.8044 MB / 1.266 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.4e-07/1.151, allocations: 0 / 1.266 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002079/1.153, allocations: 0.8105 MB / 1.266 GB, free: 3.098 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003101/1.156, allocations: 2.238 MB / 1.269 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002932/1.159, allocations: 1.464 MB / 1.27 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.159, allocations: 320 / 1.27 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0007652/1.16, allocations: 415.4 kB / 1.271 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003803/1.163, allocations: 0.7831 MB / 1.271 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.178, allocations: 8.418 MB / 1.279 GB, free: 5.355 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/1.179, allocations: 1.281 MB / 1.281 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001573/1.18, allocations: 351.6 kB / 1.281 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007144/1.181, allocations: 0.5696 MB / 1.282 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of SimCode: time 1.233e-06/1.181, allocations: 0 / 1.282 GB, free: 3.133 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07329/1.254, allocations: 40.76 MB / 1.321 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002743/1.255, allocations: 286.8 kB / 1.322 GB, free: 10.48 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.521/4.776, allocations: 0 / 1.322 GB, free: 10.48 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)