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.8792/0.8792, allocations: 127.4 MB / 134.9 MB, free: 3.477 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.001062/0.001062, allocations: 171.6 kB / 164.6 MB, free: 11.61 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.512/1.512, allocations: 205.2 MB / 399.5 MB, free: 13.53 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.0008818/0.0008815, allocations: 88.59 kB / 476.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/1.998e-05, allocations: 2.531 kB / 0.5466 GB, free: 95.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1575, allocations: 76.76 MB / 0.6215 GB, free: 43.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7128/0.8704, allocations: 369.3 MB / 0.9822 GB, free: 6.961 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.8707, allocations: 98.5 kB / 0.9823 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.408/2.279, allocations: 395.7 MB / 1.369 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/2.279, allocations: 0 / 1.369 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002493/2.279, allocations: 45.62 kB / 1.369 GB, free: 147.7 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.005043/2.284, allocations: 1.919 MB / 1.371 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/2.284, allocations: 12.03 kB / 1.371 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001249/2.286, allocations: 217.5 kB / 1.371 GB, free: 145.6 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004718/2.29, allocations: 2.278 MB / 1.373 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.365e-05/2.291, allocations: 47.84 kB / 1.373 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004768/2.291, allocations: 91.91 kB / 1.373 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002733/2.294, allocations: 1.564 MB / 1.375 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003111/2.297, allocations: 1.617 MB / 1.376 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.257e-05/2.297, allocations: 4 kB / 1.376 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/2.297, allocations: 3.953 kB / 1.376 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-05/2.297, allocations: 47.27 kB / 1.376 GB, free: 139.8 MB / 0.6511 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.01037/2.308, allocations: 7.416 MB / 1.384 GB, free: 132.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/2.309, allocations: 1.222 MB / 1.385 GB, free: 131 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006205/2.31, allocations: 0.5774 MB / 1.385 GB, free: 130.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005579/2.315, allocations: 3.667 MB / 1.389 GB, free: 126.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/2.315, allocations: 48.73 kB / 1.389 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=81): time 2.635e-06/2.315, allocations: 3 kB / 1.389 GB, free: 126.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81): time 0.002484/2.318, allocations: 1.08 MB / 1.39 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.378e-05/2.318, allocations: 60.19 kB / 1.39 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001712/2.319, allocations: 1.23 MB / 1.391 GB, free: 124 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.691e-05/2.32, allocations: 25.7 kB / 1.391 GB, free: 124 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004946/2.32, allocations: 0.7858 MB / 1.392 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/2.32, allocations: 280.5 kB / 1.392 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.899e-05/2.32, allocations: 7.875 kB / 1.392 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.58e-05/2.32, allocations: 361.9 kB / 1.393 GB, free: 122.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007461/2.321, allocations: 0.6285 MB / 1.393 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008753/2.322, allocations: 0.9743 MB / 1.394 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/2.325, allocations: 1.174 MB / 1.395 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/2.325, allocations: 6.938 kB / 1.395 GB, free: 119.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003843/2.329, allocations: 2.111 MB / 1.397 GB, free: 117.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008358/2.329, allocations: 3.753 MB / 1.401 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/2.329, allocations: 8 kB / 1.401 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/2.329, allocations: 20 kB / 1.401 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/2.331, allocations: 355.4 kB / 1.401 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.951e-05/2.331, allocations: 19.94 kB / 1.401 GB, free: 113.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001569/2.332, allocations: 185.9 kB / 1.402 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/2.333, allocations: 63.98 kB / 1.402 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/2.333, allocations: 4.781 kB / 1.402 GB, free: 112.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003578/2.336, allocations: 1.936 MB / 1.404 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/2.336, allocations: 8 kB / 1.404 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/2.336, allocations: 20 kB / 1.404 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/2.337, allocations: 347.5 kB / 1.404 GB, free: 110.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.733e-05/2.337, allocations: 23.89 kB / 1.404 GB, free: 110.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/2.339, allocations: 135.3 kB / 1.404 GB, free: 110.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/2.339, allocations: 59.98 kB / 1.404 GB, free: 110.4 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 () * 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.0002696/2.339, allocations: 148.5 kB / 1.404 GB, free: 110.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003368/2.34, allocations: 126.4 kB / 1.404 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002179/2.342, allocations: 1.139 MB / 1.406 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/2.342, allocations: 12 kB / 1.406 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/2.342, allocations: 7.953 kB / 1.406 GB, free: 108.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/2.343, allocations: 1.236 MB / 1.407 GB, free: 107.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/2.345, allocations: 1.214 MB / 1.408 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/2.345, allocations: 4 kB / 1.408 GB, free: 106.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006642/2.346, allocations: 163.8 kB / 1.408 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.195e-05/2.346, allocations: 4 kB / 1.408 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/2.346, allocations: 11.98 kB / 1.408 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/2.346, allocations: 8 kB / 1.408 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/2.346, allocations: 0 / 1.408 GB, free: 106.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002763/2.349, allocations: 1.726 MB / 1.41 GB, free: 104.4 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008813/2.35, allocations: 371.2 kB / 1.41 GB, free: 104 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003867/2.35, allocations: 8 kB / 1.41 GB, free: 104 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/2.351, allocations: 39.86 kB / 1.41 GB, free: 104 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.928e-05/2.351, allocations: 48.7 kB / 1.41 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/2.351, allocations: 27.98 kB / 1.41 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001153/2.352, allocations: 0.9453 MB / 1.411 GB, free: 103 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/2.352, allocations: 0 / 1.411 GB, free: 103 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002941/2.355, allocations: 0.9232 MB / 1.412 GB, free: 102 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 () * 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.0009488/2.356, allocations: 0.4921 MB / 1.413 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002779/2.359, allocations: 2.142 MB / 1.415 GB, free: 99.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/2.359, allocations: 0.5 kB / 1.415 GB, free: 99.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004634/2.36, allocations: 450.7 kB / 1.415 GB, free: 99.02 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002833/2.362, allocations: 0.6136 MB / 1.416 GB, free: 98.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004545/2.367, allocations: 2.878 MB / 1.419 GB, free: 95.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/2.368, allocations: 1.685 MB / 1.42 GB, free: 93.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003109/2.371, allocations: 1.159 MB / 1.421 GB, free: 92.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/2.372, allocations: 99.41 kB / 1.421 GB, free: 92.62 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/2.372, allocations: 0 / 1.421 GB, free: 92.62 MB / 0.6511 GB Notification: Performance of Templates: time 0.03934/2.411, allocations: 27.38 MB / 1.448 GB, free: 65.55 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)