Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.721/2.721, allocations: 287.3 MB / 302.3 MB, free: 8.281 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.001537/0.001537, allocations: 174.9 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001157/0.001156, allocations: 90.84 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006685/0.0006688, allocations: 12.41 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2103, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.9811/1.191, allocations: 205.4 MB / 1.179 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02546/1.217, allocations: 11 MB / 1.19 GB, free: 9.578 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003071/1.22, allocations: 60.88 kB / 1.19 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004909/1.225, allocations: 0.9576 MB / 1.191 GB, free: 8.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01371/1.239, allocations: 3.01 MB / 1.193 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.007896/1.247, allocations: 1.682 MB / 1.195 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007451/1.254, allocations: 2.736 MB / 1.198 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002634/1.257, allocations: 1.123 MB / 1.199 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005172/1.262, allocations: 1.457 MB / 1.2 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/1.265, allocations: 0.8167 MB / 1.201 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0004794/1.265, allocations: 62.72 kB / 1.201 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005308/1.27, allocations: 1.173 MB / 1.202 GB, free: 0.7812 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00102/1.272, allocations: 398.7 kB / 1.203 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009807/1.273, allocations: 394.8 kB / 1.203 GB, free: 328 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.005258/1.278, allocations: 2.192 MB / 1.205 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/1.278, allocations: 3.938 kB / 1.205 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.791e-06/1.278, allocations: 3.984 kB / 1.205 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.374e-05/1.278, allocations: 0 / 1.205 GB, free: 14.82 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.006152/1.284, allocations: 1.896 MB / 1.207 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/1.284, allocations: 10.34 kB / 1.207 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002802/1.287, allocations: 360.3 kB / 1.207 GB, free: 13.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003776/1.291, allocations: 1.245 MB / 1.209 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.925e-05/1.291, allocations: 87.25 kB / 1.209 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002806/1.291, allocations: 128.7 kB / 1.209 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003429/1.295, allocations: 1.201 MB / 1.21 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/1.295, allocations: 2.594 kB / 1.21 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001654/1.295, allocations: 46.28 kB / 1.21 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.24e-05/1.295, allocations: 56.14 kB / 1.21 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/1.298, allocations: 0.967 MB / 1.211 GB, free: 10.88 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.01232/1.31, allocations: 5.532 MB / 1.216 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/1.313, allocations: 0.889 MB / 1.217 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005591/1.314, allocations: 434.1 kB / 1.218 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.823e-05/1.314, allocations: 47.11 kB / 1.218 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=70): time 3.977e-06/1.314, allocations: 0 / 1.218 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of matching and sorting (n=70): time 0.01181/1.326, allocations: 1.466 MB / 1.219 GB, free: 1.895 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.752e-05/1.326, allocations: 59.97 kB / 1.219 GB, free: 1.824 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004774/1.33, allocations: 1.203 MB / 1.22 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002268/1.331, allocations: 45.7 kB / 1.22 GB, free: 0.5586 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008658/1.332, allocations: 0.6811 MB / 1.221 GB, free: 15.87 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009457/1.333, allocations: 248.4 kB / 1.221 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001184/1.333, allocations: 16 kB / 1.221 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002764/1.333, allocations: 337.9 kB / 1.222 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/1.335, allocations: 297.8 kB / 1.222 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/1.338, allocations: 0.527 MB / 1.223 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003088/1.341, allocations: 374.8 kB / 1.223 GB, free: 14 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/1.341, allocations: 0 / 1.223 GB, free: 14 MB / 0.7605 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.008346/1.349, allocations: 1.071 MB / 1.224 GB, free: 12.92 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009111/1.35, allocations: 1.083 MB / 1.225 GB, free: 11.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.92e-05/1.35, allocations: 7.938 kB / 1.225 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/1.353, allocations: 157.5 kB / 1.225 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00317/1.356, allocations: 171.7 kB / 1.225 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003063/1.359, allocations: 1.769 MB / 1.227 GB, free: 9.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/1.362, allocations: 175.2 kB / 1.227 GB, free: 9.418 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003178/1.362, allocations: 32 kB / 1.227 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.362, allocations: 4 kB / 1.227 GB, free: 9.383 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003959/1.366, allocations: 0.8682 MB / 1.228 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/1.366, allocations: 0 / 1.228 GB, free: 8.512 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004976/1.367, allocations: 93.72 kB / 1.228 GB, free: 8.414 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/1.368, allocations: 164 kB / 1.228 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004573/1.373, allocations: 3.161 MB / 1.231 GB, free: 4.812 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1.375, allocations: 163.2 kB / 1.232 GB, free: 4.652 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/1.376, allocations: 35.98 kB / 1.232 GB, free: 4.617 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.001332/1.377, allocations: 440.9 kB / 1.232 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005256/1.377, allocations: 146.2 kB / 1.232 GB, free: 4.031 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003332/1.381, allocations: 0.9548 MB / 1.233 GB, free: 3.059 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/1.381, allocations: 12 kB / 1.233 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.381, allocations: 0 / 1.233 GB, free: 3.047 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002996/1.384, allocations: 1.067 MB / 1.234 GB, free: 1.887 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.008016/1.392, allocations: 2.538 MB / 1.237 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.429e-05/1.392, allocations: 4 kB / 1.237 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.394, allocations: 160.2 kB / 1.237 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/1.394, allocations: 97.58 kB / 1.237 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/1.394, allocations: 19.95 kB / 1.237 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001487/1.396, allocations: 1.742 MB / 1.239 GB, free: 13.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/1.396, allocations: 11.98 kB / 1.239 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004561/1.4, allocations: 1.627 MB / 1.24 GB, free: 11.36 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001144/1.401, allocations: 327.1 kB / 1.24 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/1.402, allocations: 19.98 kB / 1.241 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/1.404, allocations: 119.7 kB / 1.241 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/1.404, allocations: 52.39 kB / 1.241 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001203/1.404, allocations: 35.98 kB / 1.241 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00195/1.406, allocations: 0.8239 MB / 1.242 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.91e-07/1.406, allocations: 0 / 1.242 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004061/1.41, allocations: 0.8067 MB / 1.242 GB, free: 9.156 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.001245/1.412, allocations: 390.5 kB / 1.243 GB, free: 8.781 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005388/1.417, allocations: 1.464 MB / 1.244 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/1.417, allocations: 0 / 1.244 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001653/1.419, allocations: 427.6 kB / 1.245 GB, free: 6.875 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00723/1.426, allocations: 0.7754 MB / 1.245 GB, free: 6.102 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008037/1.434, allocations: 3.263 MB / 1.248 GB, free: 2.77 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001493/1.436, allocations: 1.312 MB / 1.25 GB, free: 1.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.00259/1.438, allocations: 351.4 kB / 1.25 GB, free: 1.09 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005466/1.439, allocations: 99.42 kB / 1.25 GB, free: 0.9922 MB / 0.7761 GB Notification: Performance of SimCode: time 1.152e-06/1.439, allocations: 3.938 kB / 1.25 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of Templates: time 0.08114/1.52, allocations: 27.71 MB / 1.277 GB, free: 5.57 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)