Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.35/1.35, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009564/0.0009565, allocations: 176.2 kB / 327.6 MB, free: 2.102 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.635/1.635, allocations: 205.4 MB / 0.5786 GB, free: 20.11 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000754/0.0007545, allocations: 88.06 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003356, allocations: 12.61 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2135, allocations: 106.3 MB / 0.9014 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.6382/0.8518, allocations: 195.2 MB / 1.092 GB, free: 1.512 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0114/0.8632, allocations: 7.615 MB / 1.099 GB, free: 1.316 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0022/0.8655, allocations: 34.06 kB / 1.1 GB, free: 1.316 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.8675, allocations: 0.5644 MB / 1.1 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006191/0.8737, allocations: 1.925 MB / 1.102 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003485/0.8772, allocations: 1.053 MB / 1.103 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.00523/0.8824, allocations: 3.463 MB / 1.106 GB, free: 1.148 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.884, allocations: 0.7998 MB / 1.107 GB, free: 1.035 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003461/0.8875, allocations: 1.294 MB / 1.108 GB, free: 1.02 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.8899, allocations: 0.8255 MB / 1.109 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.8902, allocations: 41.22 kB / 1.109 GB, free: 1.012 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004491/0.8947, allocations: 1.968 MB / 1.111 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004834/0.8952, allocations: 267.4 kB / 1.111 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.8962, allocations: 0.561 MB / 1.112 GB, free: 16.95 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002435/0.8987, allocations: 1.546 MB / 1.113 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.8987, allocations: 0 / 1.113 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.553e-06/0.8987, allocations: 0 / 1.113 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.8987, allocations: 4 kB / 1.113 GB, free: 16.83 MB / 0.7136 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.00339/0.9021, allocations: 1.468 MB / 1.115 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.9022, allocations: 7.938 kB / 1.115 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.9045, allocations: 474.3 kB / 1.115 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.9063, allocations: 0.9126 MB / 1.116 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005944/0.9069, allocations: 192.6 kB / 1.116 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.9071, allocations: 71.06 kB / 1.117 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002351/0.9094, allocations: 1.136 MB / 1.118 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.9095, allocations: 0 / 1.118 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.2e-05/0.9095, allocations: 27.75 kB / 1.118 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.31e-05/0.9096, allocations: 38.19 kB / 1.118 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00317/0.9128, allocations: 1.272 MB / 1.119 GB, free: 15.39 MB / 0.7136 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.006431/0.9192, allocations: 4.172 MB / 1.123 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002485/0.9217, allocations: 0.9424 MB / 1.124 GB, free: 13.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.923, allocations: 0.5338 MB / 1.124 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008604/0.9239, allocations: 0.653 MB / 1.125 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00152/0.9254, allocations: 0.6349 MB / 1.126 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 2.775e-06/0.9254, allocations: 0 / 1.126 GB, free: 12.69 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.004346/0.9298, allocations: 1.527 MB / 1.127 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.159e-05/0.9299, allocations: 87.89 kB / 1.127 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/0.9313, allocations: 0.8332 MB / 1.128 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.9314, allocations: 43.7 kB / 1.128 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/0.9318, allocations: 431.9 kB / 1.129 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/0.932, allocations: 189.9 kB / 1.129 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.597e-05/0.9321, allocations: 9.562 kB / 1.129 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.9322, allocations: 327.2 kB / 1.129 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001528/0.9338, allocations: 460.9 kB / 1.13 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001771/0.9355, allocations: 0.5857 MB / 1.13 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002759/0.9383, allocations: 0.9832 MB / 1.131 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.9383, allocations: 0 / 1.131 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003075/0.9414, allocations: 1.167 MB / 1.132 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.9416, allocations: 173 kB / 1.132 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.9416, allocations: 0 / 1.132 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.9416, allocations: 6.094 kB / 1.132 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/0.943, allocations: 248.6 kB / 1.133 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007094/0.9437, allocations: 1.199 MB / 1.134 GB, free: 9.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.945, allocations: 194.7 kB / 1.134 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/0.9451, allocations: 32 kB / 1.134 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.337e-06/0.9451, allocations: 2.844 kB / 1.134 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002696/0.9478, allocations: 1.058 MB / 1.135 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9478, allocations: 2.719 kB / 1.135 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.9478, allocations: 6.188 kB / 1.135 GB, free: 9.754 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.9489, allocations: 217.9 kB / 1.135 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.268e-05/0.9489, allocations: 13.08 kB / 1.135 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.9502, allocations: 184.6 kB / 1.135 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.315e-05/0.9502, allocations: 28.36 kB / 1.135 GB, free: 9.688 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006128/0.9509, allocations: 345.1 kB / 1.136 GB, free: 9.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/0.951, allocations: 99.88 kB / 1.136 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003064/0.9541, allocations: 1.211 MB / 1.137 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.9541, allocations: 10.16 kB / 1.137 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.9542, allocations: 7.984 kB / 1.137 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.9542, allocations: 0 / 1.137 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004821/0.959, allocations: 2.391 MB / 1.139 GB, free: 8.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.959, allocations: 9.938 kB / 1.139 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001079/0.9601, allocations: 215.9 kB / 1.14 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.091e-05/0.9602, allocations: 9.219 kB / 1.14 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.53e-05/0.9602, allocations: 24.31 kB / 1.14 GB, free: 8.086 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006025/0.9608, allocations: 1.185 MB / 1.141 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.9608, allocations: 6.688 kB / 1.141 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.9639, allocations: 1.302 MB / 1.142 GB, free: 6.398 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/0.9645, allocations: 291.7 kB / 1.142 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001278/0.9647, allocations: 13.81 kB / 1.142 GB, free: 6.203 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/0.9658, allocations: 158 kB / 1.143 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.9659, allocations: 62.42 kB / 1.143 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.705e-05/0.966, allocations: 34.17 kB / 1.143 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007399/0.9667, allocations: 0.5781 MB / 1.143 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9668, allocations: 0 / 1.143 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00134/0.9681, allocations: 484.1 kB / 1.144 GB, free: 5.863 MB / 0.7136 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006532/0.9688, allocations: 290 kB / 1.144 GB, free: 5.715 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004584/0.9734, allocations: 1.744 MB / 1.146 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.9734, allocations: 7 kB / 1.146 GB, free: 5.25 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.9749, allocations: 0.593 MB / 1.146 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/0.9781, allocations: 465 kB / 1.147 GB, free: 4.984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.9835, allocations: 2.326 MB / 1.149 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/0.9842, allocations: 1.035 MB / 1.15 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/0.9847, allocations: 91.45 kB / 1.15 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of SimCode: time 1.062e-06/0.9847, allocations: 0 / 1.15 GB, free: 2.754 MB / 0.7136 GB Notification: Performance of Templates: time 0.03379/1.018, allocations: 25.12 MB / 1.175 GB, free: 13.81 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)