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.001466/0.001467, allocations: 106.5 kB / 16.64 MB, free: 6.828 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.0015/0.0015, allocations: 193.9 kB / 17.57 MB, free: 5.93 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.31/1.31, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8101/0.8101, allocations: 122.9 MB / 414.2 MB, free: 40 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 67.89 kB / 0.4912 GB, free: 7.805 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4446, allocations: 77.91 MB / 0.5673 GB, free: 32.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.04933/0.494, allocations: 53.22 MB / 0.6193 GB, free: 5.676 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02938/0.5234, allocations: 16.9 MB / 0.6358 GB, free: 4.73 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003795/0.5273, allocations: 79.5 kB / 0.6359 GB, free: 4.652 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009116/0.5364, allocations: 4.301 MB / 0.6401 GB, free: 352 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007559/0.544, allocations: 2.211 MB / 0.6422 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00599/0.55, allocations: 2.104 MB / 0.6443 GB, free: 12.04 MB / 494.1 MB [/var/lib/jenkins1/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.0113/0.5613, allocations: 7.64 MB / 0.6518 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002882/0.5642, allocations: 1.659 MB / 0.6534 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004644/0.5689, allocations: 1.9 MB / 0.6552 GB, free: 0.793 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002494/0.5714, allocations: 1.466 MB / 0.6567 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006389/0.572, allocations: 172 kB / 0.6568 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004472/0.5765, allocations: 2.024 MB / 0.6588 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009888/0.5775, allocations: 0.6618 MB / 0.6594 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001687/0.5792, allocations: 1.216 MB / 0.6606 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004291/0.5835, allocations: 2.99 MB / 0.6636 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.5836, allocations: 0 / 0.6636 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5836, allocations: 0 / 0.6636 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.625e-05/0.5837, allocations: 0 / 0.6636 GB, free: 8.242 MB / 0.4981 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.005764/0.5894, allocations: 2.924 MB / 0.6664 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.5895, allocations: 8.625 kB / 0.6664 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002613/0.5921, allocations: 0.5433 MB / 0.6669 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/0.5965, allocations: 2.672 MB / 0.6696 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003788/0.5969, allocations: 146.1 kB / 0.6697 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002258/0.5972, allocations: 131.9 kB / 0.6698 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/0.5998, allocations: 1.374 MB / 0.6712 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.5999, allocations: 4 kB / 0.6712 GB, free: 196 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.6, allocations: 44 kB / 0.6712 GB, free: 152 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/0.6001, allocations: 46.06 kB / 0.6713 GB, free: 104 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/0.6028, allocations: 1.128 MB / 0.6724 GB, free: 14.96 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 preOpt removeSimpleEquations (simulation): time 0.01058/0.6134, allocations: 7.337 MB / 0.6795 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002546/0.6159, allocations: 1.371 MB / 0.6809 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001032/0.617, allocations: 426.9 kB / 0.6813 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006205/0.6232, allocations: 3.164 MB / 0.6844 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001161/0.6244, allocations: 434.9 kB / 0.6848 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008165/0.6253, allocations: 87.2 kB / 0.6849 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 5.06e-06/0.6253, allocations: 0 / 0.6849 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.003836/0.6291, allocations: 1.275 MB / 0.6861 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.6292, allocations: 59.97 kB / 0.6862 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004242/0.6334, allocations: 2.098 MB / 0.6882 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001041/0.6336, allocations: 37.7 kB / 0.6882 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009849/0.6346, allocations: 1.022 MB / 0.6892 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002286/0.6348, allocations: 220.9 kB / 0.6895 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005197/0.6353, allocations: 318.5 kB / 0.6898 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.691e-05/0.6354, allocations: 301.1 kB / 0.69 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.6367, allocations: 0.5648 MB / 0.6906 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.6384, allocations: 0.9964 MB / 0.6916 GB, free: 10 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00274/0.6411, allocations: 1.476 MB / 0.693 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-05/0.6412, allocations: 4 kB / 0.693 GB, free: 8.344 MB / 0.5294 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004039/0.6452, allocations: 1.787 MB / 0.6948 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.894e-05/0.6453, allocations: 42.3 kB / 0.6948 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/0.6453, allocations: 12 kB / 0.6948 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.304e-05/0.6454, allocations: 20 kB / 0.6948 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.6466, allocations: 315.5 kB / 0.6951 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.096e-05/0.6466, allocations: 27.94 kB / 0.6952 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.6487, allocations: 140.2 kB / 0.6953 GB, free: 5.996 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.6489, allocations: 59.98 kB / 0.6953 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002258/0.6511, allocations: 0.9803 MB / 0.6963 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001704/0.6528, allocations: 1 MB / 0.6973 GB, free: 3.762 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002644/0.6555, allocations: 1.471 MB / 0.6987 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.165e-05/0.6555, allocations: 7.938 kB / 0.6987 GB, free: 2.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.0036/0.6591, allocations: 1.779 MB / 0.7005 GB, free: 324 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.6592, allocations: 41.69 kB / 0.7005 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.6592, allocations: 12 kB / 0.7005 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.509e-05/0.6592, allocations: 19.94 kB / 0.7005 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.6604, allocations: 316.2 kB / 0.7008 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-05/0.6605, allocations: 27.92 kB / 0.7009 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.6622, allocations: 146 kB / 0.701 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001219/0.6623, allocations: 75.86 kB / 0.7011 GB, free: 15.69 MB / 0.545 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.000347/0.6627, allocations: 251.9 kB / 0.7013 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004931/0.6632, allocations: 205.3 kB / 0.7015 GB, free: 15.23 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/0.6662, allocations: 1.161 MB / 0.7026 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/0.6662, allocations: 15.98 kB / 0.7027 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.6662, allocations: 0 / 0.7027 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002015/0.6683, allocations: 0.9744 MB / 0.7036 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005988/0.6743, allocations: 2.612 MB / 0.7062 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.6743, allocations: 0 / 0.7062 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.6751, allocations: 167.8 kB / 0.7063 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/0.6753, allocations: 24.84 kB / 0.7063 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.6754, allocations: 23.92 kB / 0.7064 GB, free: 10.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.6765, allocations: 1.421 MB / 0.7078 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6765, allocations: 0 / 0.7078 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/0.6802, allocations: 1.61 MB / 0.7093 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009952/0.6812, allocations: 386.2 kB / 0.7097 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005517/0.6818, allocations: 19.98 kB / 0.7097 GB, free: 6.504 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.6831, allocations: 107.9 kB / 0.7098 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.6833, allocations: 60.42 kB / 0.7099 GB, free: 6.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.755e-05/0.6834, allocations: 27.98 kB / 0.7099 GB, free: 6.312 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002748/0.6862, allocations: 1.454 MB / 0.7113 GB, free: 4.848 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.6e-07/0.6862, allocations: 0 / 0.7113 GB, free: 4.848 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003678/0.6898, allocations: 1.037 MB / 0.7123 GB, free: 3.809 MB / 0.545 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 (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.002435/0.6923, allocations: 0.8508 MB / 0.7132 GB, free: 3.121 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004807/0.6971, allocations: 2.202 MB / 0.7153 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.6971, allocations: 0 / 0.7153 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.6985, allocations: 0.5457 MB / 0.7158 GB, free: 352 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004644/0.7031, allocations: 0.9741 MB / 0.7168 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007829/0.711, allocations: 4.474 MB / 0.7212 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.7125, allocations: 1.546 MB / 0.7227 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007136/0.7133, allocations: 179.4 kB / 0.7228 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.7133, allocations: 0 / 0.7228 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of Templates: time 0.3357/1.049, allocations: 39.97 MB / 0.7619 GB, free: 155.9 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)