Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.421/1.421, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001334/0.001334, allocations: 177 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.796/1.796, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007949/0.0007949, allocations: 92.48 kB / 0.6832 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 12.16 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2111, allocations: 106.3 MB / 0.9015 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.7085/0.9196, allocations: 242.9 MB / 1.139 GB, free: 0.7852 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01553/0.9352, allocations: 11.91 MB / 1.15 GB, free: 456 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.9381, allocations: 64.69 kB / 1.15 GB, free: 456 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002584/0.9407, allocations: 0.883 MB / 1.151 GB, free: 432 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008925/0.9496, allocations: 2.989 MB / 1.154 GB, free: 276 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004375/0.954, allocations: 1.429 MB / 1.156 GB, free: 224 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.008461/0.9625, allocations: 6.388 MB / 1.162 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002292/0.9648, allocations: 1.236 MB / 1.163 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004562/0.9694, allocations: 1.834 MB / 1.165 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003019/0.9725, allocations: 1.298 MB / 1.166 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.9728, allocations: 58.66 kB / 1.166 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005499/0.9783, allocations: 2.445 MB / 1.169 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006192/0.9789, allocations: 453.5 kB / 1.169 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001506/0.9804, allocations: 0.9055 MB / 1.17 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003414/0.9838, allocations: 2.44 MB / 1.172 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.9839, allocations: 0 / 1.172 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9839, allocations: 0 / 1.172 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.652e-05/0.9839, allocations: 2.531 kB / 1.172 GB, free: 10.78 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.003512/0.9874, allocations: 1.92 MB / 1.174 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.9875, allocations: 11.56 kB / 1.174 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.989, allocations: 346.8 kB / 1.174 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00225/0.9913, allocations: 1.344 MB / 1.176 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.242e-05/0.9914, allocations: 86.67 kB / 1.176 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001652/0.9916, allocations: 129.2 kB / 1.176 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002013/0.9936, allocations: 1.221 MB / 1.177 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.865e-05/0.9936, allocations: 3.984 kB / 1.177 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.704e-05/0.9937, allocations: 45.22 kB / 1.177 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/0.9938, allocations: 46.16 kB / 1.177 GB, free: 7.371 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.9954, allocations: 0.978 MB / 1.178 GB, free: 6.895 MB / 0.7136 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.007024/1.002, allocations: 5.547 MB / 1.184 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/1.004, allocations: 0.8686 MB / 1.184 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/1.004, allocations: 416.3 kB / 1.185 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005981/1.005, allocations: 0.6129 MB / 1.185 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.437e-05/1.005, allocations: 42.53 kB / 1.185 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 3.036e-06/1.005, allocations: 0 / 1.185 GB, free: 0.6953 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.003462/1.009, allocations: 1.465 MB / 1.187 GB, free: 15.87 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/1.009, allocations: 61.22 kB / 1.187 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/1.01, allocations: 1.197 MB / 1.188 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.489e-05/1.01, allocations: 45.7 kB / 1.188 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000517/1.011, allocations: 0.6872 MB / 1.189 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/1.011, allocations: 249.2 kB / 1.189 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/1.011, allocations: 16 kB / 1.189 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.011, allocations: 337.9 kB / 1.189 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/1.012, allocations: 305.8 kB / 1.19 GB, free: 13.19 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000736/1.012, allocations: 0.5391 MB / 1.19 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001247/1.014, allocations: 0.7538 MB / 1.191 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/1.014, allocations: 0 / 1.191 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002262/1.016, allocations: 1.095 MB / 1.192 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001098/1.016, allocations: 166.5 kB / 1.192 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/1.016, allocations: 7.938 kB / 1.192 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007826/1.017, allocations: 160.6 kB / 1.192 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/1.018, allocations: 173.4 kB / 1.193 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/1.019, allocations: 1.765 MB / 1.194 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001384/1.02, allocations: 172 kB / 1.194 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.079e-05/1.02, allocations: 35.59 kB / 1.194 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/1.02, allocations: 8 kB / 1.194 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001633/1.022, allocations: 0.8611 MB / 1.195 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/1.022, allocations: 4 kB / 1.195 GB, free: 7.285 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/1.022, allocations: 92.38 kB / 1.195 GB, free: 7.191 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/1.023, allocations: 158.6 kB / 1.196 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002754/1.026, allocations: 3.153 MB / 1.199 GB, free: 3.633 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/1.027, allocations: 163.2 kB / 1.199 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.11e-05/1.027, allocations: 28 kB / 1.199 GB, free: 3.445 MB / 0.7292 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0007164/1.028, allocations: 438 kB / 1.199 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/1.028, allocations: 154.2 kB / 1.199 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001781/1.03, allocations: 0.9578 MB / 1.2 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/1.03, allocations: 7.938 kB / 1.2 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/1.03, allocations: 4 kB / 1.2 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001445/1.031, allocations: 1.069 MB / 1.201 GB, free: 0.7344 MB / 0.7292 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.004143/1.036, allocations: 2.476 MB / 1.204 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.036, allocations: 4 kB / 1.204 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/1.036, allocations: 161.9 kB / 1.204 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00024/1.037, allocations: 91.2 kB / 1.204 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.077e-05/1.037, allocations: 20 kB / 1.204 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/1.038, allocations: 1.748 MB / 1.206 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/1.038, allocations: 4.062 kB / 1.206 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002302/1.04, allocations: 1.466 MB / 1.207 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/1.041, allocations: 331.1 kB / 1.208 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000164/1.041, allocations: 22.06 kB / 1.208 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/1.042, allocations: 125.2 kB / 1.208 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/1.042, allocations: 46.94 kB / 1.208 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.687e-05/1.042, allocations: 35.92 kB / 1.208 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001119/1.043, allocations: 0.8241 MB / 1.209 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/1.043, allocations: 0 / 1.209 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00207/1.045, allocations: 0.8105 MB / 1.209 GB, free: 8.402 MB / 0.7448 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008194/1.046, allocations: 387.1 kB / 1.21 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002882/1.049, allocations: 1.469 MB / 1.211 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.049, allocations: 7 kB / 1.211 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007974/1.05, allocations: 408.6 kB / 1.212 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/1.055, allocations: 0.7825 MB / 1.212 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005449/1.06, allocations: 3.431 MB / 1.216 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/1.061, allocations: 1.285 MB / 1.217 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004027/1.061, allocations: 99.42 kB / 1.217 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/1.061, allocations: 0 / 1.217 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of Templates: time 0.04917/1.111, allocations: 43.92 MB / 1.26 GB, free: 4.719 MB / 0.7917 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)