Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009115/0.0009115, allocations: 98.73 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 184 kB / 16.92 MB, free: 6.754 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.383/1.383, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6833/0.6833, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 12 kB / 495.9 MB, free: 6.402 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1364, allocations: 77.53 MB / 0.56 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.2975/0.434, allocations: 52.26 MB / 0.611 GB, free: 5.016 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02367/0.4577, allocations: 16.94 MB / 0.6275 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.4608, allocations: 79.53 kB / 0.6276 GB, free: 8.984 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008412/0.4692, allocations: 4.124 MB / 0.6316 GB, free: 7.496 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006767/0.476, allocations: 2.217 MB / 0.6338 GB, free: 5.742 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005506/0.4815, allocations: 2.052 MB / 0.6358 GB, free: 4.27 MB / 462.1 MB [/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.01089/0.4924, allocations: 8.984 MB / 0.6446 GB, free: 15.61 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002349/0.4947, allocations: 1.381 MB / 0.6459 GB, free: 14.74 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003783/0.4985, allocations: 1.582 MB / 0.6475 GB, free: 13.18 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00262/0.5012, allocations: 1.365 MB / 0.6488 GB, free: 11.8 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004264/0.5016, allocations: 72 kB / 0.6489 GB, free: 11.73 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004425/0.5061, allocations: 1.926 MB / 0.6508 GB, free: 9.805 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007559/0.5068, allocations: 0.5447 MB / 0.6513 GB, free: 9.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.5085, allocations: 1.116 MB / 0.6524 GB, free: 8.129 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004996/0.5135, allocations: 3.734 MB / 0.656 GB, free: 4.383 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5135, allocations: 0 / 0.656 GB, free: 4.383 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5135, allocations: 4 kB / 0.656 GB, free: 4.379 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.704e-05/0.5136, allocations: 0 / 0.656 GB, free: 4.379 MB / 478.1 MB 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.004229/0.5178, allocations: 2.516 MB / 0.6585 GB, free: 1.785 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.5179, allocations: 8.031 kB / 0.6585 GB, free: 1.777 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002546/0.5204, allocations: 0.5941 MB / 0.6591 GB, free: 1.18 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004279/0.5247, allocations: 2.66 MB / 0.6617 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004204/0.5252, allocations: 170.1 kB / 0.6618 GB, free: 14.28 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.5254, allocations: 127.8 kB / 0.662 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002835/0.5282, allocations: 1.39 MB / 0.6633 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.863e-05/0.5283, allocations: 0 / 0.6633 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001144/0.5284, allocations: 48 kB / 0.6634 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.5284, allocations: 46.95 kB / 0.6634 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002948/0.5314, allocations: 1.16 MB / 0.6645 GB, free: 11.41 MB / 494.1 MB 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.009643/0.541, allocations: 7.375 MB / 0.6717 GB, free: 3.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002725/0.5438, allocations: 1.415 MB / 0.6731 GB, free: 1.953 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00112/0.5449, allocations: 442.9 kB / 0.6735 GB, free: 1.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006163/0.5511, allocations: 3.211 MB / 0.6767 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.5524, allocations: 458.9 kB / 0.6771 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006942/0.5531, allocations: 91.19 kB / 0.6772 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 3.827e-06/0.5531, allocations: 0 / 0.6772 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.003538/0.5566, allocations: 1.318 MB / 0.6785 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.5567, allocations: 71.91 kB / 0.6786 GB, free: 11.99 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00272/0.5594, allocations: 2.09 MB / 0.6806 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.5595, allocations: 41.7 kB / 0.6806 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008376/0.5603, allocations: 1.018 MB / 0.6816 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.5606, allocations: 220.9 kB / 0.6818 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.5607, allocations: 153.6 kB / 0.682 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.5608, allocations: 301.1 kB / 0.6823 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.5621, allocations: 0.5693 MB / 0.6828 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001505/0.5636, allocations: 1.016 MB / 0.6838 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002546/0.5661, allocations: 1.5 MB / 0.6853 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.5661, allocations: 4 kB / 0.6853 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003383/0.5695, allocations: 1.823 MB / 0.6871 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002934/0.5698, allocations: 475.9 kB / 0.6875 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.5699, allocations: 12 kB / 0.6875 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.5699, allocations: 20 kB / 0.6876 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.5711, allocations: 323.5 kB / 0.6879 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.202e-05/0.5711, allocations: 23.94 kB / 0.6879 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001344/0.5725, allocations: 157.5 kB / 0.688 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/0.5726, allocations: 63.98 kB / 0.6881 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.043e-06/0.5726, allocations: 4 kB / 0.6881 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003014/0.5756, allocations: 1.604 MB / 0.6897 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.5757, allocations: 12 kB / 0.6897 GB, free: 0 / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.622e-05/0.5757, allocations: 23.98 kB / 0.6897 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.5768, allocations: 316.2 kB / 0.69 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-05/0.5769, allocations: 39.8 kB / 0.69 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.5781, allocations: 146.5 kB / 0.6902 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.565e-05/0.5782, allocations: 59.98 kB / 0.6902 GB, free: 15.43 MB / 0.5137 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.0008373/0.579, allocations: 0.5826 MB / 0.6908 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.5793, allocations: 201.4 kB / 0.691 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002733/0.582, allocations: 1.181 MB / 0.6922 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.582, allocations: 8 kB / 0.6922 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.582, allocations: 0 / 0.6922 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002086/0.5841, allocations: 1.002 MB / 0.6931 GB, free: 12.39 MB / 0.5137 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.004908/0.5891, allocations: 2.66 MB / 0.6957 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.534e-06/0.5891, allocations: 4 kB / 0.6957 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/0.5899, allocations: 159.8 kB / 0.6959 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001516/0.59, allocations: 28.84 kB / 0.6959 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/0.5901, allocations: 23.98 kB / 0.6959 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001075/0.5912, allocations: 1.319 MB / 0.6972 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.5912, allocations: 8.094 kB / 0.6972 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/0.5948, allocations: 1.645 MB / 0.6988 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007099/0.5956, allocations: 398.1 kB / 0.6992 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003178/0.5959, allocations: 19.98 kB / 0.6992 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.5971, allocations: 127.8 kB / 0.6994 GB, free: 5.754 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.5972, allocations: 48.48 kB / 0.6994 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.979e-05/0.5973, allocations: 35.97 kB / 0.6994 GB, free: 5.672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002328/0.5996, allocations: 1.442 MB / 0.7009 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.4e-07/0.5996, allocations: 4 kB / 0.7009 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003029/0.6027, allocations: 1.041 MB / 0.7019 GB, free: 3.172 MB / 0.5137 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.002046/0.6047, allocations: 0.8502 MB / 0.7027 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004487/0.6092, allocations: 2.173 MB / 0.7048 GB, free: 268 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6092, allocations: 0 / 0.7048 GB, free: 268 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001319/0.6106, allocations: 0.5643 MB / 0.7054 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/0.6152, allocations: 0.8998 MB / 0.7063 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007304/0.6225, allocations: 4.463 MB / 0.7106 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001379/0.6239, allocations: 1.539 MB / 0.7121 GB, free: 8.719 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002316/0.6263, allocations: 0.528 MB / 0.7126 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000522/0.6268, allocations: 163.4 kB / 0.7128 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.6268, allocations: 0 / 0.7128 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of Templates: time 0.06359/0.6904, allocations: 37.48 MB / 0.7494 GB, free: 3 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)