Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.406/2.406, allocations: 287.9 MB / 302.9 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001417/0.001417, allocations: 184.5 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.937/1.937, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 106.5 kB / 0.7434 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007964/0.0007967, allocations: 10.94 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1624, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.816/0.9784, allocations: 166.8 MB / 1.142 GB, free: 14.32 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.9916, allocations: 6.973 MB / 1.148 GB, free: 10.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001601/0.9932, allocations: 43.03 kB / 1.148 GB, free: 10.9 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.9956, allocations: 0.6116 MB / 1.149 GB, free: 10.38 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006965/1.003, allocations: 1.736 MB / 1.151 GB, free: 8.953 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004809/1.007, allocations: 1.157 MB / 1.152 GB, free: 8.172 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003806/1.011, allocations: 1.552 MB / 1.153 GB, free: 7.145 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001683/1.013, allocations: 0.7353 MB / 1.154 GB, free: 6.695 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003405/1.016, allocations: 1.09 MB / 1.155 GB, free: 5.988 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/1.018, allocations: 0.5497 MB / 1.156 GB, free: 5.664 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/1.018, allocations: 40.88 kB / 1.156 GB, free: 5.664 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/1.021, allocations: 1.099 MB / 1.157 GB, free: 5.148 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005283/1.022, allocations: 241.9 kB / 1.157 GB, free: 4.984 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005365/1.022, allocations: 249.5 kB / 1.157 GB, free: 4.836 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00286/1.025, allocations: 1.405 MB / 1.159 GB, free: 3.922 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.025, allocations: 0 / 1.159 GB, free: 3.922 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.171e-06/1.025, allocations: 0 / 1.159 GB, free: 3.922 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.067e-05/1.025, allocations: 1 kB / 1.159 GB, free: 3.922 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004443/1.03, allocations: 1.45 MB / 1.16 GB, free: 2.809 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/1.03, allocations: 9.031 kB / 1.16 GB, free: 2.809 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00307/1.033, allocations: 477.5 kB / 1.161 GB, free: 2.613 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002277/1.035, allocations: 0.8516 MB / 1.161 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007571/1.036, allocations: 190.6 kB / 1.162 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/1.036, allocations: 75.67 kB / 1.162 GB, free: 1.824 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003424/1.04, allocations: 1.122 MB / 1.163 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/1.04, allocations: 1 kB / 1.163 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001287/1.04, allocations: 34.84 kB / 1.163 GB, free: 1.156 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/1.04, allocations: 32.84 kB / 1.163 GB, free: 1.148 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004567/1.045, allocations: 1.266 MB / 1.164 GB, free: 0.5664 MB / 0.698 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.009304/1.054, allocations: 4.182 MB / 1.168 GB, free: 13.07 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003434/1.057, allocations: 0.9548 MB / 1.169 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007775/1.058, allocations: 481.7 kB / 1.169 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/1.06, allocations: 0.6305 MB / 1.17 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 4.164e-06/1.06, allocations: 0 / 1.17 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.005529/1.066, allocations: 1.524 MB / 1.172 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.737e-05/1.066, allocations: 82.33 kB / 1.172 GB, free: 11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/1.067, allocations: 0.8348 MB / 1.172 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/1.068, allocations: 42.09 kB / 1.173 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/1.068, allocations: 428.7 kB / 1.173 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000263/1.068, allocations: 192.4 kB / 1.173 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.408e-05/1.068, allocations: 18.53 kB / 1.173 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.069, allocations: 329.7 kB / 1.173 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/1.07, allocations: 455 kB / 1.174 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/1.072, allocations: 0.5746 MB / 1.174 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/1.074, allocations: 0.4891 MB / 1.175 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.394e-06/1.074, allocations: 0 / 1.175 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003939/1.078, allocations: 1.161 MB / 1.176 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004286/1.078, allocations: 0.7298 MB / 1.177 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.078, allocations: 6.812 kB / 1.177 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.201e-05/1.078, allocations: 4.594 kB / 1.177 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/1.08, allocations: 245.8 kB / 1.177 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009889/1.081, allocations: 1.2 MB / 1.178 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/1.083, allocations: 186.5 kB / 1.178 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.083, allocations: 32.55 kB / 1.178 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.083, allocations: 4.125 kB / 1.178 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003609/1.086, allocations: 1.059 MB / 1.179 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.19e-06/1.086, allocations: 0 / 1.179 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/1.086, allocations: 5.406 kB / 1.179 GB, free: 5.602 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.088, allocations: 225.9 kB / 1.18 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.508e-05/1.088, allocations: 8.547 kB / 1.18 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/1.089, allocations: 186.2 kB / 1.18 GB, free: 5.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.089, allocations: 30.58 kB / 1.18 GB, free: 5.434 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007061/1.09, allocations: 338.6 kB / 1.18 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/1.09, allocations: 100.1 kB / 1.18 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004052/1.094, allocations: 1.207 MB / 1.181 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/1.094, allocations: 7.469 kB / 1.181 GB, free: 4.48 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/1.094, allocations: 7.891 kB / 1.181 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.095, allocations: 3.984 kB / 1.181 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006598/1.101, allocations: 2.401 MB / 1.184 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/1.101, allocations: 2.625 kB / 1.184 GB, free: 2.902 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/1.103, allocations: 219.3 kB / 1.184 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/1.103, allocations: 5.875 kB / 1.184 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.173e-05/1.103, allocations: 23.17 kB / 1.184 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008884/1.104, allocations: 1.2 MB / 1.185 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.826e-06/1.104, allocations: 6.656 kB / 1.185 GB, free: 1.609 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/1.108, allocations: 1.415 MB / 1.187 GB, free: 0.6875 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000808/1.108, allocations: 293.5 kB / 1.187 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.109, allocations: 17.28 kB / 1.187 GB, free: 432 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/1.11, allocations: 167 kB / 1.187 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.11, allocations: 58.92 kB / 1.187 GB, free: 328 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.11, allocations: 30.53 kB / 1.187 GB, free: 316 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001051/1.112, allocations: 0.5748 MB / 1.188 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.137e-06/1.112, allocations: 0 / 1.188 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00179/1.113, allocations: 491.5 kB / 1.188 GB, free: 15.86 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007656/1.114, allocations: 305.5 kB / 1.189 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00608/1.12, allocations: 1.738 MB / 1.19 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.429e-06/1.12, allocations: 0 / 1.19 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/1.123, allocations: 0.5982 MB / 1.191 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/1.125, allocations: 461.9 kB / 1.191 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005721/1.131, allocations: 2.232 MB / 1.193 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009143/1.132, allocations: 1.062 MB / 1.194 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001971/1.134, allocations: 289.7 kB / 1.195 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/1.134, allocations: 87.41 kB / 1.195 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of SimCode: time 1.667e-06/1.134, allocations: 0 / 1.195 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of Templates: time 0.04564/1.18, allocations: 18.26 MB / 1.213 GB, free: 8.742 MB / 0.7448 GB