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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008849/0.0008849, allocations: 90.75 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008968/0.0008971, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.571/1.571, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.595/1.595, allocations: 252 MB / 0.5102 GB, free: 4.762 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005991/0.0005991, allocations: 16 kB / 0.6243 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5577/0.5583, allocations: 106.3 MB / 0.7281 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.8475/1.406, allocations: 227.1 MB / 0.9499 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01764/1.424, allocations: 11.24 MB / 0.9609 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00403/1.428, allocations: 60.44 kB / 0.9609 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002902/1.431, allocations: 0.7076 MB / 0.9616 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009813/1.44, allocations: 2.394 MB / 0.9639 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004941/1.445, allocations: 1.173 MB / 0.9651 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009442/1.455, allocations: 5.447 MB / 0.9704 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/1.457, allocations: 1.114 MB / 0.9715 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005525/1.463, allocations: 1.699 MB / 0.9732 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00313/1.466, allocations: 1.228 MB / 0.9744 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003319/1.466, allocations: 61.66 kB / 0.9744 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004436/1.471, allocations: 1.314 MB / 0.9757 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006493/1.471, allocations: 436.6 kB / 0.9761 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0009618/1.472, allocations: 398 kB / 0.9765 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003394/1.476, allocations: 2.317 MB / 0.9788 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/1.476, allocations: 0 / 0.9788 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/1.476, allocations: 1.75 kB / 0.9788 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.996e-05/1.476, allocations: 0 / 0.9788 GB, free: 4.562 MB / 0.7169 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.004094/1.48, allocations: 1.937 MB / 0.9806 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/1.48, allocations: 9.938 kB / 0.9807 GB, free: 19.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/1.482, allocations: 352.8 kB / 0.981 GB, free: 19.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/1.484, allocations: 1.287 MB / 0.9822 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.289e-05/1.484, allocations: 90.17 kB / 0.9823 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/1.484, allocations: 116.4 kB / 0.9824 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/1.486, allocations: 1.224 MB / 0.9836 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/1.486, allocations: 1.859 kB / 0.9836 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.045e-05/1.486, allocations: 49.42 kB / 0.9837 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.585e-05/1.487, allocations: 51.2 kB / 0.9837 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001637/1.488, allocations: 0.9645 MB / 0.9847 GB, free: 18.86 MB / 0.7325 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.007741/1.496, allocations: 5.534 MB / 0.9901 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/1.497, allocations: 0.8663 MB / 0.9909 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005819/1.498, allocations: 409.6 kB / 0.9913 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006651/1.498, allocations: 0.6091 MB / 0.9919 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/1.499, allocations: 42.22 kB / 0.992 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=70): time 6.342e-06/1.499, allocations: 0 / 0.992 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of matching and sorting (n=70): time 0.003435/1.502, allocations: 1.458 MB / 0.9934 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.523e-05/1.502, allocations: 59.94 kB / 0.9934 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/1.504, allocations: 1.193 MB / 0.9946 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/1.504, allocations: 48.2 kB / 0.9946 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005075/1.504, allocations: 0.6838 MB / 0.9953 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/1.505, allocations: 252 kB / 0.9956 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/1.505, allocations: 13.06 kB / 0.9956 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.505, allocations: 337.2 kB / 0.9959 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/1.505, allocations: 297 kB / 0.9962 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006688/1.506, allocations: 0.526 MB / 0.9967 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005939/1.507, allocations: 381.5 kB / 0.997 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.507, allocations: 0 / 0.997 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002095/1.509, allocations: 1.07 MB / 0.9981 GB, free: 12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001198/1.509, allocations: 169.6 kB / 0.9983 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.509, allocations: 2.875 kB / 0.9983 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006966/1.51, allocations: 149.7 kB / 0.9984 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000741/1.51, allocations: 184.5 kB / 0.9986 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/1.512, allocations: 1.759 MB / 1 GB, free: 10.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/1.513, allocations: 183.4 kB / 1 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/1.513, allocations: 33.27 kB / 1.001 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/1.513, allocations: 6.219 kB / 1.001 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001513/1.515, allocations: 0.8537 MB / 1.001 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/1.515, allocations: 2.969 kB / 1.001 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002661/1.515, allocations: 94.14 kB / 1.001 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005968/1.516, allocations: 164 kB / 1.002 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003035/1.519, allocations: 3.137 MB / 1.005 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/1.52, allocations: 162.4 kB / 1.005 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/1.52, allocations: 37.72 kB / 1.005 GB, free: 6.848 MB / 0.7325 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.0008484/1.521, allocations: 446.8 kB / 1.005 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/1.521, allocations: 138.9 kB / 1.005 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001695/1.523, allocations: 0.9535 MB / 1.006 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/1.523, allocations: 7.062 kB / 1.006 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/1.523, allocations: 4 kB / 1.006 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/1.525, allocations: 1.067 MB / 1.007 GB, free: 5.738 MB / 0.7325 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.004228/1.529, allocations: 2.474 MB / 1.01 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.529, allocations: 3.094 kB / 1.01 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007059/1.53, allocations: 162.8 kB / 1.01 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002271/1.53, allocations: 96.08 kB / 1.01 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/1.53, allocations: 24.48 kB / 1.01 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/1.531, allocations: 1.742 MB / 1.012 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.531, allocations: 3.312 kB / 1.012 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002371/1.533, allocations: 1.463 MB / 1.013 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007046/1.534, allocations: 325.4 kB / 1.014 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/1.534, allocations: 16.94 kB / 1.014 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009371/1.535, allocations: 120.2 kB / 1.014 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/1.535, allocations: 47.5 kB / 1.014 GB, free: 2.234 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/1.535, allocations: 33.36 kB / 1.014 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001103/1.536, allocations: 0.8116 MB / 1.015 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.536, allocations: 0 / 1.015 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002156/1.539, allocations: 0.8086 MB / 1.015 GB, free: 1.871 MB / 0.7325 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.000767/1.539, allocations: 384.6 kB / 1.016 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002694/1.542, allocations: 1.458 MB / 1.017 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.542, allocations: 0 / 1.017 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00073/1.543, allocations: 417.8 kB / 1.017 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003474/1.546, allocations: 0.7822 MB / 1.018 GB, free: 0.9297 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/1.551, allocations: 3.268 MB / 1.021 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008817/1.552, allocations: 1.286 MB / 1.023 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001448/1.553, allocations: 347.1 kB / 1.023 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.553, allocations: 98.8 kB / 1.023 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of SimCode: time 1.042e-06/1.553, allocations: 4 kB / 1.023 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of Templates: time 0.04555/1.599, allocations: 27.43 MB / 1.05 GB, free: 2.445 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: