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.0009551/0.0009551, allocations: 93.59 kB / 16.66 MB, free: 5.859 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.001031/0.001031, allocations: 176.7 kB / 17.57 MB, free: 5.543 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.396/1.396, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7398/0.7398, allocations: 115.5 MB / 408.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003813/0.0003814, allocations: 12 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.423/0.4234, allocations: 77.53 MB / 0.5606 GB, free: 35.51 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04701/0.4704, allocations: 52.25 MB / 0.6116 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02721/0.4977, allocations: 16.97 MB / 0.6282 GB, free: 14.04 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004206/0.502, allocations: 79.5 kB / 0.6283 GB, free: 13.96 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009573/0.5116, allocations: 4.123 MB / 0.6323 GB, free: 9.836 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008264/0.5198, allocations: 2.207 MB / 0.6344 GB, free: 7.621 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006367/0.5262, allocations: 2.054 MB / 0.6364 GB, free: 5.586 MB / 478.1 MB [/var/lib/jenkins1/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.01272/0.539, allocations: 8.983 MB / 0.6452 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.5418, allocations: 1.381 MB / 0.6466 GB, free: 11.17 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0044/0.5462, allocations: 1.602 MB / 0.6481 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002957/0.5492, allocations: 1.361 MB / 0.6495 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003146/0.5496, allocations: 68 kB / 0.6495 GB, free: 8.129 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004748/0.5543, allocations: 1.922 MB / 0.6514 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007035/0.5551, allocations: 0.5486 MB / 0.6519 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001512/0.5566, allocations: 1.105 MB / 0.653 GB, free: 4.535 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.5609, allocations: 2.887 MB / 0.6558 GB, free: 1.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5609, allocations: 0 / 0.6558 GB, free: 1.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.298e-06/0.5609, allocations: 0 / 0.6558 GB, free: 1.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.454e-05/0.5609, allocations: 3.938 kB / 0.6558 GB, free: 1.637 MB / 494.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.004899/0.5658, allocations: 2.52 MB / 0.6583 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.5659, allocations: 12.03 kB / 0.6583 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002763/0.5687, allocations: 0.5824 MB / 0.6589 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004824/0.5735, allocations: 2.672 MB / 0.6615 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004193/0.574, allocations: 162.1 kB / 0.6616 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002278/0.5742, allocations: 127.9 kB / 0.6618 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/0.577, allocations: 1.395 MB / 0.6631 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.5771, allocations: 0 / 0.6631 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/0.5772, allocations: 48 kB / 0.6632 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-05/0.5773, allocations: 46.02 kB / 0.6632 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002896/0.5802, allocations: 1.163 MB / 0.6644 GB, free: 8.656 MB / 0.4981 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.01042/0.5906, allocations: 7.376 MB / 0.6716 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.5933, allocations: 1.414 MB / 0.6729 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.5943, allocations: 446.9 kB / 0.6734 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005759/0.6001, allocations: 3.195 MB / 0.6765 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001117/0.6013, allocations: 450.9 kB / 0.6769 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006138/0.6019, allocations: 99.12 kB / 0.677 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.915e-06/0.6019, allocations: 3.938 kB / 0.677 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.003346/0.6052, allocations: 1.326 MB / 0.6783 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.6053, allocations: 59.97 kB / 0.6784 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.608, allocations: 2.09 MB / 0.6804 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.948e-05/0.6081, allocations: 41.7 kB / 0.6804 GB, free: 7.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008899/0.609, allocations: 1.022 MB / 0.6814 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00019/0.6092, allocations: 216.9 kB / 0.6817 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.6094, allocations: 157.6 kB / 0.6818 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6095, allocations: 305.1 kB / 0.6821 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/0.6108, allocations: 0.5615 MB / 0.6826 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.6123, allocations: 1.02 MB / 0.6836 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002552/0.6149, allocations: 1.496 MB / 0.6851 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.566e-06/0.6149, allocations: 4 kB / 0.6851 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003567/0.6185, allocations: 1.811 MB / 0.6869 GB, free: 124 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003464/0.6188, allocations: 481.4 kB / 0.6873 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.6189, allocations: 16 kB / 0.6873 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.325e-05/0.6189, allocations: 20 kB / 0.6874 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.6201, allocations: 323.5 kB / 0.6877 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.598e-05/0.6201, allocations: 23.88 kB / 0.6877 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.6216, allocations: 149.5 kB / 0.6878 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/0.6218, allocations: 67.97 kB / 0.6879 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.6218, allocations: 4 kB / 0.6879 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003088/0.6249, allocations: 1.608 MB / 0.6895 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.6249, allocations: 20.03 kB / 0.6895 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.6249, allocations: 16 kB / 0.6895 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.6261, allocations: 327.5 kB / 0.6898 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.37e-05/0.6262, allocations: 31.86 kB / 0.6899 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/0.6277, allocations: 141.5 kB / 0.69 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001249/0.6278, allocations: 63.98 kB / 0.69 GB, free: 12.69 MB / 0.5294 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.001098/0.6289, allocations: 0.5865 MB / 0.6906 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/0.6293, allocations: 201.4 kB / 0.6908 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003032/0.6323, allocations: 1.176 MB / 0.692 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/0.6324, allocations: 12 kB / 0.692 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.6324, allocations: 0 / 0.692 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002158/0.6346, allocations: 1.002 MB / 0.693 GB, free: 9.641 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 postOpt removeSimpleEquations (simulation): time 0.005907/0.6405, allocations: 2.66 MB / 0.6955 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.6405, allocations: 4 kB / 0.6956 GB, free: 6.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.6413, allocations: 159.9 kB / 0.6957 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/0.6415, allocations: 28.83 kB / 0.6957 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.507e-05/0.6416, allocations: 23.98 kB / 0.6958 GB, free: 6.691 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00119/0.6428, allocations: 1.319 MB / 0.697 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6428, allocations: 0 / 0.697 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.6466, allocations: 1.657 MB / 0.6987 GB, free: 3.555 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000979/0.6476, allocations: 394.1 kB / 0.699 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004996/0.6481, allocations: 16 kB / 0.6991 GB, free: 3.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/0.6495, allocations: 119.9 kB / 0.6992 GB, free: 3.016 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.6496, allocations: 56.48 kB / 0.6992 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.6497, allocations: 27.97 kB / 0.6992 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002764/0.6525, allocations: 1.454 MB / 0.7007 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6525, allocations: 3.938 kB / 0.7007 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003822/0.6563, allocations: 1.041 MB / 0.7017 GB, free: 432 kB / 0.5294 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.002402/0.6587, allocations: 0.843 MB / 0.7025 GB, free: 15.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004866/0.6636, allocations: 2.18 MB / 0.7046 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6636, allocations: 0 / 0.7046 GB, free: 13.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.665, allocations: 0.5579 MB / 0.7052 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005076/0.6701, allocations: 0.9072 MB / 0.7061 GB, free: 12.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008199/0.6783, allocations: 4.562 MB / 0.7105 GB, free: 7.469 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/0.68, allocations: 1.539 MB / 0.712 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006816/0.6807, allocations: 179.4 kB / 0.7122 GB, free: 5.719 MB / 0.545 GB Notification: Performance of SimCode: time 1.293e-06/0.6807, allocations: 0 / 0.7122 GB, free: 5.719 MB / 0.545 GB Notification: Performance of Templates: time 0.3501/1.031, allocations: 39.59 MB / 0.7509 GB, free: 161.4 MB / 0.5762 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)