Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.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.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") [/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.719/0.719, allocations: 117.9 MB / 133.9 MB, free: 4.512 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.001051/0.001051, allocations: 172.7 kB / 161.7 MB, free: 2.746 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.918/1.918, allocations: 205.4 MB / 394.8 MB, free: 21.14 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.0008966/0.0008966, allocations: 107 kB / 470.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004059/0.000406, allocations: 12 kB / 0.5423 GB, free: 7.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.3998, allocations: 74.53 MB / 0.6151 GB, free: 54.14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7539/1.154, allocations: 369 MB / 0.9755 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/1.154, allocations: 98.94 kB / 0.9755 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.516/2.67, allocations: 396.6 MB / 1.363 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/2.67, allocations: 0 / 1.363 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0002813/2.67, allocations: 47.92 kB / 1.363 GB, free: 137.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.006784/2.677, allocations: 2.2 MB / 1.365 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/2.677, allocations: 12.03 kB / 1.365 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/2.678, allocations: 214.6 kB / 1.365 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005004/2.684, allocations: 2.216 MB / 1.367 GB, free: 133.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/2.684, allocations: 113.9 kB / 1.368 GB, free: 133 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005104/2.684, allocations: 164.2 kB / 1.368 GB, free: 132.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003824/2.688, allocations: 1.894 MB / 1.37 GB, free: 130.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.27e-05/2.688, allocations: 15.86 kB / 1.37 GB, free: 130.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/2.688, allocations: 56 kB / 1.37 GB, free: 130.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-05/2.688, allocations: 42.53 kB / 1.37 GB, free: 130.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/2.691, allocations: 1.715 MB / 1.371 GB, free: 129.1 MB / 0.6355 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.01103/2.702, allocations: 7.497 MB / 1.379 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/2.704, allocations: 1.279 MB / 1.38 GB, free: 120.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006802/2.705, allocations: 0.6145 MB / 1.38 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005664/2.71, allocations: 3.658 MB / 1.384 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/2.71, allocations: 43.5 kB / 1.384 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 2.074e-06/2.71, allocations: 0 / 1.384 GB, free: 115.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83): time 0.002413/2.713, allocations: 1.436 MB / 1.386 GB, free: 114.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.174e-05/2.713, allocations: 60.41 kB / 1.386 GB, free: 114 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002377/2.715, allocations: 1.589 MB / 1.387 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/2.715, allocations: 45.7 kB / 1.387 GB, free: 112.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000536/2.716, allocations: 0.7712 MB / 1.388 GB, free: 111.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002532/2.716, allocations: 299.8 kB / 1.388 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-05/2.716, allocations: 32 kB / 1.388 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001063/2.716, allocations: 365.9 kB / 1.389 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009191/2.717, allocations: 0.6675 MB / 1.389 GB, free: 110.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/2.718, allocations: 1.03 MB / 1.39 GB, free: 109.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/2.72, allocations: 1.592 MB / 1.392 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.257e-06/2.72, allocations: 4 kB / 1.392 GB, free: 107.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002852/2.723, allocations: 1.924 MB / 1.394 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/2.723, allocations: 371.3 kB / 1.394 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/2.723, allocations: 16 kB / 1.394 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/2.723, allocations: 19.94 kB / 1.394 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/2.724, allocations: 351.4 kB / 1.394 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.944e-05/2.724, allocations: 19.94 kB / 1.394 GB, free: 104.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/2.726, allocations: 230 kB / 1.395 GB, free: 104.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/2.726, allocations: 63.98 kB / 1.395 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/2.726, allocations: 4.625 kB / 1.395 GB, free: 104.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002265/2.728, allocations: 1.748 MB / 1.396 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/2.728, allocations: 8 kB / 1.396 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/2.728, allocations: 16 kB / 1.396 GB, free: 102.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/2.73, allocations: 340.2 kB / 1.397 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/2.73, allocations: 27.92 kB / 1.397 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001426/2.731, allocations: 186.4 kB / 1.397 GB, free: 101.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/2.731, allocations: 63.98 kB / 1.397 GB, free: 101.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001279/2.732, allocations: 0.754 MB / 1.398 GB, free: 101.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003954/2.733, allocations: 146.2 kB / 1.398 GB, free: 100.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/2.735, allocations: 1.196 MB / 1.399 GB, free: 99.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/2.735, allocations: 8 kB / 1.399 GB, free: 99.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/2.735, allocations: 3.75 kB / 1.399 GB, free: 99.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001099/2.736, allocations: 1.179 MB / 1.4 GB, free: 98.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002177/2.738, allocations: 1.414 MB / 1.402 GB, free: 96.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/2.738, allocations: 0 / 1.402 GB, free: 96.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/2.739, allocations: 167.8 kB / 1.402 GB, free: 96.81 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/2.739, allocations: 4 kB / 1.402 GB, free: 96.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.909e-05/2.739, allocations: 27.98 kB / 1.402 GB, free: 96.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/2.739, allocations: 4 kB / 1.402 GB, free: 96.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/2.739, allocations: 0 / 1.402 GB, free: 96.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/2.741, allocations: 1.64 MB / 1.403 GB, free: 95.11 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008921/2.742, allocations: 398.8 kB / 1.404 GB, free: 94.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/2.742, allocations: 19.94 kB / 1.404 GB, free: 94.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009769/2.743, allocations: 71.78 kB / 1.404 GB, free: 94.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.445e-05/2.743, allocations: 40.59 kB / 1.404 GB, free: 94.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-05/2.743, allocations: 27.98 kB / 1.404 GB, free: 94.54 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001775/2.745, allocations: 1.214 MB / 1.405 GB, free: 93.33 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.6e-07/2.745, allocations: 3.938 kB / 1.405 GB, free: 93.33 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003119/2.748, allocations: 0.9318 MB / 1.406 GB, free: 92.39 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001066/2.749, allocations: 491.1 kB / 1.407 GB, free: 91.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003252/2.753, allocations: 2.23 MB / 1.409 GB, free: 89.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/2.753, allocations: 0.875 kB / 1.409 GB, free: 89.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005281/2.753, allocations: 475.4 kB / 1.409 GB, free: 89.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/2.757, allocations: 0.8389 MB / 1.41 GB, free: 88.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/2.763, allocations: 4.22 MB / 1.414 GB, free: 84.27 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001259/2.764, allocations: 1.657 MB / 1.416 GB, free: 82.59 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00293/2.767, allocations: 0.8786 MB / 1.417 GB, free: 81.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/2.767, allocations: 135.3 kB / 1.417 GB, free: 81.59 MB / 0.6355 GB Notification: Performance of SimCode: time 1.733e-06/2.767, allocations: 0 / 1.417 GB, free: 81.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.05634/2.824, allocations: 33.94 MB / 1.45 GB, free: 47.95 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)