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.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.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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7784/0.7784, allocations: 128.8 MB / 143.7 MB, free: 2.316 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.001152/0.001153, allocations: 180.4 kB / 173.8 MB, free: 6.125 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.878/1.878, allocations: 205.4 MB / 409 MB, free: 10.52 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.000914/0.000914, allocations: 102.5 kB / 486.6 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003415/0.0003416, allocations: 10.38 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1791, allocations: 76.76 MB / 0.6353 GB, free: 30.59 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.323, allocations: 370 MB / 0.9967 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.323, allocations: 104.6 kB / 0.9968 GB, free: 173.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.125/2.449, allocations: 399 MB / 1.386 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.764e-06/2.449, allocations: 0 / 1.386 GB, free: 104.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000194/2.449, allocations: 44 kB / 1.386 GB, free: 104.5 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: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.005772/2.455, allocations: 2.23 MB / 1.389 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/2.455, allocations: 8.031 kB / 1.389 GB, free: 102.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009675/2.456, allocations: 225.5 kB / 1.389 GB, free: 102 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004745/2.461, allocations: 2.286 MB / 1.391 GB, free: 99.61 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.923e-05/2.461, allocations: 115.4 kB / 1.391 GB, free: 99.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002838/2.461, allocations: 163.9 kB / 1.391 GB, free: 99.34 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/2.464, allocations: 1.878 MB / 1.393 GB, free: 97.39 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.065e-05/2.464, allocations: 11.91 kB / 1.393 GB, free: 97.38 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/2.464, allocations: 55.95 kB / 1.393 GB, free: 97.33 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.625e-05/2.464, allocations: 40 kB / 1.393 GB, free: 97.29 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002586/2.467, allocations: 1.712 MB / 1.395 GB, free: 95.57 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.01077/2.478, allocations: 7.575 MB / 1.402 GB, free: 87.69 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001489/2.479, allocations: 1.284 MB / 1.404 GB, free: 86.39 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006194/2.485, allocations: 3.694 MB / 1.407 GB, free: 82.39 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/2.486, allocations: 42.69 kB / 1.407 GB, free: 82.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=83): time 3.497e-06/2.486, allocations: 0 / 1.407 GB, free: 82.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=83): time 0.002495/2.488, allocations: 1.447 MB / 1.409 GB, free: 80.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/2.488, allocations: 60.41 kB / 1.409 GB, free: 80.82 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002299/2.49, allocations: 1.504 MB / 1.41 GB, free: 79.31 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/2.491, allocations: 45.7 kB / 1.41 GB, free: 79.26 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/2.491, allocations: 0.7766 MB / 1.411 GB, free: 78.48 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/2.491, allocations: 295.8 kB / 1.411 GB, free: 78.18 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.778e-05/2.491, allocations: 28 kB / 1.411 GB, free: 78.16 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001088/2.491, allocations: 361.9 kB / 1.412 GB, free: 77.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008371/2.492, allocations: 0.6714 MB / 1.412 GB, free: 77.12 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009513/2.493, allocations: 1.018 MB / 1.413 GB, free: 75.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/2.494, allocations: 0.8566 MB / 1.414 GB, free: 75.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.134e-06/2.494, allocations: 7.938 kB / 1.414 GB, free: 75.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002642/2.497, allocations: 1.928 MB / 1.416 GB, free: 73.16 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007765/2.498, allocations: 3.791 MB / 1.42 GB, free: 69.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/2.498, allocations: 8 kB / 1.42 GB, free: 69.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.756e-05/2.498, allocations: 20 kB / 1.42 GB, free: 69.08 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/2.499, allocations: 355.5 kB / 1.42 GB, free: 68.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/2.499, allocations: 23.92 kB / 1.42 GB, free: 68.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/2.501, allocations: 225.9 kB / 1.42 GB, free: 68.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/2.501, allocations: 67.97 kB / 1.42 GB, free: 68.42 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/2.501, allocations: 4 kB / 1.42 GB, free: 68.42 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002126/2.503, allocations: 1.752 MB / 1.422 GB, free: 66.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/2.503, allocations: 11.94 kB / 1.422 GB, free: 66.65 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/2.503, allocations: 20 kB / 1.422 GB, free: 66.63 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/2.504, allocations: 347.5 kB / 1.422 GB, free: 66.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.74e-05/2.504, allocations: 23.89 kB / 1.423 GB, free: 66.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/2.506, allocations: 186.8 kB / 1.423 GB, free: 66.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/2.506, allocations: 63.98 kB / 1.423 GB, free: 66.02 MB / 0.6511 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.001174/2.507, allocations: 0.7386 MB / 1.423 GB, free: 65.27 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003323/2.507, allocations: 154.1 kB / 1.424 GB, free: 65.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/2.509, allocations: 1.193 MB / 1.425 GB, free: 63.91 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/2.509, allocations: 12 kB / 1.425 GB, free: 63.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/2.509, allocations: 3.953 kB / 1.425 GB, free: 63.89 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/2.51, allocations: 1.175 MB / 1.426 GB, free: 62.63 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/2.512, allocations: 1.427 MB / 1.427 GB, free: 61.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/2.512, allocations: 0 / 1.427 GB, free: 61.14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007074/2.512, allocations: 171.8 kB / 1.428 GB, free: 60.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/2.513, allocations: 4 kB / 1.428 GB, free: 60.97 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.023e-05/2.513, allocations: 19.75 kB / 1.428 GB, free: 60.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/2.513, allocations: 4 kB / 1.428 GB, free: 60.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/2.513, allocations: 0 / 1.428 GB, free: 60.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/2.514, allocations: 1.648 MB / 1.429 GB, free: 59.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008416/2.515, allocations: 406.9 kB / 1.43 GB, free: 58.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/2.515, allocations: 20 kB / 1.43 GB, free: 58.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007983/2.516, allocations: 71.72 kB / 1.43 GB, free: 58.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.387e-05/2.516, allocations: 44.59 kB / 1.43 GB, free: 58.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/2.516, allocations: 23.98 kB / 1.43 GB, free: 58.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001571/2.518, allocations: 1.288 MB / 1.431 GB, free: 57.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.7e-07/2.518, allocations: 0 / 1.431 GB, free: 57.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002738/2.521, allocations: 0.9513 MB / 1.432 GB, free: 56.47 MB / 0.6511 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.0009444/2.522, allocations: 0.4963 MB / 1.432 GB, free: 55.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002903/2.525, allocations: 2.234 MB / 1.435 GB, free: 53.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/2.525, allocations: 0 / 1.435 GB, free: 53.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/2.525, allocations: 468.1 kB / 1.435 GB, free: 53.29 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003611/2.529, allocations: 0.8378 MB / 1.436 GB, free: 52.47 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005224/2.534, allocations: 4.203 MB / 1.44 GB, free: 48.25 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/2.535, allocations: 1.692 MB / 1.442 GB, free: 46.52 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002786/2.538, allocations: 0.8913 MB / 1.442 GB, free: 45.63 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003904/2.538, allocations: 135.3 kB / 1.443 GB, free: 45.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.352e-06/2.538, allocations: 0 / 1.443 GB, free: 45.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.04733/2.586, allocations: 34.01 MB / 1.476 GB, free: 11.7 MB / 0.6511 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)