Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.0008872/0.0008873, 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.005896/0.005896, allocations: 170.8 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.388/1.388, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.839/2.839, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003874, allocations: 8.5 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3349, allocations: 162.2 MB / 1.074 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05343/0.3884, allocations: 52.35 MB / 1.125 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02577/0.4142, allocations: 16.96 MB / 1.142 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003624/0.4179, allocations: 79.5 kB / 1.142 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009153/0.427, allocations: 4.134 MB / 1.146 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.00726/0.4343, allocations: 2.213 MB / 1.148 GB, free: 11.6 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005961/0.4403, allocations: 2.037 MB / 1.15 GB, free: 9.578 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.0131/0.4534, allocations: 8.993 MB / 1.159 GB, free: 0.5703 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003614/0.457, allocations: 1.369 MB / 1.16 GB, free: 15.17 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004457/0.4615, allocations: 1.594 MB / 1.162 GB, free: 13.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002785/0.4643, allocations: 1.365 MB / 1.163 GB, free: 12.2 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005481/0.4649, allocations: 68 kB / 1.163 GB, free: 12.13 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004792/0.4697, allocations: 1.926 MB / 1.165 GB, free: 10.2 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001096/0.4708, allocations: 0.5486 MB / 1.166 GB, free: 9.648 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002567/0.4734, allocations: 1.109 MB / 1.167 GB, free: 8.527 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007383/0.4808, allocations: 3.726 MB / 1.17 GB, free: 4.789 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4809, allocations: 0 / 1.17 GB, free: 4.789 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.425e-06/0.4809, allocations: 0 / 1.17 GB, free: 4.789 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001487/0.481, allocations: 4 kB / 1.17 GB, free: 4.785 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.00625/0.4873, allocations: 2.528 MB / 1.173 GB, free: 2.18 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.4873, allocations: 8.031 kB / 1.173 GB, free: 2.172 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003169/0.4905, allocations: 0.5863 MB / 1.173 GB, free: 1.582 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005919/0.4965, allocations: 2.659 MB / 1.176 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004974/0.497, allocations: 170.1 kB / 1.176 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004847/0.4975, allocations: 127.9 kB / 1.176 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/0.5015, allocations: 1.386 MB / 1.178 GB, free: 13.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.763e-05/0.5015, allocations: 3.938 kB / 1.178 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001649/0.5017, allocations: 48 kB / 1.178 GB, free: 13.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-05/0.5018, allocations: 54.02 kB / 1.178 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003403/0.5052, allocations: 1.16 MB / 1.179 GB, free: 11.8 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.01208/0.5173, allocations: 7.367 MB / 1.186 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002796/0.5201, allocations: 1.407 MB / 1.187 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.5213, allocations: 446.8 kB / 1.188 GB, free: 1.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006802/0.5281, allocations: 3.211 MB / 1.191 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001167/0.5293, allocations: 462.8 kB / 1.191 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008228/0.5301, allocations: 91.09 kB / 1.191 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 4.378e-06/0.5302, allocations: 4 kB / 1.191 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.003733/0.5339, allocations: 1.31 MB / 1.193 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.534, allocations: 67.95 kB / 1.193 GB, free: 12.4 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003698/0.5377, allocations: 2.102 MB / 1.195 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.5378, allocations: 37.7 kB / 1.195 GB, free: 10.23 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009997/0.5388, allocations: 1.018 MB / 1.196 GB, free: 9.199 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.5391, allocations: 216.9 kB / 1.196 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.5393, allocations: 157.6 kB / 1.196 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.5394, allocations: 301.1 kB / 1.197 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.5407, allocations: 0.5615 MB / 1.197 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.5424, allocations: 1.016 MB / 1.198 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002748/0.5451, allocations: 1.504 MB / 1.2 GB, free: 5.086 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.5452, allocations: 4 kB / 1.2 GB, free: 5.082 MB / 0.9512 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004083/0.5493, allocations: 1.807 MB / 1.201 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003872/0.5497, allocations: 488.4 kB / 1.202 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/0.5497, allocations: 12 kB / 1.202 GB, free: 2.605 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.132e-05/0.5498, allocations: 20.09 kB / 1.202 GB, free: 2.586 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.551, allocations: 323.5 kB / 1.202 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.512e-05/0.5511, allocations: 27.91 kB / 1.202 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001919/0.553, allocations: 157.5 kB / 1.202 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001594/0.5532, allocations: 71.91 kB / 1.202 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.5532, allocations: 4 kB / 1.202 GB, free: 2.012 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003283/0.5565, allocations: 1.611 MB / 1.204 GB, free: 400 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.834e-05/0.5565, allocations: 12 kB / 1.204 GB, free: 388 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5565, allocations: 20 kB / 1.204 GB, free: 368 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.5577, allocations: 320.2 kB / 1.204 GB, free: 48 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.407e-05/0.5578, allocations: 35.86 kB / 1.204 GB, free: 12 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001755/0.5595, allocations: 145.6 kB / 1.204 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.5597, allocations: 59.98 kB / 1.205 GB, free: 15.81 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.001221/0.5609, allocations: 0.5826 MB / 1.205 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005361/0.5614, allocations: 201.4 kB / 1.205 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/0.5647, allocations: 1.186 MB / 1.206 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.5648, allocations: 8 kB / 1.206 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.5648, allocations: 0 / 1.206 GB, free: 13.81 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002219/0.567, allocations: 1.002 MB / 1.207 GB, free: 12.76 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.006485/0.5735, allocations: 2.652 MB / 1.21 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.5735, allocations: 0 / 1.21 GB, free: 10.03 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007733/0.5743, allocations: 159.8 kB / 1.21 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000183/0.5745, allocations: 24.84 kB / 1.21 GB, free: 9.848 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/0.5746, allocations: 27.98 kB / 1.21 GB, free: 9.82 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.5758, allocations: 1.327 MB / 1.212 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.5759, allocations: 4.031 kB / 1.212 GB, free: 8.355 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003855/0.5797, allocations: 1.642 MB / 1.213 GB, free: 6.691 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.5808, allocations: 394.2 kB / 1.213 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004821/0.5813, allocations: 16 kB / 1.213 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001378/0.5827, allocations: 139.6 kB / 1.214 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.5828, allocations: 52.48 kB / 1.214 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.052e-05/0.5829, allocations: 27.98 kB / 1.214 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002773/0.5857, allocations: 1.45 MB / 1.215 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5857, allocations: 0 / 1.215 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003933/0.5896, allocations: 1.041 MB / 1.216 GB, free: 3.551 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.002487/0.5921, allocations: 0.8679 MB / 1.217 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.004702/0.5968, allocations: 2.173 MB / 1.219 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5969, allocations: 0 / 1.219 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.5982, allocations: 0.5566 MB / 1.22 GB, free: 56 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005003/0.6032, allocations: 0.9073 MB / 1.221 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009045/0.6123, allocations: 4.463 MB / 1.225 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001859/0.6142, allocations: 1.539 MB / 1.226 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002636/0.6168, allocations: 0.528 MB / 1.227 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000651/0.6175, allocations: 167.4 kB / 1.227 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of SimCode: time 1.573e-06/0.6175, allocations: 0 / 1.227 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of Templates: time 0.6187/1.236, allocations: 37.46 MB / 1.264 GB, free: 158.9 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1)