Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009234, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.00607/0.00607, allocations: 169.8 kB / 16.26 MB, free: 6.68 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003786/0.0003787, allocations: 11.72 kB / 0.9158 GB, free: 32.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3268, allocations: 162.2 MB / 1.074 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05333/0.3802, allocations: 52.35 MB / 1.125 GB, free: 3.02 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02969/0.4099, allocations: 16.95 MB / 1.142 GB, free: 2.031 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004248/0.4142, allocations: 79.5 kB / 1.142 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01457/0.4288, allocations: 4.135 MB / 1.146 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.01294/0.4418, allocations: 2.219 MB / 1.148 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0112/0.453, allocations: 2.03 MB / 1.15 GB, free: 9.57 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.02288/0.4759, allocations: 8.997 MB / 1.159 GB, free: 0.5586 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005167/0.4811, allocations: 1.369 MB / 1.16 GB, free: 15.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007432/0.4886, allocations: 1.594 MB / 1.162 GB, free: 13.55 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004527/0.4932, allocations: 1.365 MB / 1.163 GB, free: 12.18 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007947/0.494, allocations: 71.94 kB / 1.163 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008362/0.5024, allocations: 1.926 MB / 1.165 GB, free: 10.18 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001706/0.5042, allocations: 0.5525 MB / 1.166 GB, free: 9.629 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003378/0.5076, allocations: 1.101 MB / 1.167 GB, free: 8.516 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.5186, allocations: 3.726 MB / 1.17 GB, free: 4.777 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.217e-05/0.5187, allocations: 4 kB / 1.17 GB, free: 4.773 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.785e-06/0.5187, allocations: 0 / 1.17 GB, free: 4.773 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001364/0.5188, allocations: 0 / 1.17 GB, free: 4.773 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.0101/0.529, allocations: 2.528 MB / 1.173 GB, free: 2.168 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 7.194e-05/0.5291, allocations: 8.031 kB / 1.173 GB, free: 2.16 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/0.5346, allocations: 0.5863 MB / 1.173 GB, free: 1.57 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009865/0.5445, allocations: 2.664 MB / 1.176 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008099/0.5454, allocations: 166.1 kB / 1.176 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005083/0.5459, allocations: 123.9 kB / 1.176 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00571/0.5517, allocations: 1.386 MB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.033e-05/0.5517, allocations: 4 kB / 1.178 GB, free: 13.06 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002725/0.552, allocations: 48 kB / 1.178 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001124/0.5522, allocations: 46.02 kB / 1.178 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005622/0.5578, allocations: 1.171 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.01755/0.5754, allocations: 7.363 MB / 1.186 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004893/0.5803, allocations: 1.404 MB / 1.187 GB, free: 2.363 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.5823, allocations: 454.8 kB / 1.188 GB, free: 1.914 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.5927, allocations: 3.203 MB / 1.191 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002063/0.5948, allocations: 462.8 kB / 1.191 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001091/0.596, allocations: 99.09 kB / 1.191 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 5.481e-06/0.596, allocations: 0 / 1.191 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.006552/0.6026, allocations: 1.318 MB / 1.193 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.6027, allocations: 59.97 kB / 1.193 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006868/0.6096, allocations: 2.098 MB / 1.195 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002554/0.6099, allocations: 37.7 kB / 1.195 GB, free: 10.22 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.00186/0.6117, allocations: 1.022 MB / 1.196 GB, free: 9.188 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005094/0.6123, allocations: 216.9 kB / 1.196 GB, free: 8.973 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004472/0.6128, allocations: 153.6 kB / 1.196 GB, free: 8.816 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.6129, allocations: 309.1 kB / 1.197 GB, free: 8.512 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002461/0.6154, allocations: 0.5615 MB / 1.197 GB, free: 7.953 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003052/0.6185, allocations: 1.016 MB / 1.198 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004943/0.6235, allocations: 1.496 MB / 1.2 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/0.6235, allocations: 4 kB / 1.2 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006711/0.6302, allocations: 1.816 MB / 1.201 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005267/0.6308, allocations: 483.9 kB / 1.202 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.164e-05/0.6308, allocations: 8 kB / 1.202 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.45e-05/0.6309, allocations: 27.98 kB / 1.202 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/0.6332, allocations: 319.5 kB / 1.202 GB, free: 2.258 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.266e-05/0.6333, allocations: 31.86 kB / 1.202 GB, free: 2.227 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00289/0.6362, allocations: 145.5 kB / 1.202 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/0.6364, allocations: 67.97 kB / 1.202 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6365, allocations: 9.344 kB / 1.202 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006033/0.6425, allocations: 1.62 MB / 1.204 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.913e-05/0.6426, allocations: 16.09 kB / 1.204 GB, free: 372 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.751e-05/0.6426, allocations: 20 kB / 1.204 GB, free: 352 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002173/0.6448, allocations: 319.5 kB / 1.204 GB, free: 32 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.576e-05/0.6449, allocations: 27.88 kB / 1.204 GB, free: 4 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/0.6477, allocations: 149.6 kB / 1.204 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002114/0.648, allocations: 59.98 kB / 1.205 GB, free: 15.8 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.001736/0.6497, allocations: 0.5843 MB / 1.205 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007087/0.6504, allocations: 205.4 kB / 1.205 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005469/0.6559, allocations: 1.178 MB / 1.206 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/0.656, allocations: 15.92 kB / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/0.656, allocations: 0 / 1.206 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004009/0.66, allocations: 1.002 MB / 1.207 GB, free: 12.74 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.01236/0.6724, allocations: 2.648 MB / 1.21 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.6725, allocations: 0 / 1.21 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001458/0.6739, allocations: 159.9 kB / 1.21 GB, free: 9.863 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.6742, allocations: 28.84 kB / 1.21 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001057/0.6743, allocations: 23.98 kB / 1.21 GB, free: 9.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001874/0.6762, allocations: 1.327 MB / 1.211 GB, free: 8.348 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6762, allocations: 4.031 kB / 1.212 GB, free: 8.344 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006809/0.6831, allocations: 1.645 MB / 1.213 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/0.6846, allocations: 402.2 kB / 1.213 GB, free: 6.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007873/0.6855, allocations: 16.12 kB / 1.214 GB, free: 6.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002371/0.6878, allocations: 131.7 kB / 1.214 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002147/0.6881, allocations: 52.48 kB / 1.214 GB, free: 6.066 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/0.6882, allocations: 27.98 kB / 1.214 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004419/0.6927, allocations: 1.45 MB / 1.215 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.937e-06/0.6927, allocations: 4 kB / 1.215 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.005786/0.6985, allocations: 1.041 MB / 1.216 GB, free: 3.531 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,hea.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.003692/0.7022, allocations: 0.8599 MB / 1.217 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008118/0.7104, allocations: 2.172 MB / 1.219 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/0.7104, allocations: 4 kB / 1.219 GB, free: 0.6094 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/0.7128, allocations: 0.5577 MB / 1.22 GB, free: 40 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008316/0.7211, allocations: 0.9015 MB / 1.221 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.7335, allocations: 4.463 MB / 1.225 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/0.7359, allocations: 1.539 MB / 1.226 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.004243/0.7401, allocations: 0.5279 MB / 1.227 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009403/0.7411, allocations: 175.3 kB / 1.227 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of SimCode: time 1.022e-06/0.7411, allocations: 0 / 1.227 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of Templates: time 0.5956/1.337, allocations: 37.45 MB / 1.264 GB, free: 158.8 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)