Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7525/0.7525, allocations: 128.8 MB / 143.7 MB, free: 2.332 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 186.3 kB / 173.8 MB, free: 6.113 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 409 MB, free: 10.49 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008945/0.0008944, allocations: 105.6 kB / 486.6 MB, free: 12.99 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003204/0.0003205, allocations: 8.156 kB / 0.5603 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1574, allocations: 76.76 MB / 0.6353 GB, free: 30.56 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.15/1.307, allocations: 409.7 MB / 1.035 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003261/1.307, allocations: 103.4 kB / 1.035 GB, free: 165.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.645/4.953, allocations: 1.095 GB / 2.131 GB, free: 84.98 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.635e-06/4.953, allocations: 0 / 2.131 GB, free: 84.98 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002755/4.953, allocations: 60.67 kB / 2.131 GB, free: 84.97 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.007567/4.96, allocations: 2.696 MB / 2.133 GB, free: 83.56 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/4.96, allocations: 12.53 kB / 2.133 GB, free: 83.56 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/4.963, allocations: 376.6 kB / 2.134 GB, free: 83.44 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/4.974, allocations: 4.908 MB / 2.139 GB, free: 82.76 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-05/4.975, allocations: 103.8 kB / 2.139 GB, free: 82.71 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002054/4.975, allocations: 143.3 kB / 2.139 GB, free: 82.67 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/4.978, allocations: 1.483 MB / 2.14 GB, free: 81.91 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/4.978, allocations: 3.188 kB / 2.14 GB, free: 81.91 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001192/4.978, allocations: 54.47 kB / 2.14 GB, free: 81.87 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.932e-05/4.978, allocations: 38.78 kB / 2.14 GB, free: 81.87 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/4.98, allocations: 1.081 MB / 2.141 GB, free: 81.5 MB / 0.6667 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.009403/4.989, allocations: 7.531 MB / 2.149 GB, free: 75.8 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/4.992, allocations: 1.308 MB / 2.15 GB, free: 74.91 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003714/4.995, allocations: 1.966 MB / 2.152 GB, free: 73.39 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/4.996, allocations: 486.2 kB / 2.152 GB, free: 73.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000512/4.997, allocations: 90.55 kB / 2.152 GB, free: 73.16 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=66): time 3.326e-06/4.997, allocations: 0 / 2.152 GB, free: 73.16 MB / 0.6667 GB Notification: Performance of matching and sorting (n=66): time 0.002805/5, allocations: 1.301 MB / 2.154 GB, free: 72.55 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.282e-05/5, allocations: 192.2 kB / 2.154 GB, free: 72.33 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001686/5.002, allocations: 1.341 MB / 2.155 GB, free: 71.81 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.424e-05/5.002, allocations: 45.08 kB / 2.155 GB, free: 71.77 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000707/5.002, allocations: 0.9274 MB / 2.156 GB, free: 71.05 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/5.003, allocations: 231.3 kB / 2.156 GB, free: 70.88 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/5.003, allocations: 22.69 kB / 2.156 GB, free: 70.86 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.145e-05/5.003, allocations: 346.5 kB / 2.157 GB, free: 70.54 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006996/5.003, allocations: 350.5 kB / 2.157 GB, free: 70.43 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008852/5.004, allocations: 0.7704 MB / 2.158 GB, free: 69.79 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008099/5.005, allocations: 479 kB / 2.158 GB, free: 69.58 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/5.005, allocations: 3.375 kB / 2.158 GB, free: 69.58 MB / 0.6667 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.002178/5.007, allocations: 1.275 MB / 2.16 GB, free: 69.06 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009676/5.008, allocations: 4.281 MB / 2.164 GB, free: 64.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-05/5.008, allocations: 15.81 kB / 2.164 GB, free: 64.49 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.85e-05/5.008, allocations: 21.2 kB / 2.164 GB, free: 64.49 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009916/5.009, allocations: 266.5 kB / 2.164 GB, free: 64.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/5.009, allocations: 18.31 kB / 2.164 GB, free: 64.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/5.011, allocations: 134.4 kB / 2.164 GB, free: 64.44 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/5.011, allocations: 50.23 kB / 2.164 GB, free: 64.43 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.177e-06/5.011, allocations: 3.812 kB / 2.164 GB, free: 64.43 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001746/5.013, allocations: 1.057 MB / 2.165 GB, free: 64.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/5.013, allocations: 15.22 kB / 2.165 GB, free: 64.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/5.013, allocations: 21.38 kB / 2.165 GB, free: 64.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008463/5.014, allocations: 257.3 kB / 2.166 GB, free: 63.99 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/5.014, allocations: 24.42 kB / 2.166 GB, free: 63.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/5.015, allocations: 121.5 kB / 2.166 GB, free: 63.96 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.166e-05/5.015, allocations: 52.89 kB / 2.166 GB, free: 63.95 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 122 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001068/5.016, allocations: 0.4985 MB / 2.166 GB, free: 63.59 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/5.016, allocations: 168.8 kB / 2.166 GB, free: 63.5 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/5.019, allocations: 1.137 MB / 2.167 GB, free: 63 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.455e-05/5.019, allocations: 7.875 kB / 2.168 GB, free: 63 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/5.019, allocations: 0 / 2.168 GB, free: 63 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001514/5.02, allocations: 0.857 MB / 2.168 GB, free: 62.59 MB / 0.6667 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.004178/5.024, allocations: 2.353 MB / 2.171 GB, free: 61.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/5.024, allocations: 0 / 2.171 GB, free: 61.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007306/5.025, allocations: 157.5 kB / 2.171 GB, free: 61.26 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001572/5.025, allocations: 24.61 kB / 2.171 GB, free: 61.23 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-05/5.025, allocations: 23.75 kB / 2.171 GB, free: 61.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008118/5.026, allocations: 1.302 MB / 2.172 GB, free: 59.81 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/5.026, allocations: 0 / 2.172 GB, free: 59.81 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/5.029, allocations: 1.549 MB / 2.174 GB, free: 58.38 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008022/5.03, allocations: 339.8 kB / 2.174 GB, free: 58.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003125/5.03, allocations: 12 kB / 2.174 GB, free: 58.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/5.031, allocations: 113.5 kB / 2.174 GB, free: 57.98 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/5.031, allocations: 58.91 kB / 2.174 GB, free: 57.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.718e-05/5.031, allocations: 31.8 kB / 2.174 GB, free: 57.92 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001752/5.033, allocations: 1.025 MB / 2.175 GB, free: 57.07 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.1e-07/5.033, allocations: 0 / 2.175 GB, free: 57.07 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004731/5.038, allocations: 1.12 MB / 2.176 GB, free: 55.96 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003052/5.041, allocations: 1.19 MB / 2.177 GB, free: 55 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003182/5.044, allocations: 1.598 MB / 2.179 GB, free: 53.4 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/5.044, allocations: 0 / 2.179 GB, free: 53.4 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001016/5.045, allocations: 0.5222 MB / 2.179 GB, free: 52.87 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/5.049, allocations: 0.7763 MB / 2.18 GB, free: 52.13 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008296/5.058, allocations: 3.828 MB / 2.184 GB, free: 48.29 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/5.059, allocations: 1.444 MB / 2.185 GB, free: 46.81 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.002541/5.062, allocations: 421.4 kB / 2.186 GB, free: 46.45 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005198/5.062, allocations: 139.4 kB / 2.186 GB, free: 46.31 MB / 0.6667 GB Notification: Performance of SimCode: time 1.152e-06/5.062, allocations: 0 / 2.186 GB, free: 46.31 MB / 0.6667 GB Notification: Performance of Templates: time 0.0616/5.124, allocations: 37.46 MB / 2.222 GB, free: 9.602 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1)