Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7887/0.7887, allocations: 127.3 MB / 139.8 MB, free: 15.46 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001072/0.001072, allocations: 180.8 kB / 169.7 MB, free: 1.73 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.927/1.927, allocations: 205.1 MB / 404.5 MB, free: 1.609 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.0009636/0.0009633, allocations: 84.81 kB / 481.8 MB, free: 4.262 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.587e-05/3.591e-05, allocations: 11.98 kB / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1741, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.404/1.579, allocations: 416.6 MB / 1.035 GB, free: 99.12 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/1.579, allocations: 92.02 kB / 1.035 GB, free: 99.08 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.459/6.038, allocations: 1.123 GB / 2.158 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.222e-06/6.038, allocations: 0 / 2.158 GB, free: 3.902 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0002259/6.038, allocations: 59.92 kB / 2.158 GB, free: 3.844 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.004427/6.043, allocations: 2.099 MB / 2.16 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/6.043, allocations: 8.031 kB / 2.16 GB, free: 1.68 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002206/6.045, allocations: 457 kB / 2.161 GB, free: 1.23 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5469/6.592, allocations: 2.374 MB / 2.163 GB, free: 68.06 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/6.592, allocations: 95.17 kB / 2.163 GB, free: 68.05 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003476/6.592, allocations: 130.8 kB / 2.163 GB, free: 68.05 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/6.596, allocations: 1.312 MB / 2.164 GB, free: 67.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/6.596, allocations: 4.656 kB / 2.164 GB, free: 67.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/6.596, allocations: 50.25 kB / 2.164 GB, free: 67.73 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/6.596, allocations: 40.86 kB / 2.164 GB, free: 67.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002145/6.598, allocations: 0.8727 MB / 2.165 GB, free: 67.71 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.009941/6.608, allocations: 7.256 MB / 2.172 GB, free: 63.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/6.609, allocations: 1.133 MB / 2.174 GB, free: 62.71 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/6.61, allocations: 298.8 kB / 2.174 GB, free: 62.71 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00461/6.615, allocations: 2.714 MB / 2.176 GB, free: 60.99 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008029/6.616, allocations: 389.4 kB / 2.177 GB, free: 60.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007272/6.616, allocations: 94.98 kB / 2.177 GB, free: 60.91 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.457e-06/6.616, allocations: 0 / 2.177 GB, free: 60.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.001583/6.618, allocations: 0.765 MB / 2.178 GB, free: 60.67 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/6.618, allocations: 194.2 kB / 2.178 GB, free: 60.45 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/6.62, allocations: 1.374 MB / 2.179 GB, free: 60.28 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.174e-05/6.62, allocations: 40.05 kB / 2.179 GB, free: 60.25 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008465/6.621, allocations: 0.9261 MB / 2.18 GB, free: 59.98 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001804/6.621, allocations: 204.5 kB / 2.18 GB, free: 59.89 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/6.621, allocations: 19.09 kB / 2.18 GB, free: 59.89 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 9.299e-05/6.621, allocations: 342.2 kB / 2.181 GB, free: 59.58 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004939/6.622, allocations: 279.3 kB / 2.181 GB, free: 59.58 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007312/6.622, allocations: 0.7354 MB / 2.182 GB, free: 59.02 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006994/6.623, allocations: 414.9 kB / 2.182 GB, free: 58.98 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/6.623, allocations: 3.469 kB / 2.182 GB, free: 58.98 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002168/6.625, allocations: 1.141 MB / 2.183 GB, free: 58.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009957/6.626, allocations: 5.009 MB / 2.188 GB, free: 53.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/6.626, allocations: 15.34 kB / 2.188 GB, free: 53.58 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.598e-05/6.626, allocations: 22.38 kB / 2.188 GB, free: 53.58 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/6.628, allocations: 253 kB / 2.188 GB, free: 53.58 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-05/6.628, allocations: 30.84 kB / 2.188 GB, free: 53.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001628/6.629, allocations: 123.7 kB / 2.188 GB, free: 53.58 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/6.629, allocations: 59.48 kB / 2.189 GB, free: 53.58 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/6.629, allocations: 3.75 kB / 2.189 GB, free: 53.58 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001685/6.631, allocations: 0.9476 MB / 2.189 GB, free: 53.53 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/6.631, allocations: 14.73 kB / 2.189 GB, free: 53.53 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.698e-05/6.631, allocations: 24.73 kB / 2.189 GB, free: 53.52 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008969/6.632, allocations: 247.2 kB / 2.19 GB, free: 53.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.924e-05/6.632, allocations: 25.48 kB / 2.19 GB, free: 53.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/6.634, allocations: 104.9 kB / 2.19 GB, free: 53.52 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/6.634, allocations: 56.59 kB / 2.19 GB, free: 53.52 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 121 * 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.0002996/6.634, allocations: 174.9 kB / 2.19 GB, free: 53.41 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/6.634, allocations: 164.9 kB / 2.19 GB, free: 53.33 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/6.636, allocations: 0.9964 MB / 2.191 GB, free: 53.15 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/6.637, allocations: 9.375 kB / 2.191 GB, free: 53.15 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/6.637, allocations: 0 / 2.191 GB, free: 53.15 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001111/6.638, allocations: 0.8368 MB / 2.192 GB, free: 52.78 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.004652/6.642, allocations: 2.138 MB / 2.194 GB, free: 52.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.603e-06/6.642, allocations: 1.094 kB / 2.194 GB, free: 52.33 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007888/6.643, allocations: 138.5 kB / 2.194 GB, free: 52.33 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001594/6.643, allocations: 23.88 kB / 2.194 GB, free: 52.32 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.58e-05/6.643, allocations: 20.34 kB / 2.194 GB, free: 52.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008426/6.644, allocations: 1.293 MB / 2.196 GB, free: 51.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/6.644, allocations: 4.469 kB / 2.196 GB, free: 51.07 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002364/6.647, allocations: 1.298 MB / 2.197 GB, free: 50.7 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/6.648, allocations: 339.5 kB / 2.197 GB, free: 50.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002935/6.648, allocations: 21.81 kB / 2.197 GB, free: 50.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/6.649, allocations: 107.1 kB / 2.197 GB, free: 50.51 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/6.649, allocations: 54.05 kB / 2.197 GB, free: 50.51 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.468e-05/6.649, allocations: 27.25 kB / 2.197 GB, free: 50.51 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002104/6.651, allocations: 1.101 MB / 2.198 GB, free: 50.35 MB / 0.6667 GB Notification: Performance of sort global known variables: time 6.02e-07/6.651, allocations: 0 / 2.198 GB, free: 50.35 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004134/6.656, allocations: 1.004 MB / 2.199 GB, free: 50.31 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.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003053/6.659, allocations: 1.305 MB / 2.201 GB, free: 50.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003219/6.662, allocations: 1.444 MB / 2.202 GB, free: 49.89 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/6.662, allocations: 1.344 kB / 2.202 GB, free: 49.89 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.00088/6.663, allocations: 437.5 kB / 2.203 GB, free: 49.78 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005053/6.668, allocations: 0.7493 MB / 2.203 GB, free: 49.77 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005384/6.673, allocations: 2.336 MB / 2.206 GB, free: 49.14 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002931/6.676, allocations: 1.413 MB / 2.207 GB, free: 64.43 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003417/6.68, allocations: 0.61 MB / 2.208 GB, free: 64.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/6.68, allocations: 116 kB / 2.208 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of SimCode: time 1.924e-06/6.68, allocations: 0 / 2.208 GB, free: 64.39 MB / 0.6823 GB Notification: Performance of Templates: time 0.1006/6.781, allocations: 41.32 MB / 2.248 GB, free: 62.41 MB / 0.6823 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)