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.001293/0.001293, allocations: 106.8 kB / 16.52 MB, free: 6.727 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.001329/0.00133, allocations: 195.2 kB / 17.45 MB, free: 6.051 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.708/0.708, allocations: 115.3 MB / 406.6 MB, free: 6.371 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 59.91 kB / 493.6 MB, free: 0.8125 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4354/0.437, allocations: 76.18 MB / 0.5564 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02713/0.4641, allocations: 28.4 MB / 0.5841 GB, free: 16.09 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.4763, allocations: 7.969 MB / 0.5919 GB, free: 10.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.4784, allocations: 36.12 kB / 0.5919 GB, free: 10.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001332/0.4797, allocations: 338.6 kB / 0.5922 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003361/0.4831, allocations: 0.9336 MB / 0.5932 GB, free: 9.707 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003244/0.4864, allocations: 0.9286 MB / 0.5941 GB, free: 9.191 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007393/0.4938, allocations: 6.097 MB / 0.6 GB, free: 6.109 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002688/0.4965, allocations: 1.852 MB / 0.6018 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003242/0.4998, allocations: 1.398 MB / 0.6032 GB, free: 4.301 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002343/0.5021, allocations: 1.376 MB / 0.6045 GB, free: 3.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002069/0.5024, allocations: 104 kB / 0.6046 GB, free: 3.148 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.5052, allocations: 1.162 MB / 0.6058 GB, free: 1.984 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003769/0.5056, allocations: 418.3 kB / 0.6062 GB, free: 1.574 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.5068, allocations: 1.007 MB / 0.6072 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003226/0.5101, allocations: 2.904 MB / 0.61 GB, free: 13.64 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.5101, allocations: 0 / 0.61 GB, free: 13.64 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5101, allocations: 0 / 0.61 GB, free: 13.64 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.821e-05/0.5102, allocations: 3.844 kB / 0.61 GB, free: 13.64 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.005088/0.5152, allocations: 2.565 MB / 0.6125 GB, free: 11.02 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.5153, allocations: 12.03 kB / 0.6125 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007986/0.5161, allocations: 230.5 kB / 0.6127 GB, free: 10.79 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002962/0.5191, allocations: 1.767 MB / 0.6145 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.653e-05/0.5192, allocations: 118.7 kB / 0.6146 GB, free: 8.848 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002342/0.5194, allocations: 152 kB / 0.6147 GB, free: 8.699 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003156/0.5226, allocations: 1.998 MB / 0.6167 GB, free: 6.637 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.719e-05/0.5226, allocations: 7.844 kB / 0.6167 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.5228, allocations: 60 kB / 0.6167 GB, free: 6.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.604e-05/0.5228, allocations: 36 kB / 0.6168 GB, free: 6.535 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002754/0.5256, allocations: 1.798 MB / 0.6185 GB, free: 4.73 MB / 462.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.01136/0.537, allocations: 7.594 MB / 0.6259 GB, free: 12.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001947/0.5389, allocations: 1.441 MB / 0.6273 GB, free: 11.36 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009088/0.5399, allocations: 0.6679 MB / 0.628 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006628/0.5465, allocations: 3.834 MB / 0.6317 GB, free: 6.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.5466, allocations: 47.56 kB / 0.6318 GB, free: 6.488 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 2.604e-06/0.5466, allocations: 0 / 0.6318 GB, free: 6.488 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.002596/0.5492, allocations: 1.506 MB / 0.6333 GB, free: 4.973 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.5492, allocations: 60.41 kB / 0.6333 GB, free: 4.902 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/0.5515, allocations: 1.618 MB / 0.6349 GB, free: 3.273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.392e-05/0.5517, allocations: 49.7 kB / 0.6349 GB, free: 3.219 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007185/0.5524, allocations: 0.7576 MB / 0.6357 GB, free: 2.453 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003393/0.5527, allocations: 311.5 kB / 0.636 GB, free: 2.145 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/0.5532, allocations: 291.4 kB / 0.6363 GB, free: 1.855 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.5534, allocations: 365.9 kB / 0.6366 GB, free: 1.492 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001053/0.5544, allocations: 0.6917 MB / 0.6373 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.5557, allocations: 1.02 MB / 0.6383 GB, free: 15.64 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.5579, allocations: 1.628 MB / 0.6399 GB, free: 13.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.246e-06/0.5579, allocations: 3.938 kB / 0.6399 GB, free: 13.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003288/0.5612, allocations: 1.955 MB / 0.6418 GB, free: 11.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.5612, allocations: 9 kB / 0.6418 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/0.5612, allocations: 8 kB / 0.6418 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.464e-05/0.5613, allocations: 20 kB / 0.6418 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.5626, allocations: 331.5 kB / 0.6421 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.543e-05/0.5626, allocations: 19.94 kB / 0.6422 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/0.5641, allocations: 218.1 kB / 0.6424 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/0.5643, allocations: 67.92 kB / 0.6424 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002052/0.5663, allocations: 1.28 MB / 0.6437 GB, free: 9.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001301/0.5676, allocations: 1.02 MB / 0.6447 GB, free: 8.836 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002138/0.5698, allocations: 1.616 MB / 0.6462 GB, free: 7.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.877e-06/0.5698, allocations: 4 kB / 0.6463 GB, free: 7.09 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003181/0.573, allocations: 1.952 MB / 0.6482 GB, free: 5.129 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.573, allocations: 12 kB / 0.6482 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.573, allocations: 8.125 kB / 0.6482 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.573, allocations: 16 kB / 0.6482 GB, free: 5.094 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.5742, allocations: 339.5 kB / 0.6485 GB, free: 4.762 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.5743, allocations: 19.94 kB / 0.6485 GB, free: 4.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.5756, allocations: 166.9 kB / 0.6487 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5757, allocations: 63.98 kB / 0.6488 GB, free: 4.516 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.0004153/0.5761, allocations: 259.8 kB / 0.649 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003027/0.5764, allocations: 150.1 kB / 0.6491 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.5785, allocations: 1.285 MB / 0.6504 GB, free: 2.812 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2e-05/0.5786, allocations: 8 kB / 0.6504 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.5786, allocations: 0 / 0.6504 GB, free: 2.805 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001487/0.5801, allocations: 1.288 MB / 0.6517 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004313/0.5844, allocations: 2.939 MB / 0.6545 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.5844, allocations: 0 / 0.6545 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/0.5852, allocations: 187.8 kB / 0.6547 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.269e-05/0.5852, allocations: 8 kB / 0.6547 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/0.5853, allocations: 20 kB / 0.6547 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.5853, allocations: 12.11 kB / 0.6548 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.5853, allocations: 3.938 kB / 0.6548 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002632/0.588, allocations: 1.905 MB / 0.6566 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007561/0.5887, allocations: 402.8 kB / 0.657 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.589, allocations: 24 kB / 0.657 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008182/0.5898, allocations: 79.77 kB / 0.6571 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.5899, allocations: 52.86 kB / 0.6572 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.507e-05/0.59, allocations: 43.91 kB / 0.6572 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001664/0.5917, allocations: 1.207 MB / 0.6584 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5917, allocations: 0 / 0.6584 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002472/0.5941, allocations: 0.9007 MB / 0.6593 GB, free: 9.531 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.0008685/0.595, allocations: 379.4 kB / 0.6596 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003532/0.5986, allocations: 2.32 MB / 0.6619 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.5986, allocations: 0 / 0.6619 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006943/0.5993, allocations: 0.5209 MB / 0.6624 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/0.6029, allocations: 0.8721 MB / 0.6632 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005842/0.6088, allocations: 4.26 MB / 0.6674 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.6099, allocations: 1.634 MB / 0.669 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/0.6105, allocations: 147.4 kB / 0.6691 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.6105, allocations: 0 / 0.6691 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of Templates: time 0.05391/0.6644, allocations: 32.31 MB / 0.7007 GB, free: 15.22 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)