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.673/1.673, allocations: 288.4 MB / 303.7 MB, free: 7.98 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.0009566/0.0009566, allocations: 178.4 kB / 372.3 MB, free: 10.12 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.658/1.658, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.000877/0.000877, allocations: 98.22 kB / 0.7444 GB, free: 5.809 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003949, allocations: 13.22 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2107, allocations: 115.3 MB / 0.9801 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.799/1.01, allocations: 226.8 MB / 1.202 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0192/1.029, allocations: 11.16 MB / 1.213 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003535/1.033, allocations: 63.06 kB / 1.213 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003455/1.036, allocations: 0.7622 MB / 1.213 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/1.046, allocations: 2.74 MB / 1.216 GB, free: 5.477 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.004465/1.051, allocations: 1.178 MB / 1.217 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00857/1.059, allocations: 5.413 MB / 1.222 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/1.062, allocations: 1.216 MB / 1.224 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005681/1.068, allocations: 1.746 MB / 1.225 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/1.071, allocations: 1.221 MB / 1.227 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0004219/1.072, allocations: 68 kB / 1.227 GB, free: 14.17 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006199/1.078, allocations: 2.385 MB / 1.229 GB, free: 11.78 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007608/1.079, allocations: 430.4 kB / 1.229 GB, free: 11.36 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.001711/1.081, allocations: 0.8609 MB / 1.23 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.003943/1.084, allocations: 2.42 MB / 1.233 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/1.085, allocations: 0 / 1.233 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.194e-06/1.085, allocations: 0 / 1.233 GB, free: 8.062 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 5.915e-05/1.085, allocations: 3.938 kB / 1.233 GB, free: 8.059 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.003797/1.088, allocations: 1.921 MB / 1.234 GB, free: 6.082 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.088, allocations: 8.031 kB / 1.234 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/1.09, allocations: 353.5 kB / 1.235 GB, free: 5.727 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002345/1.092, allocations: 1.334 MB / 1.236 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.932e-05/1.092, allocations: 90.16 kB / 1.236 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/1.093, allocations: 124 kB / 1.236 GB, free: 4.125 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002135/1.095, allocations: 1.213 MB / 1.237 GB, free: 2.863 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/1.095, allocations: 0 / 1.237 GB, free: 2.863 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-05/1.095, allocations: 52 kB / 1.237 GB, free: 2.812 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.398e-05/1.095, allocations: 46.12 kB / 1.238 GB, free: 2.766 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/1.097, allocations: 0.9648 MB / 1.238 GB, free: 1.793 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.006956/1.104, allocations: 5.535 MB / 1.244 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001348/1.105, allocations: 0.8775 MB / 1.245 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/1.106, allocations: 417 kB / 1.245 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005922/1.106, allocations: 0.6019 MB / 1.246 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/1.106, allocations: 43.12 kB / 1.246 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=70): time 3.086e-06/1.106, allocations: 0 / 1.246 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of matching and sorting (n=70): time 0.003531/1.11, allocations: 1.473 MB / 1.247 GB, free: 8.184 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/1.11, allocations: 59.97 kB / 1.247 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001452/1.112, allocations: 1.182 MB / 1.248 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 7.278e-05/1.112, allocations: 45.7 kB / 1.248 GB, free: 6.867 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005047/1.112, allocations: 0.677 MB / 1.249 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.000215/1.112, allocations: 248.4 kB / 1.249 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/1.112, allocations: 16 kB / 1.249 GB, free: 5.922 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001221/1.113, allocations: 341.9 kB / 1.25 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005494/1.113, allocations: 289.8 kB / 1.25 GB, free: 5.297 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007144/1.114, allocations: 0.5339 MB / 1.251 GB, free: 4.68 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/1.115, allocations: 0.7419 MB / 1.251 GB, free: 3.906 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/1.115, allocations: 4 kB / 1.251 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002249/1.117, allocations: 1.075 MB / 1.252 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/1.117, allocations: 168.7 kB / 1.252 GB, free: 2.613 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.918e-06/1.117, allocations: 4 kB / 1.252 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007825/1.118, allocations: 157.5 kB / 1.253 GB, free: 2.449 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007831/1.119, allocations: 167.8 kB / 1.253 GB, free: 2.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/1.12, allocations: 1.769 MB / 1.254 GB, free: 452 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/1.122, allocations: 175.3 kB / 1.255 GB, free: 276 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/1.122, allocations: 31.98 kB / 1.255 GB, free: 244 kB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 8.766e-06/1.122, allocations: 0 / 1.255 GB, free: 244 kB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001656/1.123, allocations: 0.8644 MB / 1.256 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/1.123, allocations: 4 kB / 1.256 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002597/1.124, allocations: 89.66 kB / 1.256 GB, free: 15.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000622/1.124, allocations: 160 kB / 1.256 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003109/1.127, allocations: 3.145 MB / 1.259 GB, free: 11.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/1.129, allocations: 165.8 kB / 1.259 GB, free: 11.53 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.046e-05/1.129, allocations: 32.06 kB / 1.259 GB, free: 11.5 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.0009253/1.13, allocations: 452.8 kB / 1.259 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002544/1.13, allocations: 142.2 kB / 1.26 GB, free: 10.91 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/1.132, allocations: 0.9548 MB / 1.261 GB, free: 9.93 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.132, allocations: 4 kB / 1.261 GB, free: 9.926 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/1.132, allocations: 0 / 1.261 GB, free: 9.926 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001737/1.134, allocations: 1.079 MB / 1.262 GB, free: 8.754 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.004558/1.139, allocations: 2.474 MB / 1.264 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.139, allocations: 0 / 1.264 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007214/1.139, allocations: 163.8 kB / 1.264 GB, free: 6.012 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000228/1.14, allocations: 89.92 kB / 1.264 GB, free: 5.918 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/1.14, allocations: 16 kB / 1.264 GB, free: 5.902 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009876/1.141, allocations: 1.745 MB / 1.266 GB, free: 4.082 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/1.141, allocations: 7.938 kB / 1.266 GB, free: 4.074 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002314/1.143, allocations: 1.462 MB / 1.267 GB, free: 2.559 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/1.144, allocations: 331.1 kB / 1.268 GB, free: 2.215 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/1.144, allocations: 19.98 kB / 1.268 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009906/1.145, allocations: 115.7 kB / 1.268 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/1.145, allocations: 56.44 kB / 1.268 GB, free: 2.027 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.877e-05/1.145, allocations: 27.98 kB / 1.268 GB, free: 2 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001137/1.146, allocations: 0.8044 MB / 1.269 GB, free: 1.195 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.2e-07/1.146, allocations: 3.938 kB / 1.269 GB, free: 1.191 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002063/1.148, allocations: 0.8105 MB / 1.27 GB, free: 388 kB / 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.0007955/1.149, allocations: 383.6 kB / 1.27 GB, free: 4 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002848/1.152, allocations: 1.46 MB / 1.271 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/1.152, allocations: 0 / 1.271 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0008359/1.153, allocations: 415.8 kB / 1.272 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004153/1.157, allocations: 0.7683 MB / 1.272 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004309/1.161, allocations: 3.257 MB / 1.276 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008255/1.162, allocations: 1.285 MB / 1.277 GB, free: 8.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001424/1.164, allocations: 348.8 kB / 1.277 GB, free: 8.391 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/1.164, allocations: 95.42 kB / 1.277 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of SimCode: time 7.91e-07/1.164, allocations: 0 / 1.277 GB, free: 8.297 MB / 0.8073 GB Notification: Performance of Templates: time 0.04696/1.211, allocations: 27.87 MB / 1.305 GB, free: 12.71 MB / 0.8386 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)