Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.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_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009523/0.0009523, allocations: 92.95 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.00102/0.00102, allocations: 184.3 kB / 16.92 MB, free: 6.934 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.726/0.726, allocations: 123 MB / 415.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 9.75 kB / 0.4933 GB, free: 14.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.403/0.4034, allocations: 79.28 MB / 0.5707 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.06762/0.4711, allocations: 65.73 MB / 0.6349 GB, free: 9.809 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02849/0.4996, allocations: 18.52 MB / 0.653 GB, free: 8.199 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003633/0.5033, allocations: 83.5 kB / 0.6531 GB, free: 8.117 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009273/0.5126, allocations: 4.169 MB / 0.6572 GB, free: 3.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007712/0.5203, allocations: 2.52 MB / 0.6596 GB, free: 1.41 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005763/0.5261, allocations: 2.121 MB / 0.6617 GB, free: 15.31 MB / 0.4981 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.01352/0.5396, allocations: 9.97 MB / 0.6714 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003309/0.5429, allocations: 1.602 MB / 0.673 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004538/0.5475, allocations: 1.711 MB / 0.6747 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003464/0.551, allocations: 1.485 MB / 0.6761 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006085/0.5516, allocations: 76 kB / 0.6762 GB, free: 392 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004783/0.5564, allocations: 2.05 MB / 0.6782 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008645/0.5573, allocations: 0.5602 MB / 0.6787 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.5591, allocations: 1.198 MB / 0.6799 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005647/0.5647, allocations: 4.03 MB / 0.6838 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.5647, allocations: 0 / 0.6838 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5648, allocations: 0 / 0.6838 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.342e-05/0.5648, allocations: 0 / 0.6838 GB, free: 8.512 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004887/0.5697, allocations: 2.64 MB / 0.6864 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.5698, allocations: 8.031 kB / 0.6864 GB, free: 5.781 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002214/0.572, allocations: 0.4925 MB / 0.6869 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004864/0.5769, allocations: 2.821 MB / 0.6897 GB, free: 2.391 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004391/0.5773, allocations: 174.6 kB / 0.6898 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/0.5776, allocations: 140 kB / 0.69 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002985/0.5806, allocations: 1.459 MB / 0.6914 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.036e-05/0.5806, allocations: 15.84 kB / 0.6914 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.5808, allocations: 55.98 kB / 0.6914 GB, free: 476 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.976e-05/0.5808, allocations: 46.33 kB / 0.6915 GB, free: 428 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002829/0.5837, allocations: 1.172 MB / 0.6926 GB, free: 15.23 MB / 0.5294 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.01058/0.5943, allocations: 7.754 MB / 0.7002 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/0.5966, allocations: 1.339 MB / 0.7015 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001105/0.5978, allocations: 482.7 kB / 0.702 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005204/0.603, allocations: 2.724 MB / 0.7046 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.6042, allocations: 0.4908 MB / 0.7051 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005852/0.6047, allocations: 91.25 kB / 0.7052 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 2.464e-06/0.6048, allocations: 0 / 0.7052 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of matching and sorting (n=63): time 0.003354/0.6081, allocations: 1.311 MB / 0.7065 GB, free: 80 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.54e-05/0.6082, allocations: 111.4 kB / 0.7066 GB, free: 15.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003008/0.6113, allocations: 2.032 MB / 0.7086 GB, free: 13.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.765e-05/0.6114, allocations: 45.7 kB / 0.7086 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000932/0.6123, allocations: 1.035 MB / 0.7096 GB, free: 12.79 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000234/0.6125, allocations: 232.8 kB / 0.7099 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001901/0.6127, allocations: 153.6 kB / 0.71 GB, free: 12.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.6129, allocations: 301.1 kB / 0.7103 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/0.6141, allocations: 0.5615 MB / 0.7108 GB, free: 11.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.6157, allocations: 0.9844 MB / 0.7118 GB, free: 10.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002526/0.6182, allocations: 1.464 MB / 0.7132 GB, free: 8.777 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.6182, allocations: 0 / 0.7132 GB, free: 8.777 MB / 0.545 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.003623/0.6219, allocations: 1.8 MB / 0.715 GB, free: 6.965 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003028/0.6222, allocations: 450.4 kB / 0.7154 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.84e-05/0.6222, allocations: 12 kB / 0.7154 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.141e-05/0.6222, allocations: 16 kB / 0.7154 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.6234, allocations: 319.5 kB / 0.7157 GB, free: 6.031 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.591e-05/0.6235, allocations: 23.92 kB / 0.7158 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.6251, allocations: 147.6 kB / 0.7159 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.6252, allocations: 67.98 kB / 0.716 GB, free: 5.801 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.895e-06/0.6252, allocations: 4 kB / 0.716 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003059/0.6283, allocations: 1.581 MB / 0.7175 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.6283, allocations: 8 kB / 0.7175 GB, free: 4.203 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.6283, allocations: 23.94 kB / 0.7175 GB, free: 4.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.6295, allocations: 316.2 kB / 0.7179 GB, free: 3.871 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.6295, allocations: 27.86 kB / 0.7179 GB, free: 3.844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.631, allocations: 153.5 kB / 0.718 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.6311, allocations: 63.98 kB / 0.7181 GB, free: 3.629 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (156): * Single equations (assignments): 153 * 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.001002/0.6321, allocations: 0.5943 MB / 0.7187 GB, free: 3.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.6324, allocations: 205.3 kB / 0.7189 GB, free: 2.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/0.6351, allocations: 1.119 MB / 0.72 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/0.6351, allocations: 15.98 kB / 0.72 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.6351, allocations: 4 kB / 0.72 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001979/0.6371, allocations: 0.8159 MB / 0.7208 GB, free: 0.8359 MB / 0.545 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.005429/0.6426, allocations: 2.913 MB / 0.7236 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/0.6426, allocations: 4 kB / 0.7236 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000814/0.6434, allocations: 175.9 kB / 0.7238 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001588/0.6436, allocations: 24.84 kB / 0.7238 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.917e-05/0.6436, allocations: 23.98 kB / 0.7238 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001057/0.6447, allocations: 1.323 MB / 0.7251 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6447, allocations: 0 / 0.7251 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003524/0.6483, allocations: 1.676 MB / 0.7268 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007247/0.649, allocations: 414 kB / 0.7272 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/0.6493, allocations: 20 kB / 0.7272 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.6505, allocations: 123.9 kB / 0.7273 GB, free: 9.863 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.6507, allocations: 68.36 kB / 0.7274 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/0.6508, allocations: 39.91 kB / 0.7274 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002092/0.6529, allocations: 1.422 MB / 0.7288 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6529, allocations: 0 / 0.7288 GB, free: 8.324 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002903/0.6558, allocations: 1.107 MB / 0.7299 GB, free: 7.215 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (75): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001445/0.6572, allocations: 0.6456 MB / 0.7305 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.004274/0.6615, allocations: 2.155 MB / 0.7326 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.6615, allocations: 0 / 0.7326 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001257/0.6628, allocations: 0.57 MB / 0.7332 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005267/0.6681, allocations: 1.033 MB / 0.7342 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006683/0.6748, allocations: 4.588 MB / 0.7386 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.6761, allocations: 1.574 MB / 0.7402 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002358/0.6784, allocations: 0.5324 MB / 0.7407 GB, free: 12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/0.6789, allocations: 171.4 kB / 0.7409 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of SimCode: time 2.054e-06/0.6789, allocations: 4 kB / 0.7409 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of Templates: time 0.06967/0.7486, allocations: 40.24 MB / 0.7802 GB, free: 4.074 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)