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.0009502/0.0009504, allocations: 92.2 kB / 16.66 MB, free: 5.742 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.001276/0.001277, allocations: 179 kB / 17.58 MB, free: 5.477 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.383/1.383, allocations: 223.3 MB / 241.6 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7195/0.7195, allocations: 115.5 MB / 408.2 MB, free: 7.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 8 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.458, allocations: 77.52 MB / 0.5606 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03078/0.4889, allocations: 27.69 MB / 0.5876 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.5026, allocations: 7.878 MB / 0.5953 GB, free: 9.973 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002038/0.5047, allocations: 30.06 kB / 0.5953 GB, free: 9.961 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.5063, allocations: 329.3 kB / 0.5957 GB, free: 9.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.5102, allocations: 0.9268 MB / 0.5966 GB, free: 9.215 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00355/0.5138, allocations: 0.9396 MB / 0.5975 GB, free: 8.695 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008653/0.5224, allocations: 6.09 MB / 0.6034 GB, free: 5.754 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003518/0.526, allocations: 1.797 MB / 0.6052 GB, free: 4.742 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003587/0.5296, allocations: 1.328 MB / 0.6065 GB, free: 4.043 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.5325, allocations: 1.298 MB / 0.6077 GB, free: 3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005165/0.533, allocations: 80 kB / 0.6078 GB, free: 2.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003356/0.5364, allocations: 1.139 MB / 0.6089 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007173/0.5371, allocations: 370.4 kB / 0.6093 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002089/0.5392, allocations: 0.9811 MB / 0.6102 GB, free: 436 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00409/0.5433, allocations: 2.85 MB / 0.613 GB, free: 13.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.5434, allocations: 0 / 0.613 GB, free: 13.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5434, allocations: 4 kB / 0.613 GB, free: 13.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001207/0.5435, allocations: 4 kB / 0.613 GB, free: 13.56 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.005688/0.5492, allocations: 2.144 MB / 0.6151 GB, free: 11.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.5493, allocations: 12.03 kB / 0.6151 GB, free: 11.35 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001327/0.5506, allocations: 234.5 kB / 0.6154 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004097/0.5547, allocations: 1.759 MB / 0.6171 GB, free: 9.305 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.5549, allocations: 114.7 kB / 0.6172 GB, free: 9.191 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005293/0.5554, allocations: 155.9 kB / 0.6173 GB, free: 9.039 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/0.5589, allocations: 2.001 MB / 0.6193 GB, free: 6.973 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.5589, allocations: 4 kB / 0.6193 GB, free: 6.969 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001441/0.5591, allocations: 56 kB / 0.6194 GB, free: 6.914 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/0.5591, allocations: 40 kB / 0.6194 GB, free: 6.875 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/0.5619, allocations: 1.802 MB / 0.6212 GB, free: 5.066 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.0116/0.5735, allocations: 7.625 MB / 0.6286 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001864/0.5754, allocations: 1.44 MB / 0.63 GB, free: 11.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008693/0.5763, allocations: 0.6685 MB / 0.6307 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006391/0.5827, allocations: 3.847 MB / 0.6344 GB, free: 6.84 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.5827, allocations: 43.56 kB / 0.6345 GB, free: 6.789 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.005e-06/0.5827, allocations: 0 / 0.6345 GB, free: 6.789 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.002417/0.5852, allocations: 1.514 MB / 0.6359 GB, free: 5.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.5852, allocations: 64.39 kB / 0.636 GB, free: 5.195 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002165/0.5874, allocations: 1.606 MB / 0.6376 GB, free: 3.578 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/0.5875, allocations: 49.7 kB / 0.6376 GB, free: 3.523 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000639/0.5881, allocations: 0.7576 MB / 0.6384 GB, free: 2.758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002832/0.5884, allocations: 311.5 kB / 0.6387 GB, free: 2.449 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.5886, allocations: 129.6 kB / 0.6388 GB, free: 2.316 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.5888, allocations: 365.9 kB / 0.6391 GB, free: 1.953 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009929/0.5898, allocations: 0.687 MB / 0.6398 GB, free: 1.266 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/0.591, allocations: 1.016 MB / 0.6408 GB, free: 124 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002062/0.5931, allocations: 1.624 MB / 0.6424 GB, free: 14.37 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.5931, allocations: 3.938 kB / 0.6424 GB, free: 14.37 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00298/0.5961, allocations: 1.948 MB / 0.6443 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002428/0.5963, allocations: 357.1 kB / 0.6446 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.5964, allocations: 11.94 kB / 0.6446 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.624e-05/0.5964, allocations: 20 kB / 0.6446 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.5976, allocations: 331.5 kB / 0.645 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.457e-05/0.5977, allocations: 23.92 kB / 0.645 GB, free: 11.56 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.599, allocations: 222 kB / 0.6452 GB, free: 11.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.5991, allocations: 63.98 kB / 0.6453 GB, free: 11.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.5992, allocations: 13.75 kB / 0.6453 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002559/0.6017, allocations: 1.784 MB / 0.647 GB, free: 9.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.6017, allocations: 12.03 kB / 0.647 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.6018, allocations: 19.98 kB / 0.647 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.6029, allocations: 331.5 kB / 0.6474 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/0.603, allocations: 23.92 kB / 0.6474 GB, free: 9.102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/0.6042, allocations: 190.5 kB / 0.6476 GB, free: 8.914 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.6043, allocations: 63.92 kB / 0.6476 GB, free: 8.852 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.00115/0.6055, allocations: 0.7502 MB / 0.6484 GB, free: 8.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002877/0.6057, allocations: 150.2 kB / 0.6485 GB, free: 7.941 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002028/0.6078, allocations: 1.29 MB / 0.6498 GB, free: 6.645 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/0.6078, allocations: 8 kB / 0.6498 GB, free: 6.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6078, allocations: 4 kB / 0.6498 GB, free: 6.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00148/0.6093, allocations: 1.284 MB / 0.651 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004261/0.6136, allocations: 2.932 MB / 0.6539 GB, free: 2.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.6136, allocations: 4 kB / 0.6539 GB, free: 2.246 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000785/0.6144, allocations: 187.7 kB / 0.6541 GB, free: 2.062 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.6144, allocations: 4 kB / 0.6541 GB, free: 2.059 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.099e-05/0.6145, allocations: 23.98 kB / 0.6541 GB, free: 2.035 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.6145, allocations: 7.938 kB / 0.6541 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/0.6145, allocations: 4.125 kB / 0.6541 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002568/0.6171, allocations: 1.921 MB / 0.656 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007961/0.6179, allocations: 426.8 kB / 0.6564 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/0.6181, allocations: 16 kB / 0.6564 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008414/0.6189, allocations: 79.77 kB / 0.6565 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.6191, allocations: 60.86 kB / 0.6565 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.252e-05/0.6191, allocations: 35.98 kB / 0.6566 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001718/0.6209, allocations: 1.207 MB / 0.6578 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6209, allocations: 0 / 0.6578 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002562/0.6234, allocations: 0.9045 MB / 0.6586 GB, free: 13.34 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.0008932/0.6243, allocations: 375.1 kB / 0.659 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003607/0.628, allocations: 2.321 MB / 0.6613 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.628, allocations: 0 / 0.6613 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007107/0.6287, allocations: 0.517 MB / 0.6618 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004468/0.6332, allocations: 0.8689 MB / 0.6626 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/0.64, allocations: 4.382 MB / 0.6669 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.6413, allocations: 1.634 MB / 0.6685 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006888/0.642, allocations: 147.4 kB / 0.6686 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of SimCode: time 1.132e-06/0.642, allocations: 0 / 0.6686 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of Templates: time 0.05415/0.6961, allocations: 32.06 MB / 0.6999 GB, free: 3.164 MB / 0.5294 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)