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.00123/0.001231, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001556/0.001556, allocations: 190.6 kB / 16.25 MB, free: 6.633 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.392/1.392, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.827/2.827, allocations: 472.6 MB / 0.7448 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001415, allocations: 76.27 kB / 0.9115 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3367, allocations: 159.9 MB / 1.068 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.05497/0.3917, allocations: 53.3 MB / 1.12 GB, free: 5.352 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02509/0.4168, allocations: 16.9 MB / 1.136 GB, free: 4.406 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.4201, allocations: 83.5 kB / 1.136 GB, free: 4.324 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009322/0.4294, allocations: 4.312 MB / 1.141 GB, free: 8 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006858/0.4363, allocations: 2.21 MB / 1.143 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006579/0.4429, allocations: 2.093 MB / 1.145 GB, free: 11.71 MB / 0.9044 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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.01217/0.4551, allocations: 7.653 MB / 1.152 GB, free: 4.047 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003981/0.4591, allocations: 1.639 MB / 1.154 GB, free: 2.371 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006013/0.4651, allocations: 1.905 MB / 1.156 GB, free: 476 kB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.4691, allocations: 1.47 MB / 1.157 GB, free: 14.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.4702, allocations: 172 kB / 1.157 GB, free: 14.82 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/0.4753, allocations: 2.02 MB / 1.159 GB, free: 12.8 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001193/0.4765, allocations: 0.6618 MB / 1.16 GB, free: 12.13 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002636/0.4792, allocations: 1.22 MB / 1.161 GB, free: 10.91 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007686/0.4869, allocations: 3.879 MB / 1.165 GB, free: 7.016 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.4869, allocations: 0 / 1.165 GB, free: 7.016 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4869, allocations: 0 / 1.165 GB, free: 7.016 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.674e-05/0.487, allocations: 0 / 1.165 GB, free: 7.016 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.005478/0.4925, allocations: 2.932 MB / 1.168 GB, free: 4.004 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.4926, allocations: 8.031 kB / 1.168 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002833/0.4954, allocations: 0.5511 MB / 1.168 GB, free: 3.441 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/0.5005, allocations: 2.657 MB / 1.171 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003929/0.501, allocations: 158 kB / 1.171 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.5012, allocations: 123.9 kB / 1.171 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002984/0.5042, allocations: 1.37 MB / 1.172 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.367e-05/0.5042, allocations: 4 kB / 1.172 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.5043, allocations: 48 kB / 1.173 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.744e-05/0.5044, allocations: 46.06 kB / 1.173 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002866/0.5073, allocations: 1.124 MB / 1.174 GB, free: 13.74 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.01073/0.518, allocations: 7.332 MB / 1.181 GB, free: 5.859 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.5207, allocations: 1.369 MB / 1.182 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001016/0.5217, allocations: 434.8 kB / 1.183 GB, free: 3.945 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006489/0.5282, allocations: 3.164 MB / 1.186 GB, free: 452 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001201/0.5294, allocations: 442.9 kB / 1.186 GB, free: 0 / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008778/0.5303, allocations: 79.2 kB / 1.186 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 4.659e-06/0.5304, allocations: 0 / 1.186 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.003907/0.5343, allocations: 1.279 MB / 1.187 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.5343, allocations: 59.95 kB / 1.187 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/0.5383, allocations: 2.09 MB / 1.19 GB, free: 12.42 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/0.5385, allocations: 45.69 kB / 1.19 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001049/0.5395, allocations: 1.014 MB / 1.191 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002766/0.5398, allocations: 232.9 kB / 1.191 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005909/0.5404, allocations: 310.5 kB / 1.191 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.5405, allocations: 301.1 kB / 1.191 GB, free: 10.51 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001351/0.5419, allocations: 0.561 MB / 1.192 GB, free: 9.945 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/0.5435, allocations: 1.004 MB / 1.193 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002678/0.5462, allocations: 1.472 MB / 1.194 GB, free: 7.113 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.316e-05/0.5462, allocations: 4 kB / 1.194 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004041/0.5503, allocations: 1.784 MB / 1.196 GB, free: 5.312 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.5503, allocations: 45.62 kB / 1.196 GB, free: 5.262 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.5504, allocations: 12 kB / 1.196 GB, free: 5.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.121e-05/0.5504, allocations: 20.59 kB / 1.196 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.5517, allocations: 311.5 kB / 1.196 GB, free: 4.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.388e-05/0.5517, allocations: 27.92 kB / 1.196 GB, free: 4.898 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.5536, allocations: 145.7 kB / 1.197 GB, free: 4.758 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/0.5537, allocations: 67.97 kB / 1.197 GB, free: 4.691 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002179/0.5559, allocations: 0.9717 MB / 1.198 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001747/0.5577, allocations: 1.004 MB / 1.199 GB, free: 2.523 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002799/0.5605, allocations: 1.464 MB / 1.2 GB, free: 0.8906 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.023e-05/0.5605, allocations: 8 kB / 1.2 GB, free: 0.8828 MB / 0.9512 GB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.003978/0.5645, allocations: 1.791 MB / 1.202 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.386e-05/0.5646, allocations: 39.27 kB / 1.202 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.444e-05/0.5646, allocations: 15.94 kB / 1.202 GB, free: 15.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.5647, allocations: 23.94 kB / 1.202 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.5659, allocations: 315.9 kB / 1.202 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/0.566, allocations: 23.92 kB / 1.202 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/0.5678, allocations: 148.3 kB / 1.202 GB, free: 14.51 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.5679, allocations: 59.98 kB / 1.202 GB, free: 14.45 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.0004125/0.5684, allocations: 263.8 kB / 1.203 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005681/0.5689, allocations: 205.3 kB / 1.203 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003342/0.5723, allocations: 1.158 MB / 1.204 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.8e-05/0.5723, allocations: 7.984 kB / 1.204 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.5723, allocations: 4 kB / 1.204 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002175/0.5745, allocations: 0.9744 MB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006541/0.5811, allocations: 2.624 MB / 1.207 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.5811, allocations: 0 / 1.207 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008411/0.582, allocations: 151.8 kB / 1.208 GB, free: 8.93 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001721/0.5821, allocations: 28.84 kB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.364e-05/0.5822, allocations: 31.91 kB / 1.208 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001162/0.5834, allocations: 1.421 MB / 1.209 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5834, allocations: 160 / 1.209 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004078/0.5875, allocations: 1.61 MB / 1.211 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.5886, allocations: 386.2 kB / 1.211 GB, free: 5.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005632/0.5892, allocations: 15.94 kB / 1.211 GB, free: 5.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/0.5907, allocations: 119.8 kB / 1.211 GB, free: 5.137 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.5908, allocations: 56.42 kB / 1.211 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/0.5909, allocations: 27.98 kB / 1.211 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003125/0.5941, allocations: 1.457 MB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of sort global known variables: time 4e-07/0.5941, allocations: 0 / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.003736/0.5978, allocations: 1.025 MB / 1.214 GB, free: 2.559 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 (71): * Single equations (assignments): 62 * 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.002283/0.6001, allocations: 0.8471 MB / 1.214 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.005008/0.6051, allocations: 2.196 MB / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.6052, allocations: 0 / 1.217 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.6065, allocations: 0.5488 MB / 1.217 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004693/0.6112, allocations: 0.9628 MB / 1.218 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007617/0.6189, allocations: 4.387 MB / 1.222 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001609/0.6205, allocations: 1.538 MB / 1.224 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.002564/0.6231, allocations: 0.528 MB / 1.224 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/0.6237, allocations: 171.3 kB / 1.225 GB, free: 7.434 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/0.6237, allocations: 8 kB / 1.225 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of Templates: time 0.5558/1.18, allocations: 38.82 MB / 1.262 GB, free: 163 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)