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.7475/0.7475, allocations: 127.3 MB / 139.8 MB, free: 15.48 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.001125/0.001126, allocations: 188.7 kB / 169.7 MB, free: 1.734 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.947/1.947, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.001137/0.001137, allocations: 81.31 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.005e-05/4.016e-05, allocations: 0 / 0.5532 GB, free: 54.85 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2014, allocations: 76.75 MB / 0.6281 GB, free: 10.04 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.371/1.573, allocations: 409.6 MB / 1.028 GB, free: 106 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002481/1.573, allocations: 97.12 kB / 1.028 GB, free: 105.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.301/5.874, allocations: 1.092 GB / 2.12 GB, free: 44.35 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.503e-06/5.874, allocations: 0 / 2.12 GB, free: 44.35 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.00024/5.874, allocations: 58.34 kB / 2.12 GB, free: 44.3 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.004752/5.879, allocations: 2.198 MB / 2.122 GB, free: 42.06 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/5.879, allocations: 8.031 kB / 2.122 GB, free: 42.05 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001609/5.881, allocations: 376.9 kB / 2.123 GB, free: 41.68 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01156/5.892, allocations: 4.849 MB / 2.127 GB, free: 36.92 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/5.893, allocations: 103 kB / 2.127 GB, free: 36.82 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/5.893, allocations: 140 kB / 2.127 GB, free: 36.68 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002917/5.896, allocations: 1.428 MB / 2.129 GB, free: 35.15 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.899e-05/5.896, allocations: 3.938 kB / 2.129 GB, free: 35.14 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/5.896, allocations: 52 kB / 2.129 GB, free: 35.09 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/5.896, allocations: 40 kB / 2.129 GB, free: 35.05 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/5.898, allocations: 0.9502 MB / 2.13 GB, free: 34.1 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.009035/5.907, allocations: 7.539 MB / 2.137 GB, free: 26.06 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/5.908, allocations: 1.188 MB / 2.138 GB, free: 24.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004641/5.909, allocations: 327.5 kB / 2.139 GB, free: 24.43 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003238/5.912, allocations: 1.989 MB / 2.141 GB, free: 22.27 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007991/5.913, allocations: 437.8 kB / 2.141 GB, free: 21.82 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007338/5.914, allocations: 88.27 kB / 2.141 GB, free: 21.73 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=65): time 3.086e-06/5.914, allocations: 0 / 2.141 GB, free: 21.73 MB / 0.6667 GB Notification: Performance of matching and sorting (n=65): time 0.001631/5.915, allocations: 0.8308 MB / 2.142 GB, free: 20.88 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.102e-05/5.915, allocations: 188.5 kB / 2.142 GB, free: 20.65 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001784/5.917, allocations: 1.318 MB / 2.143 GB, free: 19.34 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/5.917, allocations: 45.7 kB / 2.143 GB, free: 19.29 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007252/5.918, allocations: 0.9362 MB / 2.144 GB, free: 18.34 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/5.918, allocations: 226.5 kB / 2.145 GB, free: 18.12 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.632e-05/5.918, allocations: 23.94 kB / 2.145 GB, free: 18.1 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001036/5.918, allocations: 349.9 kB / 2.145 GB, free: 17.75 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004271/5.919, allocations: 294.2 kB / 2.145 GB, free: 17.47 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006651/5.919, allocations: 0.7031 MB / 2.146 GB, free: 16.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/5.92, allocations: 426 kB / 2.146 GB, free: 16.15 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/5.92, allocations: 4 kB / 2.146 GB, free: 16.15 MB / 0.6667 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.001633/5.922, allocations: 1.152 MB / 2.147 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001106/5.923, allocations: 4.296 MB / 2.152 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/5.923, allocations: 15.95 kB / 2.152 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.169e-05/5.923, allocations: 16 kB / 2.152 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/5.924, allocations: 263.6 kB / 2.152 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.147e-05/5.924, allocations: 23.92 kB / 2.152 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/5.925, allocations: 133.7 kB / 2.152 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/5.925, allocations: 51.98 kB / 2.152 GB, free: 9.836 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/5.925, allocations: 4 kB / 2.152 GB, free: 9.832 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001333/5.927, allocations: 0.9646 MB / 2.153 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/5.927, allocations: 12 kB / 2.153 GB, free: 8.855 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/5.927, allocations: 20 kB / 2.153 GB, free: 8.836 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/5.928, allocations: 252.1 kB / 2.153 GB, free: 8.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/5.928, allocations: 23.92 kB / 2.153 GB, free: 8.566 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/5.929, allocations: 115.8 kB / 2.154 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/5.929, allocations: 55.98 kB / 2.154 GB, free: 8.398 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 () * 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.0002437/5.929, allocations: 182.6 kB / 2.154 GB, free: 8.215 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/5.93, allocations: 165.9 kB / 2.154 GB, free: 8.051 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/5.932, allocations: 1.022 MB / 2.155 GB, free: 7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/5.932, allocations: 11.94 kB / 2.155 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/5.932, allocations: 0 / 2.155 GB, free: 6.988 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009261/5.933, allocations: 0.7381 MB / 2.156 GB, free: 6.215 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.003568/5.936, allocations: 2.252 MB / 2.158 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.66e-06/5.936, allocations: 0 / 2.158 GB, free: 3.906 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/5.937, allocations: 151.6 kB / 2.158 GB, free: 3.762 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001669/5.937, allocations: 24.84 kB / 2.158 GB, free: 3.734 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.493e-05/5.937, allocations: 27.92 kB / 2.158 GB, free: 3.707 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008241/5.938, allocations: 1.299 MB / 2.159 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/5.938, allocations: 0 / 2.159 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/5.94, allocations: 1.374 MB / 2.161 GB, free: 0.8633 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007274/5.94, allocations: 342.8 kB / 2.161 GB, free: 0.5078 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001698/5.941, allocations: 15.94 kB / 2.161 GB, free: 0.4961 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000963/5.942, allocations: 119.9 kB / 2.161 GB, free: 388 kB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/5.942, allocations: 52.64 kB / 2.161 GB, free: 336 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.217e-05/5.942, allocations: 35.97 kB / 2.161 GB, free: 300 kB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.5763/6.518, allocations: 1.001 MB / 2.162 GB, free: 64.32 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.11e-07/6.518, allocations: 0 / 2.162 GB, free: 64.32 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.005904/6.524, allocations: 1.109 MB / 2.163 GB, free: 64.32 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 65 * 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.00324/6.527, allocations: 1.168 MB / 2.164 GB, free: 64.15 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003334/6.531, allocations: 1.503 MB / 2.166 GB, free: 63.95 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/6.531, allocations: 3.828 kB / 2.166 GB, free: 63.95 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009366/6.532, allocations: 470.3 kB / 2.166 GB, free: 63.84 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005024/6.537, allocations: 0.7779 MB / 2.167 GB, free: 63.84 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005042/6.542, allocations: 2.375 MB / 2.169 GB, free: 63.19 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001279/6.543, allocations: 1.455 MB / 2.171 GB, free: 62.46 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.003139/6.546, allocations: 0.5568 MB / 2.171 GB, free: 62.44 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003069/6.546, allocations: 112.2 kB / 2.171 GB, free: 62.44 MB / 0.6667 GB Notification: Performance of SimCode: time 1.342e-06/6.547, allocations: 2.312 kB / 2.171 GB, free: 62.44 MB / 0.6667 GB Notification: Performance of Templates: time 0.08613/6.633, allocations: 42.14 MB / 2.213 GB, free: 60.64 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)