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.7275/0.7275, allocations: 128.7 MB / 144.5 MB, free: 1.418 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.001164/0.001164, allocations: 186.3 kB / 174.2 MB, free: 5.938 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.413/1.413, allocations: 205 MB / 408.9 MB, free: 9.715 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.00104/0.00104, allocations: 109.8 kB / 485.1 MB, free: 13.56 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009736/0.0009736, allocations: 50.56 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1376, allocations: 75.48 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02403/0.1617, allocations: 33.46 MB / 0.6644 GB, free: 15.43 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01111/0.1728, allocations: 7.887 MB / 0.6721 GB, free: 7.52 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.1741, allocations: 27.81 kB / 0.6721 GB, free: 7.492 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.1752, allocations: 334.1 kB / 0.6724 GB, free: 7.164 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00259/0.1779, allocations: 0.9137 MB / 0.6733 GB, free: 6.246 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.1803, allocations: 0.854 MB / 0.6741 GB, free: 5.395 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.005422/0.1858, allocations: 6.089 MB / 0.6801 GB, free: 15.29 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002245/0.188, allocations: 1.822 MB / 0.6819 GB, free: 13.42 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002326/0.1904, allocations: 1.385 MB / 0.6832 GB, free: 12.03 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001716/0.1921, allocations: 1.365 MB / 0.6846 GB, free: 10.66 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001951/0.1923, allocations: 104 kB / 0.6847 GB, free: 10.56 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.1946, allocations: 1.158 MB / 0.6858 GB, free: 9.398 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003881/0.195, allocations: 398.4 kB / 0.6862 GB, free: 9.008 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.1962, allocations: 0.9873 MB / 0.6871 GB, free: 8.016 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003816/0.2, allocations: 3.646 MB / 0.6907 GB, free: 4.359 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.2, allocations: 0 / 0.6907 GB, free: 4.359 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2, allocations: 7.938 kB / 0.6907 GB, free: 4.352 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.189e-05/0.2001, allocations: 0 / 0.6907 GB, free: 4.352 MB / 474.7 MB 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.004761/0.2048, allocations: 2.522 MB / 0.6932 GB, free: 1.773 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.2049, allocations: 12.03 kB / 0.6932 GB, free: 1.762 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007111/0.2056, allocations: 230.5 kB / 0.6934 GB, free: 1.535 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003385/0.209, allocations: 1.657 MB / 0.695 GB, free: 15.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-05/0.2091, allocations: 114.7 kB / 0.6951 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002751/0.2094, allocations: 148 kB / 0.6953 GB, free: 15.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004251/0.2137, allocations: 1.994 MB / 0.6972 GB, free: 13.51 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.2138, allocations: 7.938 kB / 0.6972 GB, free: 13.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.2139, allocations: 59.98 kB / 0.6973 GB, free: 13.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.658e-05/0.214, allocations: 39.98 kB / 0.6973 GB, free: 13.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003973/0.218, allocations: 1.813 MB / 0.6991 GB, free: 11.58 MB / 490.7 MB 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.01251/0.2305, allocations: 7.607 MB / 0.7065 GB, free: 3.652 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002071/0.2326, allocations: 1.372 MB / 0.7078 GB, free: 2.27 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008459/0.2335, allocations: 0.6425 MB / 0.7085 GB, free: 1.629 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00668/0.2402, allocations: 3.753 MB / 0.7121 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.2402, allocations: 43.56 kB / 0.7122 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=86): time 2.445e-06/0.2402, allocations: 0 / 0.7122 GB, free: 13.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=86): time 0.003105/0.2434, allocations: 1.525 MB / 0.7137 GB, free: 11.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.2434, allocations: 64.41 kB / 0.7137 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.246, allocations: 1.586 MB / 0.7153 GB, free: 10.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.2462, allocations: 45.7 kB / 0.7153 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007213/0.2469, allocations: 0.7612 MB / 0.7161 GB, free: 9.496 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003235/0.2472, allocations: 307.6 kB / 0.7164 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004835/0.2477, allocations: 295.4 kB / 0.7166 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.2479, allocations: 361.9 kB / 0.717 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.2489, allocations: 0.6995 MB / 0.7177 GB, free: 7.836 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001302/0.2503, allocations: 1.03 MB / 0.7187 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002226/0.2525, allocations: 1.63 MB / 0.7203 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.2525, allocations: 3.938 kB / 0.7203 GB, free: 4.906 MB / 0.4948 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003198/0.2557, allocations: 1.959 MB / 0.7222 GB, free: 2.938 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.2558, allocations: 9.875 kB / 0.7222 GB, free: 2.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/0.2558, allocations: 12 kB / 0.7222 GB, free: 2.918 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.57e-05/0.2558, allocations: 16 kB / 0.7222 GB, free: 2.902 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.257, allocations: 339.5 kB / 0.7225 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.694e-05/0.2571, allocations: 27.91 kB / 0.7226 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001383/0.2585, allocations: 214.4 kB / 0.7228 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.2586, allocations: 63.92 kB / 0.7228 GB, free: 2.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001786/0.2604, allocations: 1.269 MB / 0.7241 GB, free: 0.9961 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001226/0.2617, allocations: 1.022 MB / 0.7251 GB, free: 15.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001992/0.2637, allocations: 1.618 MB / 0.7267 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.115e-05/0.2637, allocations: 3.938 kB / 0.7267 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.002985/0.2667, allocations: 1.944 MB / 0.7286 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.2667, allocations: 8 kB / 0.7286 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.2667, allocations: 8 kB / 0.7286 GB, free: 12.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.2668, allocations: 16 kB / 0.7286 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.2679, allocations: 339.4 kB / 0.7289 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.89e-05/0.268, allocations: 23.92 kB / 0.7289 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/0.2692, allocations: 162.9 kB / 0.7291 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.2694, allocations: 59.98 kB / 0.7291 GB, free: 11.53 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003119/0.2697, allocations: 259.8 kB / 0.7294 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003947/0.2701, allocations: 142.2 kB / 0.7295 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002173/0.2723, allocations: 1.241 MB / 0.7307 GB, free: 9.875 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/0.2723, allocations: 8 kB / 0.7307 GB, free: 9.867 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.2723, allocations: 4 kB / 0.7308 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0015/0.2738, allocations: 1.292 MB / 0.732 GB, free: 8.484 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004204/0.278, allocations: 2.681 MB / 0.7346 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.2781, allocations: 0 / 0.7346 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007863/0.2788, allocations: 183.8 kB / 0.7348 GB, free: 5.551 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-05/0.2789, allocations: 4.094 kB / 0.7348 GB, free: 5.547 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.966e-05/0.2789, allocations: 27.98 kB / 0.7348 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.279, allocations: 4 kB / 0.7348 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.279, allocations: 3.938 kB / 0.7348 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.302/0.581, allocations: 13.66 MB / 0.7482 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006313/0.5817, allocations: 393.3 kB / 0.7486 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001752/0.5818, allocations: 24.77 kB / 0.7486 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/0.5826, allocations: 67 kB / 0.7486 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.5827, allocations: 54 kB / 0.7487 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.597e-05/0.5828, allocations: 26.33 kB / 0.7487 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001557/0.5844, allocations: 1.185 MB / 0.7499 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5844, allocations: 0 / 0.7499 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00353/0.5879, allocations: 1.406 MB / 0.7513 GB, free: 100.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (88): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008026/0.5887, allocations: 357 kB / 0.7516 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003479/0.5922, allocations: 2.314 MB / 0.7539 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.5922, allocations: 1.25 kB / 0.7539 GB, free: 99.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0007538/0.593, allocations: 0.5271 MB / 0.7544 GB, free: 99.64 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003695/0.5967, allocations: 0.8671 MB / 0.7552 GB, free: 99.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005942/0.6026, allocations: 4.91 MB / 0.76 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001143/0.6038, allocations: 1.693 MB / 0.7617 GB, free: 95.98 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003256/0.6071, allocations: 0.9637 MB / 0.7626 GB, free: 95.88 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005821/0.6077, allocations: 146.8 kB / 0.7627 GB, free: 95.86 MB / 0.5105 GB Notification: Performance of SimCode: time 1.082e-06/0.6077, allocations: 0 / 0.7627 GB, free: 95.86 MB / 0.5105 GB Notification: Performance of Templates: time 0.05005/0.6577, allocations: 42 MB / 0.8038 GB, free: 58.45 MB / 0.5105 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)