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.001293/0.001293, allocations: 110.8 kB / 17.04 MB, free: 5.812 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.001242/0.001243, allocations: 195 kB / 17.98 MB, free: 5.027 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.34/1.34, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7256/0.7256, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 67.89 kB / 494.8 MB, free: 15.87 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3003, allocations: 76.14 MB / 0.5576 GB, free: 36.86 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.05463/0.355, allocations: 67.4 MB / 0.6234 GB, free: 1.18 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02539/0.3804, allocations: 18.59 MB / 0.6415 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003028/0.3835, allocations: 95.5 kB / 0.6416 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008503/0.392, allocations: 4.417 MB / 0.6459 GB, free: 10.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007389/0.3994, allocations: 2.727 MB / 0.6486 GB, free: 7.293 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006186/0.4056, allocations: 2.383 MB / 0.6509 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01129/0.4169, allocations: 8.171 MB / 0.6589 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002808/0.4198, allocations: 1.919 MB / 0.6608 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004334/0.4241, allocations: 2.065 MB / 0.6628 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.4263, allocations: 1.544 MB / 0.6643 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003952/0.4267, allocations: 195.9 kB / 0.6645 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003988/0.4307, allocations: 2.149 MB / 0.6666 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00072/0.4315, allocations: 0.6852 MB / 0.6673 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001496/0.433, allocations: 1.318 MB / 0.6685 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005591/0.4386, allocations: 4.206 MB / 0.6727 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4386, allocations: 0 / 0.6727 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4386, allocations: 3.938 kB / 0.6727 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.771e-05/0.4387, allocations: 0 / 0.6727 GB, free: 14.57 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.00517/0.4438, allocations: 3.075 MB / 0.6757 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.4439, allocations: 8.031 kB / 0.6757 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.4459, allocations: 480.4 kB / 0.6761 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00487/0.4508, allocations: 2.841 MB / 0.6789 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.957e-05/0.4509, allocations: 98.47 kB / 0.679 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/0.4511, allocations: 135.9 kB / 0.6791 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002574/0.4537, allocations: 1.448 MB / 0.6805 GB, free: 6.246 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.401e-05/0.4537, allocations: 7.906 kB / 0.6805 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/0.4539, allocations: 52 kB / 0.6806 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.496e-05/0.4539, allocations: 46.31 kB / 0.6806 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00251/0.4564, allocations: 1.121 MB / 0.6817 GB, free: 5.012 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.0096/0.4661, allocations: 7.736 MB / 0.6893 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002031/0.4681, allocations: 1.271 MB / 0.6905 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009334/0.4691, allocations: 447.9 kB / 0.691 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004966/0.474, allocations: 2.697 MB / 0.6936 GB, free: 7.945 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001033/0.4751, allocations: 482.5 kB / 0.6941 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 4.127e-06/0.4751, allocations: 0 / 0.6941 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.003104/0.4782, allocations: 1.248 MB / 0.6953 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.4783, allocations: 111.4 kB / 0.6954 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002813/0.4811, allocations: 2.056 MB / 0.6974 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.4813, allocations: 45.7 kB / 0.6974 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000853/0.4821, allocations: 1.026 MB / 0.6984 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/0.4824, allocations: 232.8 kB / 0.6987 GB, free: 2.645 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004445/0.4828, allocations: 314.6 kB / 0.699 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4829, allocations: 305.1 kB / 0.6992 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001089/0.484, allocations: 0.5492 MB / 0.6998 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.4854, allocations: 0.9619 MB / 0.7007 GB, free: 348 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002233/0.4876, allocations: 1.422 MB / 0.7021 GB, free: 14.76 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.4877, allocations: 4 kB / 0.7021 GB, free: 14.75 MB / 0.545 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003342/0.491, allocations: 1.761 MB / 0.7038 GB, free: 12.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.366e-05/0.4911, allocations: 37.7 kB / 0.7039 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/0.4911, allocations: 8 kB / 0.7039 GB, free: 12.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.947e-05/0.4911, allocations: 20 kB / 0.7039 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001118/0.4922, allocations: 307.6 kB / 0.7042 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/0.4923, allocations: 19.94 kB / 0.7042 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4937, allocations: 166.6 kB / 0.7044 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.4938, allocations: 63.98 kB / 0.7044 GB, free: 12.36 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001779/0.4956, allocations: 0.9801 MB / 0.7054 GB, free: 11.38 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001331/0.497, allocations: 0.9618 MB / 0.7063 GB, free: 10.25 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002206/0.4992, allocations: 1.421 MB / 0.7077 GB, free: 8.664 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.923e-06/0.4992, allocations: 4 kB / 0.7077 GB, free: 8.66 MB / 0.545 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003283/0.5025, allocations: 1.748 MB / 0.7094 GB, free: 6.898 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.5025, allocations: 37.64 kB / 0.7095 GB, free: 6.855 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.5026, allocations: 12.66 kB / 0.7095 GB, free: 6.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.5026, allocations: 20 kB / 0.7095 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.5037, allocations: 299.5 kB / 0.7098 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.3e-05/0.5037, allocations: 23.94 kB / 0.7098 GB, free: 6.508 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.5051, allocations: 147 kB / 0.7099 GB, free: 6.363 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001088/0.5052, allocations: 67.92 kB / 0.71 GB, free: 6.297 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.0003168/0.5055, allocations: 257.1 kB / 0.7102 GB, free: 6.039 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003242/0.5059, allocations: 205.3 kB / 0.7104 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/0.5084, allocations: 1.078 MB / 0.7115 GB, free: 4.75 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/0.5084, allocations: 11.98 kB / 0.7115 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5084, allocations: 3.938 kB / 0.7115 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001771/0.5102, allocations: 0.7764 MB / 0.7123 GB, free: 3.945 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006223/0.5164, allocations: 2.885 MB / 0.7151 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/0.5165, allocations: 3.938 kB / 0.7151 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007669/0.5173, allocations: 156 kB / 0.7152 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001612/0.5174, allocations: 36.78 kB / 0.7153 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/0.5175, allocations: 23.92 kB / 0.7153 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001065/0.5186, allocations: 1.425 MB / 0.7167 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5186, allocations: 0 / 0.7167 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.5219, allocations: 1.603 MB / 0.7183 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009667/0.5228, allocations: 406 kB / 0.7186 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.5231, allocations: 23.98 kB / 0.7187 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.5241, allocations: 63.88 kB / 0.7187 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.5243, allocations: 56.48 kB / 0.7188 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.139e-05/0.5244, allocations: 39.97 kB / 0.7188 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002066/0.5264, allocations: 1.442 MB / 0.7202 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5264, allocations: 4 kB / 0.7202 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00279/0.5292, allocations: 1.111 MB / 0.7213 GB, free: 10.37 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.001433/0.5307, allocations: 0.6714 MB / 0.722 GB, free: 9.703 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003967/0.5347, allocations: 2.077 MB / 0.724 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.5347, allocations: 1.562 kB / 0.724 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.5359, allocations: 0.5528 MB / 0.7245 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004392/0.5403, allocations: 1.094 MB / 0.7256 GB, free: 6.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/0.5465, allocations: 3.707 MB / 0.7292 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/0.5477, allocations: 1.574 MB / 0.7308 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001897/0.5496, allocations: 0.5284 MB / 0.7313 GB, free: 108 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.55, allocations: 171.4 kB / 0.7314 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.55, allocations: 0 / 0.7314 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of Templates: time 0.2863/0.8364, allocations: 42.32 MB / 0.7728 GB, free: 157.2 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)