Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.007062/0.007062, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.833/2.833, allocations: 473.4 MB / 0.7469 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003716, allocations: 14.19 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.3294, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05364/0.3831, allocations: 52.35 MB / 1.125 GB, free: 3.016 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02907/0.4122, allocations: 16.95 MB / 1.142 GB, free: 2.023 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004002/0.4163, allocations: 79.5 kB / 1.142 GB, free: 1.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009979/0.4263, allocations: 4.128 MB / 1.146 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008821/0.4351, allocations: 2.213 MB / 1.148 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006962/0.4421, allocations: 2.051 MB / 1.15 GB, free: 9.555 MB / 0.9044 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.05423941276795777}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01377/0.4559, allocations: 8.989 MB / 1.159 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003866/0.4598, allocations: 1.377 MB / 1.16 GB, free: 15.14 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00497/0.4648, allocations: 1.582 MB / 1.162 GB, free: 13.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003111/0.468, allocations: 1.368 MB / 1.163 GB, free: 12.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007777/0.4688, allocations: 68 kB / 1.163 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005609/0.4744, allocations: 1.93 MB / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001371/0.4758, allocations: 0.5447 MB / 1.166 GB, free: 9.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003535/0.4794, allocations: 1.112 MB / 1.167 GB, free: 8.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.008383/0.4878, allocations: 3.726 MB / 1.17 GB, free: 4.766 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.4878, allocations: 4 kB / 1.17 GB, free: 4.762 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4878, allocations: 0 / 1.17 GB, free: 4.762 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001437/0.488, allocations: 0 / 1.17 GB, free: 4.762 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.006132/0.4941, allocations: 2.532 MB / 1.173 GB, free: 2.152 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.4942, allocations: 8.031 kB / 1.173 GB, free: 2.145 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/0.4975, allocations: 0.5785 MB / 1.173 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006444/0.504, allocations: 2.659 MB / 1.176 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004718/0.5045, allocations: 166 kB / 1.176 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/0.5049, allocations: 131.8 kB / 1.176 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/0.5083, allocations: 1.386 MB / 1.178 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/0.5084, allocations: 4 kB / 1.178 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/0.5086, allocations: 48 kB / 1.178 GB, free: 13.01 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.354e-05/0.5086, allocations: 46.02 kB / 1.178 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003341/0.512, allocations: 1.167 MB / 1.179 GB, free: 11.79 MB / 0.9356 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.01241/0.5244, allocations: 7.363 MB / 1.186 GB, free: 3.875 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00282/0.5273, allocations: 1.415 MB / 1.187 GB, free: 2.348 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.5284, allocations: 458.8 kB / 1.188 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007124/0.5356, allocations: 3.199 MB / 1.191 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001212/0.5368, allocations: 454.9 kB / 1.191 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008729/0.5377, allocations: 99.09 kB / 1.191 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 5.421e-06/0.5378, allocations: 0 / 1.191 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.00385/0.5416, allocations: 1.322 MB / 1.193 GB, free: 12.45 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.5417, allocations: 59.97 kB / 1.193 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/0.5457, allocations: 2.09 MB / 1.195 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/0.5458, allocations: 45.69 kB / 1.195 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/0.5469, allocations: 1.022 MB / 1.196 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002495/0.5472, allocations: 216.9 kB / 1.196 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000224/0.5474, allocations: 149.6 kB / 1.196 GB, free: 8.809 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.723e-05/0.5475, allocations: 305.1 kB / 1.197 GB, free: 8.508 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001377/0.5489, allocations: 0.5654 MB / 1.197 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.5505, allocations: 1.02 MB / 1.198 GB, free: 6.738 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00278/0.5533, allocations: 1.5 MB / 1.2 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.5534, allocations: 0 / 1.2 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003929/0.5573, allocations: 1.82 MB / 1.201 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003545/0.5577, allocations: 477.6 kB / 1.202 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.597e-05/0.5577, allocations: 12 kB / 1.202 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/0.5578, allocations: 20 kB / 1.202 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.559, allocations: 327.5 kB / 1.202 GB, free: 2.246 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.521e-05/0.559, allocations: 27.92 kB / 1.202 GB, free: 2.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.5608, allocations: 145.5 kB / 1.202 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.5609, allocations: 63.92 kB / 1.202 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.5609, allocations: 4 kB / 1.202 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003247/0.5642, allocations: 1.616 MB / 1.204 GB, free: 392 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.911e-05/0.5642, allocations: 16.09 kB / 1.204 GB, free: 376 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.5643, allocations: 20 kB / 1.204 GB, free: 356 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.5654, allocations: 319.5 kB / 1.204 GB, free: 36 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.484e-05/0.5655, allocations: 31.89 kB / 1.204 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.5672, allocations: 153.6 kB / 1.204 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.5674, allocations: 59.98 kB / 1.205 GB, free: 15.79 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 152 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001146/0.5685, allocations: 0.5826 MB / 1.205 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000527/0.569, allocations: 201.4 kB / 1.205 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/0.5721, allocations: 1.182 MB / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.98e-05/0.5722, allocations: 11.98 kB / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.5722, allocations: 0 / 1.206 GB, free: 13.79 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002107/0.5743, allocations: 1.009 MB / 1.207 GB, free: 12.73 MB / 0.9669 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.006462/0.5808, allocations: 2.644 MB / 1.21 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.5808, allocations: 0 / 1.21 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/0.5816, allocations: 159.8 kB / 1.21 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001841/0.5818, allocations: 28.84 kB / 1.21 GB, free: 9.828 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.349e-05/0.5819, allocations: 23.97 kB / 1.21 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.5831, allocations: 1.334 MB / 1.212 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.5831, allocations: 4 kB / 1.212 GB, free: 8.332 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003848/0.587, allocations: 1.645 MB / 1.213 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.5881, allocations: 402.2 kB / 1.214 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005515/0.5887, allocations: 12 kB / 1.214 GB, free: 6.238 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.5901, allocations: 131.7 kB / 1.214 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/0.5902, allocations: 48.5 kB / 1.214 GB, free: 6.062 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/0.5903, allocations: 31.97 kB / 1.214 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002769/0.5931, allocations: 1.454 MB / 1.215 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5931, allocations: 0 / 1.215 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003895/0.597, allocations: 1.037 MB / 1.216 GB, free: 3.527 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,coo.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002346/0.5994, allocations: 0.8567 MB / 1.217 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005007/0.6044, allocations: 2.176 MB / 1.219 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.6044, allocations: 4 kB / 1.219 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/0.6058, allocations: 0.5575 MB / 1.22 GB, free: 36 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005234/0.6111, allocations: 0.8983 MB / 1.221 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008109/0.6192, allocations: 4.455 MB / 1.225 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001714/0.621, allocations: 1.546 MB / 1.226 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002749/0.6237, allocations: 0.524 MB / 1.227 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000659/0.6244, allocations: 175.4 kB / 1.227 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of SimCode: time 7.51e-07/0.6244, allocations: 4 kB / 1.227 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of Templates: time 0.5913/1.216, allocations: 37.45 MB / 1.264 GB, free: 159 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)