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.895/1.895, allocations: 288.2 MB / 303.2 MB, free: 8.109 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: 173 kB / 371.8 MB, free: 10.32 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.591/1.591, allocations: 205.4 MB / 0.6305 GB, free: 10.06 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.000811/0.000811, allocations: 90.92 kB / 0.7439 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003731, allocations: 17.38 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2141, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.8347/1.049, allocations: 205.4 MB / 1.18 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02081/1.07, allocations: 10.98 MB / 1.191 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004791/1.075, allocations: 62.84 kB / 1.191 GB, free: 8.629 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005056/1.08, allocations: 0.9629 MB / 1.192 GB, free: 7.805 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01122/1.091, allocations: 3.013 MB / 1.195 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.005874/1.097, allocations: 1.674 MB / 1.196 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.00755/1.104, allocations: 2.737 MB / 1.199 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003052/1.107, allocations: 1.126 MB / 1.2 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00486/1.112, allocations: 1.449 MB / 1.202 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/1.115, allocations: 0.8243 MB / 1.202 GB, free: 356 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.000535/1.115, allocations: 62.78 kB / 1.202 GB, free: 356 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004323/1.12, allocations: 1.174 MB / 1.204 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008831/1.121, allocations: 394.8 kB / 1.204 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/1.122, allocations: 394.2 kB / 1.204 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004219/1.126, allocations: 2.191 MB / 1.206 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/1.126, allocations: 0 / 1.206 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.455e-06/1.126, allocations: 0 / 1.206 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001194/1.126, allocations: 2.844 kB / 1.206 GB, free: 13.89 MB / 0.7448 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.005085/1.131, allocations: 1.898 MB / 1.208 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.131, allocations: 10.12 kB / 1.208 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004746/1.132, allocations: 171.9 kB / 1.208 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/1.134, allocations: 352.6 kB / 1.209 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003095/1.137, allocations: 1.249 MB / 1.21 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.724e-05/1.137, allocations: 91.8 kB / 1.21 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002493/1.137, allocations: 131.8 kB / 1.21 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002969/1.14, allocations: 1.203 MB / 1.211 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.383e-05/1.14, allocations: 0 / 1.211 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/1.14, allocations: 42.28 kB / 1.211 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.996e-05/1.141, allocations: 49.2 kB / 1.212 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002382/1.143, allocations: 0.9709 MB / 1.212 GB, free: 9.598 MB / 0.7448 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.009764/1.153, allocations: 5.544 MB / 1.218 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/1.154, allocations: 0.8821 MB / 1.219 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004351/1.155, allocations: 438.1 kB / 1.219 GB, free: 2.168 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/1.155, allocations: 43.12 kB / 1.219 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=70): time 3.717e-06/1.155, allocations: 0 / 1.219 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70): time 0.00402/1.159, allocations: 1.46 MB / 1.221 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/1.159, allocations: 63.92 kB / 1.221 GB, free: 0.5352 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/1.161, allocations: 1.205 MB / 1.222 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/1.161, allocations: 45.7 kB / 1.222 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007199/1.162, allocations: 0.6849 MB / 1.223 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/1.162, allocations: 248.4 kB / 1.223 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.856e-05/1.162, allocations: 16 kB / 1.223 GB, free: 14.31 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001681/1.162, allocations: 337.9 kB / 1.223 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006359/1.163, allocations: 293.8 kB / 1.223 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008586/1.164, allocations: 0.5316 MB / 1.224 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/1.164, allocations: 390.8 kB / 1.224 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/1.164, allocations: 0 / 1.224 GB, free: 12.69 MB / 0.7605 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002534/1.167, allocations: 1.064 MB / 1.225 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006019/1.168, allocations: 1.08 MB / 1.226 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/1.168, allocations: 7.953 kB / 1.226 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008389/1.168, allocations: 153.5 kB / 1.227 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008407/1.169, allocations: 171.8 kB / 1.227 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/1.171, allocations: 1.772 MB / 1.228 GB, free: 8.293 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/1.173, allocations: 175.2 kB / 1.229 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/1.173, allocations: 31.98 kB / 1.229 GB, free: 8.09 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.173, allocations: 4 kB / 1.229 GB, free: 8.086 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001897/1.175, allocations: 0.8605 MB / 1.23 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.175, allocations: 0 / 1.23 GB, free: 7.223 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/1.175, allocations: 97.72 kB / 1.23 GB, free: 7.121 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006813/1.176, allocations: 167.9 kB / 1.23 GB, free: 6.957 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003438/1.179, allocations: 3.157 MB / 1.233 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/1.181, allocations: 167.1 kB / 1.233 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/1.181, allocations: 32 kB / 1.233 GB, free: 3.324 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.001077/1.182, allocations: 440.8 kB / 1.233 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005547/1.183, allocations: 146.3 kB / 1.234 GB, free: 2.738 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002252/1.185, allocations: 0.9436 MB / 1.235 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/1.185, allocations: 8 kB / 1.235 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.185, allocations: 11.92 kB / 1.235 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001595/1.187, allocations: 1.071 MB / 1.236 GB, free: 0.5977 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 postOpt removeSimpleEquations (simulation): time 0.004871/1.192, allocations: 2.526 MB / 1.238 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.864e-06/1.192, allocations: 7.938 kB / 1.238 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007801/1.192, allocations: 159.8 kB / 1.238 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002654/1.193, allocations: 97.92 kB / 1.238 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.012e-05/1.193, allocations: 23.98 kB / 1.238 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001123/1.194, allocations: 1.745 MB / 1.24 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.194, allocations: 4 kB / 1.24 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002777/1.197, allocations: 1.623 MB / 1.242 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009412/1.198, allocations: 335.1 kB / 1.242 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003585/1.198, allocations: 20 kB / 1.242 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001321/1.199, allocations: 115.7 kB / 1.242 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.199, allocations: 52.39 kB / 1.242 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/1.2, allocations: 32.17 kB / 1.242 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001433/1.201, allocations: 0.82 MB / 1.243 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/1.201, allocations: 0 / 1.243 GB, free: 8.691 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002433/1.203, allocations: 0.8183 MB / 1.244 GB, free: 7.871 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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.003772/1.207, allocations: 3.149 MB / 1.247 GB, free: 4.633 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003066/1.21, allocations: 1.472 MB / 1.248 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.211e-06/1.21, allocations: 4 kB / 1.248 GB, free: 3.129 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0008166/1.211, allocations: 411.8 kB / 1.249 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004074/1.215, allocations: 0.7757 MB / 1.249 GB, free: 1.953 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006805/1.222, allocations: 5.712 MB / 1.255 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009002/1.223, allocations: 1.308 MB / 1.256 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.001747/1.225, allocations: 355.2 kB / 1.257 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008001/1.226, allocations: 0.5696 MB / 1.257 GB, free: 9.848 MB / 0.7917 GB Notification: Performance of SimCode: time 3.577e-06/1.226, allocations: 0 / 1.257 GB, free: 9.848 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07494/1.301, allocations: 40.26 MB / 1.296 GB, free: 2.043 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/1.301, allocations: 283.8 kB / 1.297 GB, free: 1.688 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.341/4.642, allocations: 7.125 kB / 1.297 GB, free: 1.684 MB / 0.823 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)