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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 105.7 kB / 16.4 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 193.2 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8316/0.8316, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 67.98 kB / 0.5577 GB, free: 32.37 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1844/0.1859, allocations: 76.18 MB / 0.6321 GB, free: 4.547 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03434/0.2203, allocations: 28.54 MB / 0.6599 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01309/0.2335, allocations: 7.906 MB / 0.6677 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002037/0.2355, allocations: 39.81 kB / 0.6677 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001565/0.2372, allocations: 417.2 kB / 0.6681 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.241, allocations: 1.065 MB / 0.6691 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003793/0.2448, allocations: 1.076 MB / 0.6702 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.007932/0.2527, allocations: 4.933 MB / 0.675 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003959/0.2567, allocations: 2.281 MB / 0.6772 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005251/0.262, allocations: 1.828 MB / 0.679 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003682/0.2657, allocations: 1.459 MB / 0.6804 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001003/0.2667, allocations: 232 kB / 0.6807 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003916/0.2707, allocations: 1.322 MB / 0.682 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001104/0.2718, allocations: 0.5452 MB / 0.6825 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002959/0.2748, allocations: 1.155 MB / 0.6836 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006317/0.2811, allocations: 3.677 MB / 0.6872 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.2811, allocations: 3.938 kB / 0.6872 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.397e-06/0.2811, allocations: 7.938 kB / 0.6872 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001223/0.2813, allocations: 3.984 kB / 0.6872 GB, free: 11.86 MB / 0.5294 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.007791/0.2891, allocations: 2.555 MB / 0.6897 GB, free: 9.25 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.2891, allocations: 8.031 kB / 0.6897 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001337/0.2905, allocations: 238.5 kB / 0.69 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004023/0.2945, allocations: 1.796 MB / 0.6917 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.2947, allocations: 118.7 kB / 0.6918 GB, free: 7.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004709/0.2951, allocations: 156 kB / 0.692 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003936/0.2991, allocations: 1.997 MB / 0.6939 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.05e-05/0.2992, allocations: 0 / 0.6939 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001786/0.2993, allocations: 60 kB / 0.694 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.888e-05/0.2994, allocations: 40 kB / 0.694 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003137/0.3025, allocations: 1.798 MB / 0.6958 GB, free: 2.922 MB / 0.5294 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.0133/0.3159, allocations: 7.602 MB / 0.7032 GB, free: 11.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.3179, allocations: 1.445 MB / 0.7046 GB, free: 9.539 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000968/0.3189, allocations: 0.6646 MB / 0.7053 GB, free: 8.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007253/0.3262, allocations: 3.862 MB / 0.709 GB, free: 4.691 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.746e-05/0.3263, allocations: 43.56 kB / 0.7091 GB, free: 4.641 MB / 0.545 GB Notification: Performance of pre-optimization done (n=88): time 4.649e-06/0.3263, allocations: 3.984 kB / 0.7091 GB, free: 4.637 MB / 0.545 GB Notification: Performance of matching and sorting (n=88): time 0.003159/0.3295, allocations: 1.51 MB / 0.7105 GB, free: 3.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.3295, allocations: 60.41 kB / 0.7106 GB, free: 3.051 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002908/0.3324, allocations: 1.653 MB / 0.7122 GB, free: 1.387 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.3326, allocations: 45.7 kB / 0.7123 GB, free: 1.336 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008767/0.3335, allocations: 0.7536 MB / 0.713 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003777/0.3339, allocations: 311.5 kB / 0.7133 GB, free: 272 kB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005609/0.3345, allocations: 295.5 kB / 0.7136 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001827/0.3347, allocations: 361.9 kB / 0.7139 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001084/0.3358, allocations: 0.6956 MB / 0.7146 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.3372, allocations: 1.02 MB / 0.7156 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002348/0.3396, allocations: 1.624 MB / 0.7172 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.3396, allocations: 3.938 kB / 0.7172 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003545/0.3431, allocations: 1.951 MB / 0.7191 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.3432, allocations: 8 kB / 0.7191 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.3432, allocations: 12 kB / 0.7191 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.082e-05/0.3433, allocations: 19.98 kB / 0.7191 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.3446, allocations: 331.5 kB / 0.7194 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-05/0.3446, allocations: 24.45 kB / 0.7195 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001674/0.3463, allocations: 202.1 kB / 0.7197 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.3465, allocations: 59.92 kB / 0.7197 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00213/0.3486, allocations: 1.284 MB / 0.721 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001309/0.3499, allocations: 1.028 MB / 0.722 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002232/0.3522, allocations: 1.62 MB / 0.7236 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.648e-06/0.3522, allocations: 0 / 0.7236 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.00352/0.3557, allocations: 1.952 MB / 0.7255 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.3558, allocations: 8 kB / 0.7255 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/0.3558, allocations: 8 kB / 0.7255 GB, free: 3.242 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.3558, allocations: 16 kB / 0.7255 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.3571, allocations: 335.5 kB / 0.7258 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.606e-05/0.3571, allocations: 23.92 kB / 0.7258 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.3587, allocations: 150.9 kB / 0.726 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.3588, allocations: 63.97 kB / 0.726 GB, free: 2.664 MB / 0.5606 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 (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.0004231/0.3593, allocations: 267.8 kB / 0.7263 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005583/0.3598, allocations: 150.1 kB / 0.7264 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.3621, allocations: 1.278 MB / 0.7277 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.867e-05/0.3621, allocations: 12 kB / 0.7277 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.3621, allocations: 4 kB / 0.7277 GB, free: 0.9375 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001531/0.3637, allocations: 1.284 MB / 0.729 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005142/0.3688, allocations: 2.955 MB / 0.7318 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.3689, allocations: 0 / 0.7318 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008179/0.3697, allocations: 187.8 kB / 0.732 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-05/0.3697, allocations: 4 kB / 0.732 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-05/0.3698, allocations: 23.98 kB / 0.732 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.118e-05/0.3698, allocations: 8.062 kB / 0.7321 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3698, allocations: 7.938 kB / 0.7321 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/0.3727, allocations: 1.909 MB / 0.7339 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009526/0.3737, allocations: 410.7 kB / 0.7343 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/0.3741, allocations: 24 kB / 0.7343 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001103/0.3753, allocations: 47.94 kB / 0.7344 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001118/0.3754, allocations: 56.86 kB / 0.7344 GB, free: 9.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.789e-05/0.3755, allocations: 31.98 kB / 0.7345 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00231/0.3778, allocations: 1.238 MB / 0.7357 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3778, allocations: 0 / 0.7357 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003198/0.381, allocations: 0.9201 MB / 0.7366 GB, free: 7.633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (89): * Single equations (assignments): 87 * 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.000993/0.382, allocations: 361.5 kB / 0.7369 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004107/0.3861, allocations: 2.336 MB / 0.7392 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.3861, allocations: 0 / 0.7392 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007854/0.3869, allocations: 0.5175 MB / 0.7397 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004708/0.3917, allocations: 0.9159 MB / 0.7406 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4055/0.7971, allocations: 3.666 MB / 0.7442 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/0.7997, allocations: 1.678 MB / 0.7458 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00318/0.8029, allocations: 0.9115 MB / 0.7467 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.8033, allocations: 135.7 kB / 0.7468 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.452e-06/0.8033, allocations: 0 / 0.7468 GB, free: 104.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.06291/0.8662, allocations: 36.12 MB / 0.7821 GB, free: 83.77 MB / 0.5762 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)