Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.613/4.613, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00236/0.002359, allocations: 355.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.716/3.716, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001708/0.001708, allocations: 180 kB / 1.225 GB, free: 36 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004752/0.0004754, allocations: 13.06 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1488, allocations: 115.3 MB / 1.461 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretized): time 0.8871/1.036, allocations: 286.6 MB / 1.741 GB, free: 9.738 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0358/1.072, allocations: 20.61 MB / 1.761 GB, free: 5.086 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003858/1.076, allocations: 95.38 kB / 1.761 GB, free: 4.992 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.004747/1.08, allocations: 1.246 MB / 1.762 GB, free: 3.738 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.01499/1.095, allocations: 4.467 MB / 1.766 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.007998/1.104, allocations: 2.129 MB / 1.768 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.04103/1.145, allocations: 30.55 MB / 1.798 GB, free: 14.53 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01746/1.162, allocations: 10.32 MB / 1.808 GB, free: 4.133 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0159/1.178, allocations: 7.075 MB / 1.815 GB, free: 13.03 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0133/1.191, allocations: 6.832 MB / 1.822 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.001874/1.193, allocations: 388 kB / 1.822 GB, free: 5.789 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007821/1.201, allocations: 1.555 MB / 1.824 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.004345/1.205, allocations: 2.234 MB / 1.826 GB, free: 1.988 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.004836/1.21, allocations: 2.243 MB / 1.828 GB, free: 15.73 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.02496/1.235, allocations: 18.53 MB / 1.846 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 6.829e-06/1.235, allocations: 0 / 1.846 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.479e-06/1.235, allocations: 0 / 1.846 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003532/1.236, allocations: 0 / 1.846 GB, free: 13.17 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1600 * Number of variables: 1600 Notification: Performance of Generate backend data structure: time 0.03044/1.266, allocations: 10.04 MB / 1.856 GB, free: 3.031 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.266, allocations: 12.03 kB / 1.856 GB, free: 3.02 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/1.28, allocations: 1.882 MB / 1.858 GB, free: 1.125 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03159/1.312, allocations: 12.59 MB / 1.87 GB, free: 4.469 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006375/1.312, allocations: 488.4 kB / 1.871 GB, free: 3.988 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/1.315, allocations: 0.6443 MB / 1.871 GB, free: 3.344 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03358/1.349, allocations: 12.71 MB / 1.884 GB, free: 6.445 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/1.349, allocations: 15.89 kB / 1.884 GB, free: 6.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00131/1.35, allocations: 264 kB / 1.884 GB, free: 6.172 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004131/1.351, allocations: 300.1 kB / 1.884 GB, free: 5.875 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.147/2.498, allocations: 11.96 MB / 1.896 GB, free: 330.9 MB / 0.948 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.08689/2.585, allocations: 48.61 MB / 1.943 GB, free: 300.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01245/2.597, allocations: 7.354 MB / 1.951 GB, free: 296.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008729/2.606, allocations: 4.614 MB / 1.955 GB, free: 294.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/2.607, allocations: 0.9439 MB / 1.956 GB, free: 293.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.081e-05/2.607, allocations: 83.22 kB / 1.956 GB, free: 293.6 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006137/2.613, allocations: 1.103 MB / 1.957 GB, free: 293.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=366): time 1.068e-05/2.613, allocations: 0 / 1.957 GB, free: 293.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=372): time 0.0426/2.656, allocations: 19.13 MB / 1.976 GB, free: 277 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.045e-05/2.656, allocations: 94.31 kB / 1.976 GB, free: 276.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01274/2.669, allocations: 8.131 MB / 1.984 GB, free: 268.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009352/2.67, allocations: 106.8 kB / 1.984 GB, free: 268.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003424/2.673, allocations: 3.584 MB / 1.988 GB, free: 265 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00168/2.675, allocations: 1.326 MB / 1.989 GB, free: 263.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00046/2.676, allocations: 84.94 kB / 1.989 GB, free: 263.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002886/2.676, allocations: 0.5032 MB / 1.989 GB, free: 263.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006146/2.682, allocations: 3.653 MB / 1.993 GB, free: 259.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007099/2.689, allocations: 4.98 MB / 1.998 GB, free: 254.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007308/2.696, allocations: 4.662 MB / 2.002 GB, free: 249.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.789e-05/2.696, allocations: 4 kB / 2.002 GB, free: 249.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=550) (initialization): time 0.0173/2.714, allocations: 9.257 MB / 2.011 GB, free: 240.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003127/2.714, allocations: 0.7099 MB / 2.012 GB, free: 239.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/2.714, allocations: 20 kB / 2.012 GB, free: 239.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007396/2.715, allocations: 244.7 kB / 2.012 GB, free: 238.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006181/2.721, allocations: 1.166 MB / 2.014 GB, free: 237.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003783/2.725, allocations: 3.19 MB / 2.017 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008858/2.734, allocations: 1.006 MB / 2.018 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006836/2.735, allocations: 175.9 kB / 2.018 GB, free: 233.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/2.735, allocations: 8.734 kB / 2.018 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01559/2.75, allocations: 8.701 MB / 2.026 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.48e-05/2.75, allocations: 20 kB / 2.026 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006953/2.751, allocations: 249.6 kB / 2.027 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006081/2.757, allocations: 1.154 MB / 2.028 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003882/2.761, allocations: 3.207 MB / 2.031 GB, free: 219.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009549/2.771, allocations: 0.9835 MB / 2.032 GB, free: 218.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007555/2.771, allocations: 175.9 kB / 2.032 GB, free: 218.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * 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 (535): * Single equations (assignments): 528 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007925/2.779, allocations: 5.282 MB / 2.037 GB, free: 213.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001645/2.781, allocations: 0.6059 MB / 2.038 GB, free: 212.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01493/2.796, allocations: 8.205 MB / 2.046 GB, free: 204.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.552e-05/2.796, allocations: 40 kB / 2.046 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/2.796, allocations: 4 kB / 2.046 GB, free: 204.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01165/2.808, allocations: 6.905 MB / 2.053 GB, free: 197.4 MB / 0.948 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.03935/2.847, allocations: 19.79 MB / 2.072 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/2.847, allocations: 7.953 kB / 2.072 GB, free: 177.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006256/2.853, allocations: 1.089 MB / 2.073 GB, free: 176.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007118/2.854, allocations: 212.7 kB / 2.073 GB, free: 176.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000607/2.855, allocations: 127.9 kB / 2.073 GB, free: 175.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003832/2.859, allocations: 3.17 MB / 2.076 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.795e-06/2.859, allocations: 4 kB / 2.076 GB, free: 172.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/2.88, allocations: 12.48 MB / 2.089 GB, free: 160 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005592/2.886, allocations: 1.938 MB / 2.09 GB, free: 158.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00133/2.887, allocations: 112 kB / 2.091 GB, free: 158 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00676/2.894, allocations: 0.8377 MB / 2.091 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006865/2.895, allocations: 230.5 kB / 2.092 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004985/2.895, allocations: 139.9 kB / 2.092 GB, free: 156.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.01001/2.905, allocations: 5.892 MB / 2.097 GB, free: 150.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.013e-06/2.905, allocations: 0 / 2.097 GB, free: 150.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01619/2.921, allocations: 3.933 MB / 2.101 GB, free: 147 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 25 (hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].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 (374): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001519/2.923, allocations: 0.5546 MB / 2.102 GB, free: 146.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0212/2.944, allocations: 12.56 MB / 2.114 GB, free: 133.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/2.944, allocations: 4 kB / 2.114 GB, free: 133.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.006284/2.95, allocations: 3.693 MB / 2.118 GB, free: 130.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02216/2.973, allocations: 4.716 MB / 2.122 GB, free: 125.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0398/3.012, allocations: 25.48 MB / 2.147 GB, free: 99.94 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008877/3.021, allocations: 7.109 MB / 2.154 GB, free: 92.78 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.01924/3.041, allocations: 6.806 MB / 2.161 GB, free: 85.98 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00269/3.043, allocations: 487.2 kB / 2.161 GB, free: 85.5 MB / 0.948 GB Notification: Performance of SimCode: time 1.664e-06/3.043, allocations: 0 / 2.161 GB, free: 85.5 MB / 0.948 GB Notification: Performance of Templates: time 0.8583/3.902, allocations: 167 MB / 2.324 GB, free: 272.2 MB / 0.948 GB