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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6254/0.6254, allocations: 117.9 MB / 133.9 MB, free: 4.578 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.001017/0.001018, allocations: 184.2 kB / 161.7 MB, free: 2.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 394.8 MB, free: 20.92 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.0008874/0.0008874, allocations: 98.48 kB / 470.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003761/0.0003761, allocations: 12 kB / 0.5423 GB, free: 6.883 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3181, allocations: 74.54 MB / 0.6151 GB, free: 54.15 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.957/1.275, allocations: 415.8 MB / 1.021 GB, free: 231.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/1.275, allocations: 104.7 kB / 1.021 GB, free: 231.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.368/4.644, allocations: 1.12 GB / 2.141 GB, free: 79.19 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.343e-06/4.644, allocations: 0 / 2.141 GB, free: 79.19 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003001/4.644, allocations: 53.94 kB / 2.141 GB, free: 79.18 MB / 0.6511 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.006316/4.651, allocations: 2.568 MB / 2.144 GB, free: 77.31 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/4.651, allocations: 6.906 kB / 2.144 GB, free: 77.31 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/4.653, allocations: 463.5 kB / 2.144 GB, free: 77.13 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006527/4.659, allocations: 2.356 MB / 2.146 GB, free: 75.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/4.659, allocations: 94.45 kB / 2.147 GB, free: 75.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003435/4.66, allocations: 128.2 kB / 2.147 GB, free: 75.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002646/4.662, allocations: 1.392 MB / 2.148 GB, free: 74.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/4.662, allocations: 11.78 kB / 2.148 GB, free: 74.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/4.663, allocations: 46.88 kB / 2.148 GB, free: 74.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/4.663, allocations: 40.77 kB / 2.148 GB, free: 74.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002219/4.665, allocations: 0.999 MB / 2.149 GB, free: 73.92 MB / 0.6511 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.007408/4.672, allocations: 7.213 MB / 2.156 GB, free: 66.49 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001852/4.674, allocations: 1.281 MB / 2.157 GB, free: 65.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006857/4.675, allocations: 349.7 kB / 2.158 GB, free: 64.77 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003504/4.678, allocations: 2.688 MB / 2.16 GB, free: 61.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009414/4.679, allocations: 446.1 kB / 2.161 GB, free: 61.35 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005411/4.68, allocations: 87.02 kB / 2.161 GB, free: 61.27 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=57): time 3.877e-06/4.68, allocations: 4 kB / 2.161 GB, free: 61.27 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57): time 0.002713/4.683, allocations: 1.214 MB / 2.162 GB, free: 60.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/4.683, allocations: 192.4 kB / 2.162 GB, free: 59.79 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001962/4.685, allocations: 1.543 MB / 2.164 GB, free: 58.25 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.263e-05/4.685, allocations: 45.7 kB / 2.164 GB, free: 58.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006003/4.685, allocations: 0.9226 MB / 2.165 GB, free: 57.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/4.686, allocations: 207.5 kB / 2.165 GB, free: 57.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/4.686, allocations: 16 kB / 2.165 GB, free: 57.05 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/4.686, allocations: 351.5 kB / 2.165 GB, free: 56.71 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006984/4.686, allocations: 328.9 kB / 2.166 GB, free: 56.39 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000881/4.687, allocations: 0.8094 MB / 2.166 GB, free: 55.38 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/4.689, allocations: 1.089 MB / 2.167 GB, free: 54.14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/4.689, allocations: 4 kB / 2.167 GB, free: 54.14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002219/4.691, allocations: 1.25 MB / 2.169 GB, free: 52.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002021/4.691, allocations: 488.2 kB / 2.169 GB, free: 52.22 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-05/4.691, allocations: 12 kB / 2.169 GB, free: 52.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/4.691, allocations: 24 kB / 2.169 GB, free: 52.19 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008968/4.692, allocations: 251.6 kB / 2.169 GB, free: 51.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.208e-05/4.692, allocations: 27.92 kB / 2.169 GB, free: 51.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/4.693, allocations: 123.7 kB / 2.17 GB, free: 51.79 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001047/4.694, allocations: 63.97 kB / 2.17 GB, free: 51.73 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.274e-06/4.694, allocations: 7.938 kB / 2.17 GB, free: 51.72 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001741/4.695, allocations: 1.033 MB / 2.171 GB, free: 50.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.438e-05/4.695, allocations: 15.98 kB / 2.171 GB, free: 50.67 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/4.695, allocations: 20 kB / 2.171 GB, free: 50.65 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/4.696, allocations: 247.2 kB / 2.171 GB, free: 50.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/4.696, allocations: 27.88 kB / 2.171 GB, free: 50.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/4.697, allocations: 106.2 kB / 2.171 GB, free: 50.28 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.703e-05/4.697, allocations: 55.98 kB / 2.171 GB, free: 50.23 MB / 0.6511 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 () * Number of clocked 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.0008175/4.698, allocations: 488.7 kB / 2.172 GB, free: 49.74 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/4.699, allocations: 173.8 kB / 2.172 GB, free: 49.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/4.701, allocations: 1.105 MB / 2.173 GB, free: 48.43 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/4.701, allocations: 4 kB / 2.173 GB, free: 48.43 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/4.701, allocations: 3.938 kB / 2.173 GB, free: 48.43 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/4.702, allocations: 0.9515 MB / 2.174 GB, free: 47.4 MB / 0.6511 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.003689/4.706, allocations: 2.237 MB / 2.176 GB, free: 45.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/4.706, allocations: 0 / 2.176 GB, free: 45.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006365/4.707, allocations: 127.8 kB / 2.176 GB, free: 44.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001444/4.707, allocations: 24.84 kB / 2.176 GB, free: 44.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.397e-05/4.707, allocations: 19.98 kB / 2.176 GB, free: 44.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006663/4.707, allocations: 1.302 MB / 2.177 GB, free: 43.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/4.707, allocations: 0 / 2.177 GB, free: 43.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/4.71, allocations: 1.472 MB / 2.179 GB, free: 41.98 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006948/4.711, allocations: 330.6 kB / 2.179 GB, free: 41.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/4.711, allocations: 19.98 kB / 2.179 GB, free: 41.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009708/4.712, allocations: 99.84 kB / 2.179 GB, free: 41.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/4.712, allocations: 52.48 kB / 2.179 GB, free: 41.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/4.712, allocations: 23.98 kB / 2.179 GB, free: 41.45 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001485/4.714, allocations: 1.083 MB / 2.18 GB, free: 40.34 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.4e-07/4.714, allocations: 4 kB / 2.18 GB, free: 40.34 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002874/4.716, allocations: 0.9977 MB / 2.181 GB, free: 39.34 MB / 0.6511 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) * Number of clocked states: 0 () * 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.002261/4.719, allocations: 1.324 MB / 2.183 GB, free: 38.32 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002613/4.721, allocations: 1.539 MB / 2.184 GB, free: 36.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/4.721, allocations: 4.062 kB / 2.184 GB, free: 36.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008631/4.722, allocations: 498.8 kB / 2.185 GB, free: 36.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003157/4.725, allocations: 0.7518 MB / 2.185 GB, free: 35.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004985/4.73, allocations: 3.686 MB / 2.189 GB, free: 31.82 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/4.731, allocations: 1.376 MB / 2.19 GB, free: 30.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001868/4.733, allocations: 436.5 kB / 2.191 GB, free: 30.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003185/4.734, allocations: 139.4 kB / 2.191 GB, free: 29.88 MB / 0.6511 GB Notification: Performance of SimCode: time 4.61e-07/4.734, allocations: 4 kB / 2.191 GB, free: 29.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.05323/4.787, allocations: 36.51 MB / 2.226 GB, free: 9.879 MB / 0.6667 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)