Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009434/0.0009433, allocations: 179.9 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4551/0.4551, allocations: 90.81 MB / 104.5 MB, free: 9.781 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008448/0.0008449, allocations: 99.14 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.728e-05/3.731e-05, allocations: 4 kB / 0.4896 GB, free: 5.355 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3711, allocations: 72.3 MB / 0.5602 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7334/1.105, allocations: 373.2 MB / 0.9247 GB, free: 9.613 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/1.105, allocations: 101.7 kB / 0.9248 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.502/2.606, allocations: 422.9 MB / 1.338 GB, free: 74.68 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.593e-06/2.607, allocations: 0 / 1.338 GB, free: 74.68 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002777/2.607, allocations: 51.98 kB / 1.338 GB, free: 74.63 MB / 0.6042 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.005202/2.612, allocations: 1.931 MB / 1.34 GB, free: 72.65 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/2.612, allocations: 11.98 kB / 1.34 GB, free: 72.64 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001267/2.613, allocations: 225.5 kB / 1.34 GB, free: 72.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004579/2.618, allocations: 2.124 MB / 1.342 GB, free: 70.24 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/2.618, allocations: 114.7 kB / 1.342 GB, free: 70.12 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004868/2.619, allocations: 160 kB / 1.342 GB, free: 69.97 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/2.622, allocations: 1.861 MB / 1.344 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.813e-05/2.622, allocations: 7.906 kB / 1.344 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001851/2.622, allocations: 56 kB / 1.344 GB, free: 67.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-05/2.623, allocations: 43.92 kB / 1.344 GB, free: 67.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002389/2.625, allocations: 1.658 MB / 1.346 GB, free: 66.27 MB / 0.6042 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.009793/2.635, allocations: 7.532 MB / 1.353 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/2.636, allocations: 1.323 MB / 1.354 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006422/2.637, allocations: 0.6329 MB / 1.355 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005055/2.642, allocations: 3.83 MB / 1.359 GB, free: 52.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/2.642, allocations: 47.23 kB / 1.359 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 2.154e-06/2.642, allocations: 0 / 1.359 GB, free: 52.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.001415/2.643, allocations: 1.045 MB / 1.36 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/2.643, allocations: 64.19 kB / 1.36 GB, free: 51.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/2.645, allocations: 1.508 MB / 1.361 GB, free: 49.65 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.479e-05/2.645, allocations: 49.7 kB / 1.361 GB, free: 49.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004338/2.645, allocations: 0.7652 MB / 1.362 GB, free: 48.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/2.646, allocations: 315.6 kB / 1.363 GB, free: 48.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.816e-05/2.646, allocations: 24 kB / 1.363 GB, free: 48.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.722e-05/2.646, allocations: 361.9 kB / 1.363 GB, free: 48.13 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007513/2.647, allocations: 0.6676 MB / 1.364 GB, free: 47.46 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008728/2.647, allocations: 1.002 MB / 1.365 GB, free: 46.32 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000921/2.648, allocations: 0.8677 MB / 1.365 GB, free: 45.46 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/2.648, allocations: 4 kB / 1.365 GB, free: 45.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002287/2.651, allocations: 1.905 MB / 1.367 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006767/2.651, allocations: 3.527 MB / 1.371 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/2.651, allocations: 12 kB / 1.371 GB, free: 39.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.19e-05/2.651, allocations: 23.89 kB / 1.371 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/2.653, allocations: 343.5 kB / 1.371 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.28e-05/2.653, allocations: 19.94 kB / 1.371 GB, free: 39.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/2.654, allocations: 229.9 kB / 1.371 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/2.654, allocations: 63.98 kB / 1.371 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/2.654, allocations: 5.406 kB / 1.371 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002325/2.657, allocations: 1.76 MB / 1.373 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/2.657, allocations: 8 kB / 1.373 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/2.657, allocations: 16.84 kB / 1.373 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/2.658, allocations: 355.5 kB / 1.373 GB, free: 36.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/2.658, allocations: 19.94 kB / 1.373 GB, free: 36.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/2.659, allocations: 198.4 kB / 1.374 GB, free: 36.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/2.66, allocations: 59.98 kB / 1.374 GB, free: 36.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (176): * Single equations (assignments): 176 * 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.0003576/2.66, allocations: 180.6 kB / 1.374 GB, free: 36.5 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/2.66, allocations: 150.1 kB / 1.374 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001887/2.662, allocations: 1.203 MB / 1.375 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/2.662, allocations: 8 kB / 1.375 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/2.662, allocations: 0 / 1.375 GB, free: 35.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001116/2.663, allocations: 1.236 MB / 1.376 GB, free: 33.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004173/2.668, allocations: 2.871 MB / 1.379 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/2.668, allocations: 4 kB / 1.379 GB, free: 30.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006897/2.668, allocations: 175.8 kB / 1.379 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/2.668, allocations: 4 kB / 1.379 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.024e-05/2.668, allocations: 23.98 kB / 1.379 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.052e-06/2.668, allocations: 4 kB / 1.379 GB, free: 30.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/2.668, allocations: 7.984 kB / 1.379 GB, free: 30.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/2.67, allocations: 1.895 MB / 1.381 GB, free: 28.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007557/2.671, allocations: 434.7 kB / 1.382 GB, free: 28.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003415/2.671, allocations: 16 kB / 1.382 GB, free: 28.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009088/2.672, allocations: 71.78 kB / 1.382 GB, free: 28.16 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/2.673, allocations: 48.7 kB / 1.382 GB, free: 28.12 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.345e-05/2.673, allocations: 39.97 kB / 1.382 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001453/2.674, allocations: 1.245 MB / 1.383 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/2.674, allocations: 0 / 1.383 GB, free: 26.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002693/2.677, allocations: 0.9746 MB / 1.384 GB, free: 25.86 MB / 0.6042 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 () * 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 (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.001098/2.678, allocations: 496.4 kB / 1.384 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003035/2.681, allocations: 2.328 MB / 1.387 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/2.681, allocations: 0 / 1.387 GB, free: 23.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005327/2.681, allocations: 0.4963 MB / 1.387 GB, free: 22.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003688/2.685, allocations: 0.8528 MB / 1.388 GB, free: 21.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005156/2.69, allocations: 3.069 MB / 1.391 GB, free: 18.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/2.692, allocations: 1.711 MB / 1.393 GB, free: 16.86 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.003724/2.695, allocations: 1.304 MB / 1.394 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004055/2.696, allocations: 111.4 kB / 1.394 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of SimCode: time 1.763e-06/2.696, allocations: 0 / 1.394 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of Templates: time 0.4257/3.122, allocations: 37.06 MB / 1.43 GB, free: 117 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)