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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.739/1.739, allocations: 288.3 MB / 303.2 MB, free: 8.191 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.001052/0.001052, allocations: 179.4 kB / 371.8 MB, free: 10.28 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.491/1.491, allocations: 205.4 MB / 0.6306 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.000798/0.0007979, allocations: 85.47 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004603, allocations: 13.06 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2039/0.2044, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.7569/0.9614, allocations: 205.4 MB / 1.18 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02123/0.9827, allocations: 10.99 MB / 1.191 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003552/0.9863, allocations: 59.28 kB / 1.191 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003993/0.9903, allocations: 0.9664 MB / 1.192 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01174/1.002, allocations: 3.018 MB / 1.195 GB, free: 5.352 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006126/1.008, allocations: 1.675 MB / 1.196 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006568/1.015, allocations: 2.733 MB / 1.199 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/1.017, allocations: 1.128 MB / 1.2 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004155/1.021, allocations: 1.449 MB / 1.202 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/1.023, allocations: 0.8289 MB / 1.202 GB, free: 384 kB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0002675/1.024, allocations: 59.62 kB / 1.202 GB, free: 384 kB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00425/1.028, allocations: 1.161 MB / 1.204 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0006892/1.029, allocations: 406.6 kB / 1.204 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0009979/1.03, allocations: 394.6 kB / 1.204 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004359/1.034, allocations: 2.194 MB / 1.206 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.034, allocations: 0 / 1.206 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.405e-06/1.034, allocations: 6.562 kB / 1.206 GB, free: 13.92 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.142e-05/1.034, allocations: 3.938 kB / 1.206 GB, free: 13.91 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.004493/1.039, allocations: 1.896 MB / 1.208 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/1.039, allocations: 8.281 kB / 1.208 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001737/1.041, allocations: 351.4 kB / 1.209 GB, free: 12.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/1.043, allocations: 1.248 MB / 1.21 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.069e-05/1.043, allocations: 91.84 kB / 1.21 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001775/1.043, allocations: 120.1 kB / 1.21 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/1.046, allocations: 1.209 MB / 1.211 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.222e-05/1.046, allocations: 0 / 1.211 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/1.046, allocations: 48.69 kB / 1.211 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/1.046, allocations: 40.67 kB / 1.211 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001847/1.048, allocations: 0.9753 MB / 1.212 GB, free: 9.77 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.007754/1.056, allocations: 5.543 MB / 1.218 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/1.057, allocations: 0.8758 MB / 1.219 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003964/1.057, allocations: 438.1 kB / 1.219 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/1.057, allocations: 43.12 kB / 1.219 GB, free: 2.293 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=70): time 3.066e-06/1.057, allocations: 4 kB / 1.219 GB, free: 2.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70): time 0.003852/1.061, allocations: 1.454 MB / 1.22 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/1.061, allocations: 71.86 kB / 1.22 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/1.063, allocations: 1.206 MB / 1.222 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001087/1.063, allocations: 41.7 kB / 1.222 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005363/1.064, allocations: 0.681 MB / 1.222 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/1.064, allocations: 252.4 kB / 1.223 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/1.064, allocations: 13.53 kB / 1.223 GB, free: 14.49 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.064, allocations: 334 kB / 1.223 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/1.065, allocations: 301.8 kB / 1.223 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007321/1.065, allocations: 0.5277 MB / 1.224 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006491/1.066, allocations: 386.8 kB / 1.224 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/1.066, allocations: 0 / 1.224 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002326/1.068, allocations: 1.067 MB / 1.225 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004538/1.069, allocations: 1.072 MB / 1.226 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.069, allocations: 4 kB / 1.226 GB, free: 10.65 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007811/1.07, allocations: 165.4 kB / 1.226 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/1.07, allocations: 179.8 kB / 1.227 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/1.072, allocations: 1.761 MB / 1.228 GB, free: 8.473 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.073, allocations: 171.1 kB / 1.228 GB, free: 8.305 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.697e-05/1.073, allocations: 35.98 kB / 1.228 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.073, allocations: 7.938 kB / 1.228 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00175/1.075, allocations: 0.8643 MB / 1.229 GB, free: 7.395 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/1.075, allocations: 4 kB / 1.229 GB, free: 7.391 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002899/1.075, allocations: 97.8 kB / 1.229 GB, free: 7.289 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006557/1.076, allocations: 159.8 kB / 1.23 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/1.079, allocations: 3.153 MB / 1.233 GB, free: 3.699 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001664/1.081, allocations: 171.2 kB / 1.233 GB, free: 3.531 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/1.081, allocations: 24 kB / 1.233 GB, free: 3.508 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.0008672/1.082, allocations: 437.8 kB / 1.233 GB, free: 3.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004267/1.082, allocations: 150.4 kB / 1.233 GB, free: 2.922 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002118/1.084, allocations: 0.9585 MB / 1.234 GB, free: 1.949 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/1.084, allocations: 7.938 kB / 1.234 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/1.084, allocations: 4 kB / 1.234 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001549/1.086, allocations: 1.083 MB / 1.235 GB, free: 0.7617 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.005162/1.091, allocations: 2.534 MB / 1.238 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/1.091, allocations: 4.344 kB / 1.238 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008004/1.092, allocations: 159.8 kB / 1.238 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000267/1.092, allocations: 85.66 kB / 1.238 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.989e-05/1.092, allocations: 24 kB / 1.238 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/1.094, allocations: 1.741 MB / 1.24 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/1.094, allocations: 3.938 kB / 1.24 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/1.097, allocations: 1.631 MB / 1.241 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.098, allocations: 331.1 kB / 1.242 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004388/1.098, allocations: 19.94 kB / 1.242 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/1.1, allocations: 115.7 kB / 1.242 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/1.1, allocations: 56.38 kB / 1.242 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.051e-05/1.1, allocations: 35.98 kB / 1.242 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001501/1.102, allocations: 0.8239 MB / 1.243 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.91e-07/1.102, allocations: 0 / 1.243 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003168/1.105, allocations: 0.8027 MB / 1.244 GB, free: 8.047 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.001035/1.106, allocations: 391.7 kB / 1.244 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003369/1.109, allocations: 1.471 MB / 1.245 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/1.109, allocations: 0 / 1.245 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009111/1.11, allocations: 408 kB / 1.246 GB, free: 5.77 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004603/1.115, allocations: 0.776 MB / 1.246 GB, free: 4.996 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005785/1.121, allocations: 3.269 MB / 1.25 GB, free: 1.664 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/1.122, allocations: 1.312 MB / 1.251 GB, free: 332 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002141/1.124, allocations: 352.3 kB / 1.251 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/1.124, allocations: 107.3 kB / 1.251 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of SimCode: time 1.022e-06/1.124, allocations: 0 / 1.251 GB, free: 15.87 MB / 0.7917 GB Notification: Performance of Templates: time 0.05246/1.177, allocations: 27.71 MB / 1.278 GB, free: 4.441 MB / 0.8073 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)