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.001169/0.001169, allocations: 96.27 kB / 15.69 MB, free: 480 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.001419/0.001419, allocations: 176.3 kB / 16.57 MB, free: 6.398 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.31/1.31, allocations: 223.2 MB / 240.5 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6594/0.6594, allocations: 113.8 MB / 405.4 MB, free: 4.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.000302, allocations: 8 kB / 493.1 MB, free: 8.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1277, allocations: 77.15 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02545/0.1532, allocations: 23.95 MB / 0.5802 GB, free: 3.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2619/0.4152, allocations: 6.848 MB / 0.5869 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/0.4164, allocations: 31.94 kB / 0.5869 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001405/0.4178, allocations: 394.3 kB / 0.5873 GB, free: 11.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003539/0.4214, allocations: 1.028 MB / 0.5883 GB, free: 11.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003537/0.4249, allocations: 1.098 MB / 0.5894 GB, free: 11.56 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004916/0.4299, allocations: 2.726 MB / 0.5921 GB, free: 11.55 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003039/0.4329, allocations: 1.612 MB / 0.5936 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.4362, allocations: 1.175 MB / 0.5948 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.4387, allocations: 0.9325 MB / 0.5957 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005594/0.4393, allocations: 76.09 kB / 0.5958 GB, free: 11.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.4425, allocations: 0.8536 MB / 0.5966 GB, free: 11.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008781/0.4434, allocations: 349.5 kB / 0.5969 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.4447, allocations: 421.5 kB / 0.5973 GB, free: 11.15 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005428/0.4502, allocations: 2.765 MB / 0.6 GB, free: 10.98 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4502, allocations: 2.562 kB / 0.6 GB, free: 10.98 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4502, allocations: 0 / 0.6 GB, free: 10.98 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001266/0.4503, allocations: 1.406 kB / 0.6 GB, free: 10.98 MB / 446.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.007097/0.4574, allocations: 2.145 MB / 0.6021 GB, free: 25.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.4575, allocations: 9.75 kB / 0.6021 GB, free: 25.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/0.4589, allocations: 232.3 kB / 0.6024 GB, free: 25.84 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003943/0.4629, allocations: 1.633 MB / 0.604 GB, free: 25.45 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001124/0.463, allocations: 118.8 kB / 0.6041 GB, free: 25.44 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005275/0.4636, allocations: 152.5 kB / 0.6042 GB, free: 25.44 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/0.4676, allocations: 1.977 MB / 0.6061 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.273e-05/0.4676, allocations: 3.969 kB / 0.6062 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/0.4679, allocations: 58.81 kB / 0.6062 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.578e-05/0.4679, allocations: 38.58 kB / 0.6062 GB, free: 25.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003162/0.4711, allocations: 1.793 MB / 0.608 GB, free: 25.14 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.01223/0.4833, allocations: 7.696 MB / 0.6155 GB, free: 20.74 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001885/0.4852, allocations: 1.456 MB / 0.6169 GB, free: 19.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006823/0.4921, allocations: 3.882 MB / 0.6207 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.035e-05/0.4921, allocations: 47.7 kB / 0.6208 GB, free: 16.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=88): time 1.984e-06/0.4922, allocations: 0 / 0.6208 GB, free: 16.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=88): time 0.002467/0.4946, allocations: 1.511 MB / 0.6222 GB, free: 15.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.021e-05/0.4947, allocations: 60.91 kB / 0.6223 GB, free: 15.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/0.4971, allocations: 1.683 MB / 0.6239 GB, free: 14.94 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.4973, allocations: 49.98 kB / 0.624 GB, free: 14.89 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/0.4979, allocations: 0.7535 MB / 0.6247 GB, free: 14.24 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003061/0.4982, allocations: 310.5 kB / 0.625 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.994e-05/0.4983, allocations: 28.75 kB / 0.6251 GB, free: 13.95 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.4984, allocations: 367.7 kB / 0.6254 GB, free: 13.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001124/0.4996, allocations: 0.6761 MB / 0.6261 GB, free: 13.25 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001381/0.501, allocations: 1.01 MB / 0.6271 GB, free: 12.49 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00139/0.5024, allocations: 0.8657 MB / 0.6279 GB, free: 12.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.5024, allocations: 6.625 kB / 0.6279 GB, free: 12.03 MB / 462.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00372/0.5061, allocations: 1.938 MB / 0.6298 GB, free: 11.03 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.001577/0.5077, allocations: 3.53 MB / 0.6332 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.5077, allocations: 8.688 kB / 0.6333 GB, free: 7.289 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.58e-05/0.5078, allocations: 21.16 kB / 0.6333 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.5092, allocations: 347.8 kB / 0.6336 GB, free: 7.199 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.135e-05/0.5092, allocations: 23.86 kB / 0.6336 GB, free: 7.191 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001977/0.5112, allocations: 226.7 kB / 0.6338 GB, free: 7.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002022/0.5114, allocations: 59.2 kB / 0.6339 GB, free: 7.027 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5115, allocations: 6.312 kB / 0.6339 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002821/0.5143, allocations: 1.783 MB / 0.6356 GB, free: 5.336 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.5143, allocations: 11.98 kB / 0.6357 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.5143, allocations: 16 kB / 0.6357 GB, free: 5.309 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001284/0.5156, allocations: 347.5 kB / 0.636 GB, free: 4.969 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/0.5157, allocations: 19.94 kB / 0.636 GB, free: 4.949 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/0.5171, allocations: 198.5 kB / 0.6362 GB, free: 4.754 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001445/0.5173, allocations: 62.17 kB / 0.6363 GB, free: 4.695 MB / 462.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001322/0.5186, allocations: 0.7509 MB / 0.637 GB, free: 3.934 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.5191, allocations: 158 kB / 0.6372 GB, free: 3.777 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/0.5212, allocations: 1.279 MB / 0.6384 GB, free: 2.504 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/0.5213, allocations: 11.98 kB / 0.6384 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5213, allocations: 0 / 0.6384 GB, free: 2.492 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001446/0.5227, allocations: 1.284 MB / 0.6397 GB, free: 1.133 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/0.5278, allocations: 2.965 MB / 0.6426 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.5278, allocations: 4 kB / 0.6426 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000798/0.5286, allocations: 175.8 kB / 0.6427 GB, free: 13.94 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.5286, allocations: 4 kB / 0.6427 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-05/0.5287, allocations: 28.11 kB / 0.6428 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.5287, allocations: 4 kB / 0.6428 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5287, allocations: 3.953 kB / 0.6428 GB, free: 13.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002659/0.5314, allocations: 1.975 MB / 0.6447 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/0.5324, allocations: 442.7 kB / 0.6451 GB, free: 11.4 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.5328, allocations: 23.98 kB / 0.6451 GB, free: 11.38 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001008/0.5338, allocations: 74.08 kB / 0.6452 GB, free: 11.3 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5339, allocations: 53.06 kB / 0.6453 GB, free: 11.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.534, allocations: 35.97 kB / 0.6453 GB, free: 11.21 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001886/0.5359, allocations: 1.267 MB / 0.6465 GB, free: 9.953 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5359, allocations: 7.938 kB / 0.6466 GB, free: 9.945 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003108/0.539, allocations: 0.9279 MB / 0.6475 GB, free: 9.016 MB / 478.1 MB 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 (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.0009627/0.54, allocations: 358 kB / 0.6478 GB, free: 8.684 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003794/0.5438, allocations: 2.305 MB / 0.65 GB, free: 6.383 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.5438, allocations: 320 / 0.65 GB, free: 6.383 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007695/0.5446, allocations: 0.5247 MB / 0.6506 GB, free: 5.859 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00447/0.5491, allocations: 0.842 MB / 0.6514 GB, free: 5.031 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00689/0.556, allocations: 4.348 MB / 0.6556 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001443/0.5575, allocations: 1.717 MB / 0.6573 GB, free: 14.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002972/0.5605, allocations: 0.9226 MB / 0.6582 GB, free: 13.99 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004985/0.561, allocations: 143.3 kB / 0.6583 GB, free: 13.85 MB / 494.1 MB Notification: Performance of SimCode: time 7.02e-07/0.561, allocations: 0 / 0.6583 GB, free: 13.85 MB / 494.1 MB Notification: Performance of Templates: time 0.05189/0.6129, allocations: 33.57 MB / 0.6911 GB, free: 12.72 MB / 0.5137 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)