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.001184/0.001184, allocations: 100.9 kB / 15.05 MB, free: 1.105 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.001322/0.001322, allocations: 177.3 kB / 15.94 MB, free: 228 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.596/1.596, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.61/1.61, allocations: 251.9 MB / 0.51 GB, free: 4.836 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.0005496/0.0005497, allocations: 20 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5948/0.5953, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible): time 0.8109/1.406, allocations: 205.6 MB / 0.9288 GB, free: 23.07 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02652/1.433, allocations: 11.08 MB / 0.9396 GB, free: 22.92 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004442/1.437, allocations: 56.69 kB / 0.9397 GB, free: 22.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.006002/1.443, allocations: 0.9672 MB / 0.9406 GB, free: 22.92 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0177/1.461, allocations: 3.033 MB / 0.9436 GB, free: 22.88 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007846/1.469, allocations: 1.665 MB / 0.9452 GB, free: 22.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00729/1.476, allocations: 2.776 MB / 0.9479 GB, free: 22.83 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002208/1.479, allocations: 1.136 MB / 0.949 GB, free: 22.69 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004201/1.483, allocations: 1.467 MB / 0.9505 GB, free: 22.68 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001936/1.485, allocations: 0.8388 MB / 0.9513 GB, free: 22.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002582/1.485, allocations: 60.94 kB / 0.9513 GB, free: 22.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004715/1.49, allocations: 1.164 MB / 0.9525 GB, free: 22.67 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005673/1.49, allocations: 411.7 kB / 0.9529 GB, free: 22.67 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008005/1.491, allocations: 395.2 kB / 0.9532 GB, free: 22.64 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003518/1.495, allocations: 2.206 MB / 0.9554 GB, free: 22.47 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/1.495, allocations: 0 / 0.9554 GB, free: 22.47 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.795e-06/1.495, allocations: 0 / 0.9554 GB, free: 22.47 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.818e-05/1.495, allocations: 0 / 0.9554 GB, free: 22.47 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.004664/1.499, allocations: 1.909 MB / 0.9573 GB, free: 21.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/1.499, allocations: 11.16 kB / 0.9573 GB, free: 21.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/1.501, allocations: 350.9 kB / 0.9576 GB, free: 21.33 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/1.503, allocations: 1.258 MB / 0.9588 GB, free: 20.96 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.092e-05/1.504, allocations: 94.17 kB / 0.9589 GB, free: 20.95 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/1.504, allocations: 118.2 kB / 0.959 GB, free: 20.95 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/1.506, allocations: 1.211 MB / 0.9602 GB, free: 20.82 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.774e-05/1.506, allocations: 0 / 0.9602 GB, free: 20.82 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/1.506, allocations: 43.31 kB / 0.9603 GB, free: 20.82 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.507e-05/1.506, allocations: 46 kB / 0.9603 GB, free: 20.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/1.508, allocations: 0.9719 MB / 0.9613 GB, free: 20.79 MB / 0.7169 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.00578/1.513, allocations: 5.553 MB / 0.9667 GB, free: 18.04 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/1.514, allocations: 0.8755 MB / 0.9675 GB, free: 17.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/1.515, allocations: 438.5 kB / 0.9679 GB, free: 17.35 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/1.515, allocations: 44.17 kB / 0.968 GB, free: 17.31 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=70): time 2.344e-06/1.515, allocations: 0 / 0.968 GB, free: 17.31 MB / 0.7169 GB Notification: Performance of matching and sorting (n=70): time 0.00324/1.518, allocations: 1.454 MB / 0.9694 GB, free: 16.95 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/1.518, allocations: 59.81 kB / 0.9695 GB, free: 16.89 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/1.519, allocations: 1.208 MB / 0.9706 GB, free: 16.67 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.843e-05/1.52, allocations: 43.42 kB / 0.9707 GB, free: 16.64 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003961/1.52, allocations: 0.6864 MB / 0.9714 GB, free: 16.34 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/1.52, allocations: 249.9 kB / 0.9716 GB, free: 16.15 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-05/1.52, allocations: 18.02 kB / 0.9716 GB, free: 16.15 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/1.52, allocations: 338 kB / 0.9719 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/1.521, allocations: 290.9 kB / 0.9722 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005894/1.521, allocations: 0.536 MB / 0.9727 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/1.522, allocations: 377 kB / 0.9731 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/1.522, allocations: 1.75 kB / 0.9731 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001934/1.524, allocations: 1.069 MB / 0.9741 GB, free: 15.16 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.000207/1.524, allocations: 1.083 MB / 0.9752 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/1.524, allocations: 3.125 kB / 0.9752 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007142/1.525, allocations: 153.1 kB / 0.9753 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/1.526, allocations: 178 kB / 0.9755 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007725/1.526, allocations: 1.763 MB / 0.9772 GB, free: 12.31 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/1.528, allocations: 183.8 kB / 0.9774 GB, free: 12.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/1.528, allocations: 32.61 kB / 0.9774 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/1.528, allocations: 5.781 kB / 0.9775 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001433/1.529, allocations: 0.8536 MB / 0.9783 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/1.529, allocations: 6 kB / 0.9783 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002335/1.53, allocations: 89.94 kB / 0.9784 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006081/1.53, allocations: 165.4 kB / 0.9785 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/1.532, allocations: 3.158 MB / 0.9816 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001402/1.534, allocations: 171.1 kB / 0.9818 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.773e-05/1.534, allocations: 30.19 kB / 0.9818 GB, free: 9.078 MB / 0.7169 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.0007765/1.535, allocations: 454.1 kB / 0.9822 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/1.535, allocations: 138.6 kB / 0.9824 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/1.536, allocations: 0.9508 MB / 0.9833 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/1.536, allocations: 10.09 kB / 0.9833 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/1.536, allocations: 4 kB / 0.9833 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/1.538, allocations: 1.071 MB / 0.9844 GB, free: 7.957 MB / 0.7169 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.003566/1.541, allocations: 2.523 MB / 0.9868 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/1.541, allocations: 3.25 kB / 0.9868 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/1.542, allocations: 164.5 kB / 0.987 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002028/1.542, allocations: 92.52 kB / 0.9871 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/1.542, allocations: 25.53 kB / 0.9871 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006157/1.543, allocations: 1.743 MB / 0.9888 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/1.543, allocations: 5.875 kB / 0.9888 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.545, allocations: 1.623 MB / 0.9904 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006231/1.545, allocations: 337.3 kB / 0.9907 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/1.546, allocations: 16.34 kB / 0.9907 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000987/1.547, allocations: 120.8 kB / 0.9908 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/1.547, allocations: 55.84 kB / 0.9909 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.614e-05/1.547, allocations: 32.52 kB / 0.9909 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009838/1.548, allocations: 0.8241 MB / 0.9917 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.548, allocations: 0 / 0.9917 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002062/1.55, allocations: 0.8173 MB / 0.9925 GB, free: 3.828 MB / 0.7169 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.0006637/1.551, allocations: 395.8 kB / 0.9929 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002453/1.553, allocations: 1.464 MB / 0.9943 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/1.553, allocations: 2.469 kB / 0.9943 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007051/1.554, allocations: 408.7 kB / 0.9947 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.557, allocations: 0.779 MB / 0.9955 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003928/1.561, allocations: 3.266 MB / 0.9987 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007928/1.562, allocations: 1.328 MB / 1 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001374/1.563, allocations: 344.6 kB / 1 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/1.564, allocations: 102.7 kB / 1 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/1.564, allocations: 0 / 1 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of Templates: time 0.05221/1.616, allocations: 27.77 MB / 1.028 GB, free: 7.145 MB / 0.7481 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: