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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.00095/0.0009501, allocations: 172.2 kB / 16.76 MB, free: 4.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4555/0.4555, allocations: 86.27 MB / 103.8 MB, free: 14.53 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.373/1.373, allocations: 223.3 MB / 348.4 MB, free: 4.887 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008392/0.0008393, allocations: 96.66 kB / 420.2 MB, free: 9.625 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004404, allocations: 12 kB / 0.4901 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3576, allocations: 71.01 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.695/1.053, allocations: 371.5 MB / 0.9222 GB, free: 6.199 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/1.053, allocations: 99.16 kB / 0.9223 GB, free: 6.145 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.396/2.449, allocations: 417.5 MB / 1.33 GB, free: 86.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.502e-06/2.449, allocations: 0 / 1.33 GB, free: 86.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000289/2.449, allocations: 55.92 kB / 1.33 GB, free: 86.46 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.00761/2.457, allocations: 2.207 MB / 1.332 GB, free: 84.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/2.457, allocations: 8.031 kB / 1.332 GB, free: 84.19 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/2.458, allocations: 222.5 kB / 1.332 GB, free: 83.97 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004605/2.463, allocations: 2.037 MB / 1.334 GB, free: 81.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001034/2.463, allocations: 119.1 kB / 1.335 GB, free: 81.76 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000534/2.464, allocations: 156.3 kB / 1.335 GB, free: 81.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002708/2.466, allocations: 1.893 MB / 1.337 GB, free: 79.65 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/2.466, allocations: 11.92 kB / 1.337 GB, free: 79.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/2.466, allocations: 60 kB / 1.337 GB, free: 79.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-05/2.466, allocations: 39.94 kB / 1.337 GB, free: 79.54 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002172/2.469, allocations: 1.685 MB / 1.338 GB, free: 77.85 MB / 0.6042 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.009581/2.478, allocations: 7.468 MB / 1.346 GB, free: 70.09 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/2.48, allocations: 1.314 MB / 1.347 GB, free: 68.78 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006741/2.48, allocations: 0.6323 MB / 1.348 GB, free: 68.14 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005247/2.486, allocations: 3.729 MB / 1.351 GB, free: 64.1 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/2.486, allocations: 47.56 kB / 1.351 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=86): time 3.557e-06/2.486, allocations: 3.938 kB / 1.351 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86): time 0.001931/2.488, allocations: 1.455 MB / 1.353 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/2.488, allocations: 60.41 kB / 1.353 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/2.489, allocations: 1.582 MB / 1.354 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.597e-05/2.49, allocations: 49.7 kB / 1.354 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/2.49, allocations: 0.7611 MB / 1.355 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001994/2.49, allocations: 307.6 kB / 1.355 GB, free: 59.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/2.49, allocations: 36 kB / 1.355 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.239e-05/2.49, allocations: 361.9 kB / 1.356 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008216/2.491, allocations: 0.6714 MB / 1.356 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008926/2.492, allocations: 1.018 MB / 1.357 GB, free: 57.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001527/2.494, allocations: 1.597 MB / 1.359 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/2.494, allocations: 0 / 1.359 GB, free: 55.85 MB / 0.6042 GB Notification: Performance of matching and sorting (n=176) (initialization): time 0.002474/2.496, allocations: 1.92 MB / 1.361 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/2.496, allocations: 360.2 kB / 1.361 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/2.496, allocations: 8 kB / 1.361 GB, free: 53.44 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/2.496, allocations: 16 kB / 1.361 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/2.497, allocations: 347.4 kB / 1.361 GB, free: 53.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.433e-05/2.497, allocations: 27.98 kB / 1.362 GB, free: 53.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/2.499, allocations: 222 kB / 1.362 GB, free: 52.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/2.499, allocations: 66.97 kB / 1.362 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/2.499, allocations: 4 kB / 1.362 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002056/2.501, allocations: 1.768 MB / 1.364 GB, free: 51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/2.501, allocations: 12.03 kB / 1.364 GB, free: 50.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/2.501, allocations: 16 kB / 1.364 GB, free: 50.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/2.502, allocations: 335.5 kB / 1.364 GB, free: 50.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/2.502, allocations: 23.92 kB / 1.364 GB, free: 50.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/2.503, allocations: 190.5 kB / 1.364 GB, free: 50.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000102/2.503, allocations: 59.98 kB / 1.364 GB, free: 50.38 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 () * Number of clocked 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.001027/2.504, allocations: 0.7556 MB / 1.365 GB, free: 49.61 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002568/2.505, allocations: 146.2 kB / 1.365 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/2.507, allocations: 1.208 MB / 1.366 GB, free: 48.24 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/2.507, allocations: 12 kB / 1.366 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/2.507, allocations: 0 / 1.366 GB, free: 48.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/2.508, allocations: 1.253 MB / 1.367 GB, free: 46.89 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/2.511, allocations: 2.864 MB / 1.37 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/2.511, allocations: 0 / 1.37 GB, free: 43.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/2.512, allocations: 179.8 kB / 1.37 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/2.512, allocations: 7.938 kB / 1.37 GB, free: 43.77 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.964e-05/2.512, allocations: 23.98 kB / 1.37 GB, free: 43.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/2.512, allocations: 7.875 kB / 1.37 GB, free: 43.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/2.512, allocations: 0 / 1.37 GB, free: 43.74 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/2.514, allocations: 1.864 MB / 1.372 GB, free: 41.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006441/2.515, allocations: 418.7 kB / 1.373 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/2.515, allocations: 20 kB / 1.373 GB, free: 41.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/2.516, allocations: 67.78 kB / 1.373 GB, free: 41.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/2.516, allocations: 56.86 kB / 1.373 GB, free: 41.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/2.516, allocations: 39.91 kB / 1.373 GB, free: 41.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001297/2.517, allocations: 1.182 MB / 1.374 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/2.517, allocations: 0 / 1.374 GB, free: 40.05 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002185/2.519, allocations: 0.9513 MB / 1.375 GB, free: 39.1 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 () * 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 (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.0007989/2.52, allocations: 473.8 kB / 1.375 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002696/2.523, allocations: 2.294 MB / 1.378 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/2.523, allocations: 0 / 1.378 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005126/2.523, allocations: 0.5133 MB / 1.378 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003452/2.527, allocations: 0.8523 MB / 1.379 GB, free: 35.01 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004462/2.531, allocations: 4.291 MB / 1.383 GB, free: 30.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008271/2.532, allocations: 1.661 MB / 1.385 GB, free: 29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002396/2.534, allocations: 0.9142 MB / 1.386 GB, free: 28.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/2.535, allocations: 131.4 kB / 1.386 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of SimCode: time 8.31e-07/2.535, allocations: 0 / 1.386 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.3341/2.869, allocations: 34.65 MB / 1.42 GB, free: 127.2 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)