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.001599/0.001599, allocations: 106.1 kB / 15.99 MB, free: 6.355 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.001689/0.001689, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.417/1.417, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7766/0.7766, allocations: 122.9 MB / 413.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 63.91 kB / 0.4906 GB, free: 7.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3931, allocations: 77.91 MB / 0.5667 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02774/0.4209, allocations: 28.35 MB / 0.5944 GB, free: 11.91 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01069/0.4316, allocations: 7.834 MB / 0.602 GB, free: 5.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.4332, allocations: 35.5 kB / 0.602 GB, free: 5.555 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001068/0.4343, allocations: 362.4 kB / 0.6024 GB, free: 5.254 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002703/0.4371, allocations: 0.9373 MB / 0.6033 GB, free: 4.504 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0029/0.44, allocations: 0.9724 MB / 0.6043 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004581/0.4446, allocations: 4.944 MB / 0.6091 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.4472, allocations: 2.267 MB / 0.6113 GB, free: 13.19 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004904/0.4521, allocations: 1.798 MB / 0.6131 GB, free: 11.4 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002492/0.4546, allocations: 1.49 MB / 0.6145 GB, free: 9.902 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003325/0.455, allocations: 228 kB / 0.6147 GB, free: 9.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002884/0.4579, allocations: 1.318 MB / 0.616 GB, free: 8.359 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005983/0.4585, allocations: 0.5453 MB / 0.6165 GB, free: 7.812 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001442/0.4599, allocations: 1.155 MB / 0.6177 GB, free: 6.652 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.4642, allocations: 3.662 MB / 0.6213 GB, free: 2.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.4643, allocations: 0 / 0.6213 GB, free: 2.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4643, allocations: 0 / 0.6213 GB, free: 2.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.382e-05/0.4643, allocations: 0 / 0.6213 GB, free: 2.98 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.004752/0.4691, allocations: 2.553 MB / 0.6237 GB, free: 380 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.4691, allocations: 8.625 kB / 0.6238 GB, free: 372 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007751/0.4699, allocations: 242.4 kB / 0.624 GB, free: 128 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/0.4726, allocations: 1.761 MB / 0.6257 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.4727, allocations: 114.7 kB / 0.6258 GB, free: 14.2 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.4729, allocations: 155.9 kB / 0.626 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003056/0.476, allocations: 1.997 MB / 0.6279 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.4761, allocations: 4 kB / 0.6279 GB, free: 11.98 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.4762, allocations: 60 kB / 0.628 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.482e-05/0.4763, allocations: 39.98 kB / 0.628 GB, free: 11.88 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.4788, allocations: 1.798 MB / 0.6298 GB, free: 10.08 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.01054/0.4894, allocations: 7.598 MB / 0.6372 GB, free: 2.172 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001754/0.4912, allocations: 1.441 MB / 0.6386 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000845/0.492, allocations: 0.6702 MB / 0.6393 GB, free: 44 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006123/0.4982, allocations: 3.83 MB / 0.643 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.4982, allocations: 43.56 kB / 0.643 GB, free: 11.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=88): time 2.114e-06/0.4982, allocations: 3.938 kB / 0.643 GB, free: 11.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=88): time 0.00266/0.5009, allocations: 1.517 MB / 0.6445 GB, free: 10.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.5009, allocations: 64.39 kB / 0.6446 GB, free: 10.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002333/0.5033, allocations: 1.602 MB / 0.6461 GB, free: 8.625 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.693e-05/0.5034, allocations: 49.7 kB / 0.6462 GB, free: 8.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006604/0.5041, allocations: 0.7576 MB / 0.6469 GB, free: 7.805 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.5044, allocations: 319.4 kB / 0.6472 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004213/0.5048, allocations: 291.3 kB / 0.6475 GB, free: 7.199 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5049, allocations: 365.9 kB / 0.6479 GB, free: 6.836 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009732/0.5059, allocations: 0.6917 MB / 0.6485 GB, free: 6.141 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.5071, allocations: 1.016 MB / 0.6495 GB, free: 4.992 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00202/0.5092, allocations: 1.628 MB / 0.6511 GB, free: 3.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-06/0.5092, allocations: 7.938 kB / 0.6511 GB, free: 3.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002972/0.5122, allocations: 1.947 MB / 0.653 GB, free: 1.273 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5122, allocations: 8 kB / 0.653 GB, free: 1.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/0.5122, allocations: 8 kB / 0.653 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.3e-05/0.5123, allocations: 16 kB / 0.6531 GB, free: 1.242 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.5135, allocations: 336.2 kB / 0.6534 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.755e-05/0.5135, allocations: 27.92 kB / 0.6534 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.5149, allocations: 214 kB / 0.6536 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.515, allocations: 63.98 kB / 0.6537 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001894/0.5169, allocations: 1.288 MB / 0.6549 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001182/0.5181, allocations: 1.016 MB / 0.6559 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002028/0.5201, allocations: 1.616 MB / 0.6575 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.695e-06/0.5202, allocations: 4 kB / 0.6575 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003048/0.5232, allocations: 1.948 MB / 0.6594 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5232, allocations: 8 kB / 0.6594 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.5233, allocations: 16.16 kB / 0.6594 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.5233, allocations: 16 kB / 0.6594 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/0.5245, allocations: 339.4 kB / 0.6598 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.026e-05/0.5245, allocations: 19.92 kB / 0.6598 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.5258, allocations: 170.9 kB / 0.66 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.5259, allocations: 55.98 kB / 0.66 GB, free: 9.859 MB / 0.4981 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.0003321/0.5262, allocations: 263.8 kB / 0.6603 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.5265, allocations: 150.2 kB / 0.6604 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.5286, allocations: 1.286 MB / 0.6617 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.5286, allocations: 8 kB / 0.6617 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.5286, allocations: 4 kB / 0.6617 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001427/0.5301, allocations: 1.284 MB / 0.6629 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004062/0.5341, allocations: 2.939 MB / 0.6658 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.5342, allocations: 4 kB / 0.6658 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008011/0.535, allocations: 179.8 kB / 0.666 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.535, allocations: 4 kB / 0.666 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.521e-05/0.535, allocations: 23.98 kB / 0.666 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/0.5351, allocations: 4 kB / 0.666 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5351, allocations: 11.88 kB / 0.666 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.5376, allocations: 1.917 MB / 0.6679 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006384/0.5382, allocations: 391 kB / 0.6683 GB, free: 1.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.5385, allocations: 27.92 kB / 0.6683 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008401/0.5393, allocations: 71.83 kB / 0.6684 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.5394, allocations: 60.81 kB / 0.6684 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.5395, allocations: 39.97 kB / 0.6684 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001564/0.5411, allocations: 1.203 MB / 0.6696 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5411, allocations: 0 / 0.6696 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002317/0.5434, allocations: 0.9162 MB / 0.6705 GB, free: 14.87 MB / 0.5137 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.0008044/0.5442, allocations: 362.9 kB / 0.6709 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004542/0.5488, allocations: 2.825 MB / 0.6736 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.6e-06/0.5488, allocations: 4 kB / 0.6736 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.5495, allocations: 0.517 MB / 0.6741 GB, free: 11.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004142/0.5537, allocations: 0.9227 MB / 0.675 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005544/0.5592, allocations: 4.295 MB / 0.6792 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/0.5604, allocations: 1.686 MB / 0.6809 GB, free: 4.262 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002621/0.5631, allocations: 0.9098 MB / 0.6818 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.5635, allocations: 131.3 kB / 0.6819 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of SimCode: time 6.21e-07/0.5635, allocations: 0 / 0.6819 GB, free: 3.238 MB / 0.5137 GB Notification: Performance of Templates: time 0.05608/0.6196, allocations: 35.21 MB / 0.7163 GB, free: 372 kB / 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)