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.0007845/0.0007844, allocations: 92.09 kB / 16.02 MB, free: 84 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.000878/0.0008781, allocations: 183 kB / 16.92 MB, free: 6.914 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.345/1.345, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.715/0.715, allocations: 115.5 MB / 407.6 MB, free: 2.742 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002802/0.0002802, allocations: 13.08 kB / 495.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1397, allocations: 77.52 MB / 0.5599 GB, free: 9.105 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.3636/0.5034, allocations: 65.72 MB / 0.6241 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02819/0.5316, allocations: 18.52 MB / 0.6422 GB, free: 13.68 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003908/0.5356, allocations: 83.72 kB / 0.6423 GB, free: 13.65 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008851/0.5445, allocations: 4.173 MB / 0.6464 GB, free: 11.32 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007634/0.5521, allocations: 2.516 MB / 0.6488 GB, free: 9.309 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006072/0.5582, allocations: 2.122 MB / 0.6509 GB, free: 7.773 MB / 478.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.01337/0.5716, allocations: 9.972 MB / 0.6606 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.5744, allocations: 1.587 MB / 0.6622 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00353/0.5779, allocations: 1.722 MB / 0.6639 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.58, allocations: 1.489 MB / 0.6653 GB, free: 10.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002424/0.5803, allocations: 76 kB / 0.6654 GB, free: 10.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.5845, allocations: 2.043 MB / 0.6674 GB, free: 8.66 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006091/0.5851, allocations: 0.5641 MB / 0.6679 GB, free: 8.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001377/0.5865, allocations: 1.194 MB / 0.6691 GB, free: 6.887 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005797/0.5923, allocations: 4.026 MB / 0.673 GB, free: 2.848 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5923, allocations: 0 / 0.673 GB, free: 2.848 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.5923, allocations: 7.938 kB / 0.673 GB, free: 2.84 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.944e-05/0.5924, allocations: 0 / 0.673 GB, free: 2.84 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.004766/0.5972, allocations: 2.642 MB / 0.6756 GB, free: 120 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.5972, allocations: 16.02 kB / 0.6756 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/0.5993, allocations: 496.4 kB / 0.6761 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004852/0.6042, allocations: 2.83 MB / 0.6789 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004528/0.6046, allocations: 170.6 kB / 0.679 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002314/0.6049, allocations: 135.9 kB / 0.6792 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002857/0.6077, allocations: 1.467 MB / 0.6806 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.6078, allocations: 0 / 0.6806 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.6079, allocations: 55.98 kB / 0.6806 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.955e-05/0.608, allocations: 50.33 kB / 0.6807 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.6108, allocations: 1.172 MB / 0.6818 GB, free: 9.57 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.0104/0.6212, allocations: 7.75 MB / 0.6894 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.6236, allocations: 1.346 MB / 0.6907 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001088/0.6247, allocations: 482.9 kB / 0.6912 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005434/0.6301, allocations: 2.702 MB / 0.6938 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.6313, allocations: 0.4908 MB / 0.6943 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006776/0.632, allocations: 107.1 kB / 0.6944 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=63): time 3.436e-06/0.632, allocations: 0 / 0.6944 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=63): time 0.003505/0.6355, allocations: 1.311 MB / 0.6957 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.6356, allocations: 115.4 kB / 0.6958 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003254/0.6389, allocations: 2.028 MB / 0.6978 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001265/0.639, allocations: 45.64 kB / 0.6978 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001009/0.64, allocations: 1.038 MB / 0.6988 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.6403, allocations: 232.8 kB / 0.699 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002075/0.6405, allocations: 153.6 kB / 0.6992 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.6406, allocations: 301.1 kB / 0.6995 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.642, allocations: 0.5615 MB / 0.7 GB, free: 5.871 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/0.6436, allocations: 0.9883 MB / 0.701 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00273/0.6464, allocations: 1.461 MB / 0.7024 GB, free: 3.105 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-05/0.6464, allocations: 4 kB / 0.7024 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.003759/0.6502, allocations: 1.792 MB / 0.7042 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003194/0.6505, allocations: 452 kB / 0.7046 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.6505, allocations: 8 kB / 0.7046 GB, free: 0.6875 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/0.6506, allocations: 20 kB / 0.7046 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.6519, allocations: 311.5 kB / 0.7049 GB, free: 372 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.154e-05/0.6519, allocations: 23.92 kB / 0.705 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.6537, allocations: 157.3 kB / 0.7051 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001339/0.6538, allocations: 59.98 kB / 0.7052 GB, free: 132 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.866e-06/0.6538, allocations: 8 kB / 0.7052 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003229/0.6571, allocations: 1.585 MB / 0.7067 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/0.6571, allocations: 12 kB / 0.7067 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.6571, allocations: 19.94 kB / 0.7067 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.6583, allocations: 316.1 kB / 0.707 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-05/0.6584, allocations: 27.91 kB / 0.7071 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.66, allocations: 157.5 kB / 0.7072 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.6601, allocations: 59.98 kB / 0.7073 GB, free: 13.95 MB / 0.5294 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.001055/0.6612, allocations: 0.5943 MB / 0.7079 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/0.6616, allocations: 205.4 kB / 0.7081 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/0.6645, allocations: 1.127 MB / 0.7092 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.6645, allocations: 8 kB / 0.7092 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.6646, allocations: 0 / 0.7092 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00196/0.6665, allocations: 0.8238 MB / 0.71 GB, free: 11.16 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.006034/0.6726, allocations: 2.913 MB / 0.7128 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/0.6726, allocations: 0 / 0.7128 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008243/0.6734, allocations: 175.8 kB / 0.713 GB, free: 7.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001601/0.6736, allocations: 32.78 kB / 0.713 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.102e-05/0.6737, allocations: 23.98 kB / 0.713 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001033/0.6747, allocations: 1.319 MB / 0.7143 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6747, allocations: 4 kB / 0.7143 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00361/0.6784, allocations: 1.668 MB / 0.716 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009037/0.6793, allocations: 418 kB / 0.7164 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004667/0.6797, allocations: 16 kB / 0.7164 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/0.6812, allocations: 123.9 kB / 0.7165 GB, free: 4.191 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/0.6813, allocations: 64.42 kB / 0.7165 GB, free: 4.129 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/0.6814, allocations: 31.97 kB / 0.7166 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002478/0.6839, allocations: 1.43 MB / 0.718 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.8e-07/0.6839, allocations: 0 / 0.718 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003296/0.6872, allocations: 1.107 MB / 0.7191 GB, free: 1.547 MB / 0.5294 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.001579/0.6888, allocations: 0.6553 MB / 0.7197 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004401/0.6932, allocations: 2.152 MB / 0.7218 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6932, allocations: 0 / 0.7218 GB, free: 14.71 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.6945, allocations: 0.5695 MB / 0.7224 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005866/0.7004, allocations: 1.029 MB / 0.7234 GB, free: 13.12 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007956/0.7084, allocations: 4.588 MB / 0.7278 GB, free: 8.473 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.7101, allocations: 1.574 MB / 0.7294 GB, free: 6.863 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002471/0.7126, allocations: 0.5323 MB / 0.7299 GB, free: 6.328 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005624/0.7131, allocations: 171.4 kB / 0.7301 GB, free: 6.16 MB / 0.545 GB Notification: Performance of SimCode: time 1.142e-06/0.7131, allocations: 0 / 0.7301 GB, free: 6.16 MB / 0.545 GB Notification: Performance of Templates: time 0.06979/0.7829, allocations: 40.26 MB / 0.7694 GB, free: 14.39 MB / 0.5919 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)