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.443/1.443, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009653/0.0009652, allocations: 195 kB / 326.5 MB, free: 2.68 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.571/1.571, allocations: 205 MB / 0.5766 GB, free: 21.03 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.0007428/0.0007428, allocations: 92.28 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003286/0.0003285, allocations: 8.719 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2141, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.642/0.8562, allocations: 197.5 MB / 1.09 GB, free: 1.52 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01061/0.8668, allocations: 7.691 MB / 1.097 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.8687, allocations: 40.91 kB / 1.097 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.8706, allocations: 0.5576 MB / 1.098 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005808/0.8764, allocations: 1.931 MB / 1.1 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003115/0.8795, allocations: 1.049 MB / 1.101 GB, free: 1.18 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004473/0.884, allocations: 3.46 MB / 1.104 GB, free: 1.172 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.8854, allocations: 0.7924 MB / 1.105 GB, free: 1.059 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003011/0.8884, allocations: 1.293 MB / 1.106 GB, free: 1.035 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.8904, allocations: 0.8284 MB / 1.107 GB, free: 1.027 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.8905, allocations: 40.97 kB / 1.107 GB, free: 1.027 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003824/0.8944, allocations: 1.971 MB / 1.109 GB, free: 1.004 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003484/0.8947, allocations: 263 kB / 1.109 GB, free: 1 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008704/0.8956, allocations: 0.5393 MB / 1.11 GB, free: 1 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.8979, allocations: 1.547 MB / 1.111 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.8979, allocations: 0 / 1.111 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8979, allocations: 0 / 1.111 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.302e-05/0.8979, allocations: 0 / 1.111 GB, free: 0.8789 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.003229/0.9011, allocations: 1.468 MB / 1.112 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.9012, allocations: 12.91 kB / 1.112 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002271/0.9035, allocations: 480.8 kB / 1.113 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.9051, allocations: 0.9128 MB / 1.114 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006052/0.9058, allocations: 194.7 kB / 1.114 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001232/0.9059, allocations: 70.91 kB / 1.114 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002295/0.9082, allocations: 1.131 MB / 1.115 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.9082, allocations: 0 / 1.115 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.304e-05/0.9083, allocations: 34.66 kB / 1.115 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/0.9084, allocations: 31.88 kB / 1.115 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002888/0.9113, allocations: 1.276 MB / 1.117 GB, free: 15.43 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.006387/0.9177, allocations: 4.166 MB / 1.121 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002444/0.9201, allocations: 0.9306 MB / 1.121 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001204/0.9214, allocations: 0.5362 MB / 1.122 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008548/0.9222, allocations: 0.6516 MB / 1.123 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.9237, allocations: 0.6337 MB / 1.123 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=57): time 4.668e-06/0.9238, allocations: 0 / 1.123 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=57): time 0.004278/0.928, allocations: 1.529 MB / 1.125 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.344e-05/0.9281, allocations: 87.09 kB / 1.125 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.9295, allocations: 0.8356 MB / 1.126 GB, free: 12.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.9296, allocations: 37.33 kB / 1.126 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/0.93, allocations: 431.5 kB / 1.126 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.9302, allocations: 195 kB / 1.126 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/0.9303, allocations: 52.06 kB / 1.126 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.9305, allocations: 330.1 kB / 1.127 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00148/0.932, allocations: 459.5 kB / 1.127 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001639/0.9336, allocations: 0.5862 MB / 1.128 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.9361, allocations: 0.9832 MB / 1.129 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.9361, allocations: 3.375 kB / 1.129 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003037/0.9391, allocations: 1.166 MB / 1.13 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.9393, allocations: 175.1 kB / 1.13 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.9393, allocations: 0 / 1.13 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.358e-05/0.9393, allocations: 7.047 kB / 1.13 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.9406, allocations: 248.7 kB / 1.13 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006999/0.9413, allocations: 1.203 MB / 1.131 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/0.9427, allocations: 192.3 kB / 1.132 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.9428, allocations: 33.72 kB / 1.132 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.9428, allocations: 3.469 kB / 1.132 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00278/0.9456, allocations: 1.062 MB / 1.133 GB, free: 9.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.9456, allocations: 3.984 kB / 1.133 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.464e-06/0.9456, allocations: 6.062 kB / 1.133 GB, free: 9.766 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009759/0.9466, allocations: 220.1 kB / 1.133 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.9466, allocations: 7.266 kB / 1.133 GB, free: 9.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.948, allocations: 186.2 kB / 1.133 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/0.9481, allocations: 29.02 kB / 1.133 GB, free: 9.719 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 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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.0006499/0.9487, allocations: 344.6 kB / 1.133 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.949, allocations: 102.2 kB / 1.133 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003057/0.952, allocations: 1.204 MB / 1.135 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/0.952, allocations: 8.188 kB / 1.135 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.9521, allocations: 0 / 1.135 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.9521, allocations: 3.281 kB / 1.135 GB, free: 9.371 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004622/0.9567, allocations: 2.396 MB / 1.137 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.9567, allocations: 6.438 kB / 1.137 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009822/0.9577, allocations: 217.9 kB / 1.137 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/0.9578, allocations: 6.25 kB / 1.137 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.587e-05/0.9578, allocations: 18.86 kB / 1.137 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005739/0.9584, allocations: 1.192 MB / 1.138 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.9584, allocations: 6.25 kB / 1.138 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.9614, allocations: 1.295 MB / 1.14 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006198/0.962, allocations: 293.2 kB / 1.14 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001394/0.9622, allocations: 13.19 kB / 1.14 GB, free: 7.102 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/0.9633, allocations: 154.4 kB / 1.14 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.9634, allocations: 60.64 kB / 1.14 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.949e-05/0.9635, allocations: 36.88 kB / 1.14 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008161/0.9644, allocations: 0.5776 MB / 1.141 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9644, allocations: 0 / 1.141 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001296/0.9657, allocations: 489 kB / 1.141 GB, free: 6.762 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.0006619/0.9663, allocations: 313.1 kB / 1.142 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004573/0.9709, allocations: 1.74 MB / 1.143 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.9709, allocations: 0 / 1.143 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.9725, allocations: 0.5944 MB / 1.144 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002732/0.9753, allocations: 451.1 kB / 1.144 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00439/0.9797, allocations: 2.311 MB / 1.146 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006279/0.9803, allocations: 1.046 MB / 1.148 GB, free: 3.676 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/0.9807, allocations: 86.22 kB / 1.148 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/0.9807, allocations: 0 / 1.148 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of Templates: time 0.03394/1.015, allocations: 25.1 MB / 1.172 GB, free: 15.14 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)