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.001235/0.001235, allocations: 114.1 kB / 17.04 MB, free: 5.809 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.001318/0.001319, allocations: 196 kB / 17.98 MB, free: 5.031 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.236/1.236, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7067/0.7067, allocations: 115.1 MB / 406.9 MB, free: 6.324 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.91 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3067, allocations: 76.14 MB / 0.5576 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05726/0.364, allocations: 67.4 MB / 0.6234 GB, free: 1.016 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02565/0.3897, allocations: 18.58 MB / 0.6415 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003614/0.3934, allocations: 99.44 kB / 0.6416 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008944/0.4024, allocations: 4.423 MB / 0.6459 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007749/0.4101, allocations: 2.724 MB / 0.6486 GB, free: 7.133 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006211/0.4164, allocations: 2.382 MB / 0.6509 GB, free: 4.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01143/0.4278, allocations: 8.169 MB / 0.6589 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003383/0.4312, allocations: 1.919 MB / 0.6608 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005141/0.4364, allocations: 2.067 MB / 0.6628 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003551/0.44, allocations: 1.548 MB / 0.6643 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009513/0.4409, allocations: 192 kB / 0.6645 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005873/0.4468, allocations: 2.145 MB / 0.6666 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.4481, allocations: 0.6852 MB / 0.6673 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002486/0.4506, allocations: 1.321 MB / 0.6685 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.007519/0.4581, allocations: 4.202 MB / 0.6726 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4582, allocations: 0 / 0.6726 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.358e-06/0.4582, allocations: 0 / 0.6726 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001204/0.4583, allocations: 3.938 kB / 0.6727 GB, free: 14.41 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.006942/0.4652, allocations: 3.079 MB / 0.6757 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.4653, allocations: 8.031 kB / 0.6757 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002341/0.4677, allocations: 480.4 kB / 0.6761 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005335/0.473, allocations: 2.841 MB / 0.6789 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.44e-05/0.4731, allocations: 102.4 kB / 0.679 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.4734, allocations: 139.9 kB / 0.6791 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/0.476, allocations: 1.441 MB / 0.6805 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.4761, allocations: 11.89 kB / 0.6805 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/0.4762, allocations: 52 kB / 0.6806 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.051e-05/0.4762, allocations: 42.31 kB / 0.6806 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002406/0.4786, allocations: 1.125 MB / 0.6817 GB, free: 4.848 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.009641/0.4883, allocations: 7.728 MB / 0.6893 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/0.4903, allocations: 1.278 MB / 0.6905 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008841/0.4912, allocations: 447.9 kB / 0.691 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004854/0.4961, allocations: 2.697 MB / 0.6936 GB, free: 7.785 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009754/0.4971, allocations: 478.5 kB / 0.6941 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.425e-06/0.4971, allocations: 0 / 0.6941 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.003202/0.5003, allocations: 1.248 MB / 0.6953 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.487e-05/0.5004, allocations: 111.4 kB / 0.6954 GB, free: 5.887 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/0.5034, allocations: 2.056 MB / 0.6974 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.5036, allocations: 45.7 kB / 0.6974 GB, free: 3.754 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008276/0.5044, allocations: 1.03 MB / 0.6984 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.5046, allocations: 224.8 kB / 0.6986 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004035/0.505, allocations: 310.6 kB / 0.6989 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.662e-05/0.5051, allocations: 309.1 kB / 0.6992 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.5062, allocations: 0.5454 MB / 0.6998 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.5075, allocations: 0.9657 MB / 0.7007 GB, free: 192 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.5097, allocations: 1.426 MB / 0.7021 GB, free: 14.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.699e-06/0.5097, allocations: 7.938 kB / 0.7021 GB, free: 14.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003206/0.513, allocations: 1.754 MB / 0.7038 GB, free: 12.83 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.513, allocations: 41.69 kB / 0.7039 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.513, allocations: 8 kB / 0.7039 GB, free: 12.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.017e-05/0.5131, allocations: 20 kB / 0.7039 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.5142, allocations: 299.7 kB / 0.7042 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.398e-05/0.5143, allocations: 23.92 kB / 0.7042 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/0.516, allocations: 166.6 kB / 0.7044 GB, free: 12.28 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.5162, allocations: 63.98 kB / 0.7044 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002107/0.5183, allocations: 0.9801 MB / 0.7054 GB, free: 11.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001342/0.5197, allocations: 0.9619 MB / 0.7063 GB, free: 10.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00229/0.522, allocations: 1.425 MB / 0.7077 GB, free: 8.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.094e-06/0.522, allocations: 4 kB / 0.7077 GB, free: 8.508 MB / 0.545 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003138/0.5251, allocations: 1.744 MB / 0.7094 GB, free: 6.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/0.5252, allocations: 42.47 kB / 0.7095 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.5252, allocations: 12 kB / 0.7095 GB, free: 6.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.5252, allocations: 23.94 kB / 0.7095 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.5263, allocations: 295.5 kB / 0.7098 GB, free: 6.379 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.376e-05/0.5263, allocations: 23.92 kB / 0.7098 GB, free: 6.355 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.5277, allocations: 151 kB / 0.7099 GB, free: 6.207 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/0.5278, allocations: 67.98 kB / 0.71 GB, free: 6.141 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (154): * Single equations (assignments): 151 * 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.0003047/0.5281, allocations: 263.8 kB / 0.7103 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.5284, allocations: 205.3 kB / 0.7105 GB, free: 5.672 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.5309, allocations: 1.074 MB / 0.7115 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.5309, allocations: 8 kB / 0.7115 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.5309, allocations: 0 / 0.7115 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001636/0.5326, allocations: 0.7724 MB / 0.7123 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004986/0.5375, allocations: 2.889 MB / 0.7151 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.944e-06/0.5376, allocations: 7.922 kB / 0.7151 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007349/0.5383, allocations: 156 kB / 0.7152 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001582/0.5385, allocations: 36.78 kB / 0.7153 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/0.5386, allocations: 19.98 kB / 0.7153 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001042/0.5396, allocations: 1.421 MB / 0.7167 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5396, allocations: 0 / 0.7167 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003081/0.5427, allocations: 1.603 MB / 0.7182 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007855/0.5435, allocations: 410 kB / 0.7186 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.5437, allocations: 20 kB / 0.7187 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/0.5447, allocations: 63.88 kB / 0.7187 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001873/0.5449, allocations: 56.48 kB / 0.7188 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.222e-05/0.545, allocations: 39.97 kB / 0.7188 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002063/0.547, allocations: 1.442 MB / 0.7202 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/0.5471, allocations: 7.938 kB / 0.7202 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002627/0.5497, allocations: 1.111 MB / 0.7213 GB, free: 10.21 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 (74): * Single equations (assignments): 66 * 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.001273/0.551, allocations: 0.6713 MB / 0.722 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003838/0.5548, allocations: 2.074 MB / 0.724 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5548, allocations: 1.562 kB / 0.724 GB, free: 7.457 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.556, allocations: 0.5489 MB / 0.7245 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003862/0.5598, allocations: 1.107 MB / 0.7256 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005757/0.5656, allocations: 3.707 MB / 0.7292 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.5667, allocations: 1.57 MB / 0.7308 GB, free: 484 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001744/0.5685, allocations: 0.5285 MB / 0.7313 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/0.5689, allocations: 175.2 kB / 0.7314 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.5689, allocations: 0 / 0.7314 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.2659/0.8348, allocations: 42.32 MB / 0.7728 GB, free: 157 MB / 0.5762 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)