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.0008533/0.0008532, allocations: 93.66 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 179.3 kB / 16.92 MB, free: 6.676 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.388/1.388, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.753/0.753, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003351/0.0003351, allocations: 8 kB / 0.4933 GB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4632/0.4636, allocations: 79.28 MB / 0.5707 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03103/0.4947, allocations: 27.7 MB / 0.5978 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01484/0.5095, allocations: 7.881 MB / 0.6055 GB, free: 1.34 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/0.5127, allocations: 33 kB / 0.6055 GB, free: 1.328 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002102/0.5148, allocations: 330.7 kB / 0.6058 GB, free: 1.133 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004517/0.5194, allocations: 0.9281 MB / 0.6067 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003335/0.5227, allocations: 0.9329 MB / 0.6076 GB, free: 64 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008407/0.5312, allocations: 6.098 MB / 0.6136 GB, free: 12.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003658/0.5349, allocations: 1.788 MB / 0.6153 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003674/0.5386, allocations: 1.325 MB / 0.6166 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003438/0.542, allocations: 1.289 MB / 0.6179 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007229/0.5428, allocations: 79.19 kB / 0.618 GB, free: 10.3 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00412/0.5469, allocations: 1.139 MB / 0.6191 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001052/0.548, allocations: 376 kB / 0.6194 GB, free: 9.418 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002644/0.5507, allocations: 0.9782 MB / 0.6204 GB, free: 8.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006385/0.5571, allocations: 3.473 MB / 0.6238 GB, free: 6.145 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.5571, allocations: 0 / 0.6238 GB, free: 6.145 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5571, allocations: 0 / 0.6238 GB, free: 6.145 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001165/0.5572, allocations: 4 kB / 0.6238 GB, free: 6.141 MB / 462.1 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.005961/0.5632, allocations: 2.144 MB / 0.6259 GB, free: 3.941 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.5632, allocations: 8.031 kB / 0.6259 GB, free: 3.934 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001041/0.5643, allocations: 234.5 kB / 0.6261 GB, free: 3.703 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003149/0.5675, allocations: 1.758 MB / 0.6278 GB, free: 1.891 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.602e-05/0.5676, allocations: 122.5 kB / 0.628 GB, free: 1.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/0.5678, allocations: 163.9 kB / 0.6281 GB, free: 1.609 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.5713, allocations: 1.994 MB / 0.6301 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/0.5714, allocations: 8 kB / 0.6301 GB, free: 15.54 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.5715, allocations: 56 kB / 0.6301 GB, free: 15.49 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.5716, allocations: 43.92 kB / 0.6302 GB, free: 15.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002766/0.5744, allocations: 1.79 MB / 0.6319 GB, free: 13.65 MB / 478.1 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.01163/0.586, allocations: 7.629 MB / 0.6394 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001903/0.5879, allocations: 1.44 MB / 0.6408 GB, free: 4.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009104/0.5889, allocations: 0.6641 MB / 0.6414 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006507/0.5954, allocations: 3.847 MB / 0.6452 GB, free: 15.42 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.5955, allocations: 39.56 kB / 0.6452 GB, free: 15.37 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 4.539e-06/0.5955, allocations: 3.938 kB / 0.6452 GB, free: 15.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.002474/0.5979, allocations: 1.517 MB / 0.6467 GB, free: 13.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.598, allocations: 60.41 kB / 0.6468 GB, free: 13.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.6002, allocations: 1.606 MB / 0.6483 GB, free: 12.16 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.384e-05/0.6003, allocations: 45.7 kB / 0.6484 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000657/0.601, allocations: 0.7614 MB / 0.6491 GB, free: 11.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003144/0.6013, allocations: 315.6 kB / 0.6494 GB, free: 11.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001734/0.6015, allocations: 129.6 kB / 0.6495 GB, free: 10.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.6017, allocations: 357.9 kB / 0.6499 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.6027, allocations: 0.6831 MB / 0.6505 GB, free: 9.855 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.6039, allocations: 1.02 MB / 0.6515 GB, free: 8.707 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002081/0.606, allocations: 1.62 MB / 0.6531 GB, free: 6.961 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.606, allocations: 7.938 kB / 0.6531 GB, free: 6.953 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003074/0.6091, allocations: 1.955 MB / 0.655 GB, free: 4.988 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.6093, allocations: 357 kB / 0.6554 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.6094, allocations: 8 kB / 0.6554 GB, free: 4.508 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.63e-05/0.6094, allocations: 16 kB / 0.6554 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.6107, allocations: 343.4 kB / 0.6557 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.871e-05/0.6107, allocations: 19.94 kB / 0.6558 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001599/0.6123, allocations: 214.1 kB / 0.656 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.6125, allocations: 59.98 kB / 0.656 GB, free: 3.867 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.6125, allocations: 7.938 kB / 0.656 GB, free: 3.859 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002911/0.6154, allocations: 1.796 MB / 0.6578 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.6155, allocations: 8 kB / 0.6578 GB, free: 2.055 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.6155, allocations: 20.12 kB / 0.6578 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.6167, allocations: 335.5 kB / 0.6581 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.6167, allocations: 19.94 kB / 0.6581 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.6181, allocations: 186.5 kB / 0.6583 GB, free: 1.504 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.6182, allocations: 63.98 kB / 0.6584 GB, free: 1.441 MB / 494.1 MB 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.00118/0.6194, allocations: 0.7502 MB / 0.6591 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002937/0.6197, allocations: 158.1 kB / 0.6593 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002038/0.6217, allocations: 1.282 MB / 0.6605 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/0.6218, allocations: 8 kB / 0.6605 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.6218, allocations: 0 / 0.6605 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001488/0.6233, allocations: 1.288 MB / 0.6618 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004234/0.6275, allocations: 2.943 MB / 0.6647 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.6275, allocations: 7.984 kB / 0.6647 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007887/0.6283, allocations: 187.7 kB / 0.6648 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.6284, allocations: 4 kB / 0.6648 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.847e-05/0.6284, allocations: 20 kB / 0.6649 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.6284, allocations: 4 kB / 0.6649 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.6285, allocations: 11.97 kB / 0.6649 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.631, allocations: 1.917 MB / 0.6667 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007614/0.6318, allocations: 426.8 kB / 0.6672 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002024/0.632, allocations: 20 kB / 0.6672 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008729/0.6329, allocations: 78.16 kB / 0.6672 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.633, allocations: 56.86 kB / 0.6673 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.277e-05/0.6331, allocations: 43.97 kB / 0.6673 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001645/0.6347, allocations: 1.203 MB / 0.6685 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6347, allocations: 0 / 0.6685 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002413/0.6371, allocations: 0.9085 MB / 0.6694 GB, free: 5.91 MB / 0.4981 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.0008793/0.638, allocations: 359.2 kB / 0.6698 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003481/0.6415, allocations: 2.321 MB / 0.672 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.6416, allocations: 8.188 kB / 0.672 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007063/0.6423, allocations: 0.517 MB / 0.6725 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004209/0.6465, allocations: 0.8666 MB / 0.6734 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005884/0.6524, allocations: 4.406 MB / 0.6777 GB, free: 13.42 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001272/0.6537, allocations: 1.678 MB / 0.6793 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002581/0.6563, allocations: 0.9221 MB / 0.6802 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003752/0.6567, allocations: 135.4 kB / 0.6803 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.6567, allocations: 4 kB / 0.6804 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of Templates: time 0.05887/0.7155, allocations: 33.94 MB / 0.7135 GB, free: 9.07 MB / 0.545 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)