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.001274/0.001274, allocations: 108 kB / 17.03 MB, free: 5.656 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.001236/0.001236, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.281/1.281, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6778/0.6778, allocations: 115.1 MB / 406.9 MB, free: 6.305 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 67.91 kB / 494.8 MB, free: 15.84 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3553, allocations: 76.15 MB / 0.5576 GB, free: 36.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.02462/0.38, allocations: 28.53 MB / 0.5854 GB, free: 16.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.3905, allocations: 7.898 MB / 0.5931 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.392, allocations: 37.59 kB / 0.5932 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.3933, allocations: 408.8 kB / 0.5936 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002843/0.3961, allocations: 1.012 MB / 0.5946 GB, free: 9.887 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002859/0.399, allocations: 1.076 MB / 0.5956 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004849/0.4038, allocations: 4.931 MB / 0.6004 GB, free: 6.316 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002538/0.4064, allocations: 2.277 MB / 0.6026 GB, free: 4.992 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003859/0.4103, allocations: 1.8 MB / 0.6044 GB, free: 3.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002339/0.4126, allocations: 1.449 MB / 0.6058 GB, free: 3.047 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003368/0.413, allocations: 228 kB / 0.606 GB, free: 2.824 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.4156, allocations: 1.318 MB / 0.6073 GB, free: 1.504 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000454/0.416, allocations: 0.5569 MB / 0.6079 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.4174, allocations: 1.155 MB / 0.609 GB, free: 15.78 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004323/0.4217, allocations: 3.685 MB / 0.6126 GB, free: 12.09 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.4218, allocations: 4 kB / 0.6126 GB, free: 12.09 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.4218, allocations: 3.938 kB / 0.6126 GB, free: 12.08 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.961e-05/0.4218, allocations: 0 / 0.6126 GB, free: 12.08 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.004588/0.4264, allocations: 2.565 MB / 0.6151 GB, free: 9.461 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.4265, allocations: 8.031 kB / 0.6151 GB, free: 9.453 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007801/0.4273, allocations: 234.5 kB / 0.6153 GB, free: 9.223 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003179/0.4305, allocations: 1.8 MB / 0.6171 GB, free: 7.367 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/0.4306, allocations: 118.7 kB / 0.6172 GB, free: 7.25 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.4308, allocations: 148 kB / 0.6174 GB, free: 7.105 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/0.4337, allocations: 1.997 MB / 0.6193 GB, free: 5.043 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.679e-05/0.4337, allocations: 4 kB / 0.6193 GB, free: 5.039 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.4338, allocations: 56 kB / 0.6194 GB, free: 4.984 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/0.4339, allocations: 36 kB / 0.6194 GB, free: 4.949 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.4364, allocations: 1.798 MB / 0.6212 GB, free: 3.145 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.01074/0.4472, allocations: 7.613 MB / 0.6286 GB, free: 11.22 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.449, allocations: 1.445 MB / 0.63 GB, free: 9.75 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000822/0.4498, allocations: 0.6725 MB / 0.6307 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006236/0.456, allocations: 3.85 MB / 0.6344 GB, free: 4.91 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.4561, allocations: 43.56 kB / 0.6345 GB, free: 4.859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.978e-06/0.4561, allocations: 3.984 kB / 0.6345 GB, free: 4.855 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.002602/0.4587, allocations: 1.521 MB / 0.6359 GB, free: 3.328 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.4588, allocations: 60.41 kB / 0.636 GB, free: 3.258 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002401/0.4612, allocations: 1.645 MB / 0.6376 GB, free: 1.602 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.4614, allocations: 49.7 kB / 0.6377 GB, free: 1.547 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006016/0.462, allocations: 0.7536 MB / 0.6384 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/0.4623, allocations: 319.4 kB / 0.6387 GB, free: 480 kB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003852/0.4627, allocations: 287.4 kB / 0.639 GB, free: 188 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.4628, allocations: 365.9 kB / 0.6393 GB, free: 15.82 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009965/0.4638, allocations: 0.6917 MB / 0.64 GB, free: 15.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/0.4654, allocations: 1.02 MB / 0.641 GB, free: 13.97 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002365/0.4678, allocations: 1.628 MB / 0.6426 GB, free: 12.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.4678, allocations: 7.938 kB / 0.6426 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003617/0.4714, allocations: 1.952 MB / 0.6445 GB, free: 10.25 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/0.4715, allocations: 8 kB / 0.6445 GB, free: 10.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.4715, allocations: 8 kB / 0.6445 GB, free: 10.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/0.4716, allocations: 16 kB / 0.6445 GB, free: 10.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.4728, allocations: 331.5 kB / 0.6448 GB, free: 9.898 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.48e-05/0.4728, allocations: 23.92 kB / 0.6449 GB, free: 9.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.4742, allocations: 198.1 kB / 0.6451 GB, free: 9.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001288/0.4743, allocations: 63.98 kB / 0.6451 GB, free: 9.617 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001838/0.4761, allocations: 1.284 MB / 0.6464 GB, free: 8.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001181/0.4773, allocations: 1.024 MB / 0.6474 GB, free: 7.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001915/0.4793, allocations: 1.616 MB / 0.6489 GB, free: 5.438 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.893e-06/0.4793, allocations: 8 kB / 0.649 GB, free: 5.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003023/0.4823, allocations: 1.947 MB / 0.6509 GB, free: 3.473 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4824, allocations: 12 kB / 0.6509 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.298e-05/0.4824, allocations: 12.88 kB / 0.6509 GB, free: 3.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.4824, allocations: 16 kB / 0.6509 GB, free: 3.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.4836, allocations: 339.5 kB / 0.6512 GB, free: 3.102 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/0.4836, allocations: 23.92 kB / 0.6512 GB, free: 3.078 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.4848, allocations: 142.9 kB / 0.6514 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.4849, allocations: 63.98 kB / 0.6514 GB, free: 2.875 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.0003247/0.4853, allocations: 256.5 kB / 0.6517 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/0.4856, allocations: 150.1 kB / 0.6518 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001997/0.4876, allocations: 1.291 MB / 0.6531 GB, free: 1.168 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.4876, allocations: 8 kB / 0.6531 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.4876, allocations: 0 / 0.6531 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001372/0.489, allocations: 1.281 MB / 0.6543 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/0.4934, allocations: 2.967 MB / 0.6572 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4934, allocations: 0 / 0.6572 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007726/0.4942, allocations: 179.8 kB / 0.6574 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.4942, allocations: 4 kB / 0.6574 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.969e-05/0.4943, allocations: 27.92 kB / 0.6574 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.078e-06/0.4943, allocations: 8 kB / 0.6575 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4943, allocations: 3.938 kB / 0.6575 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002496/0.4968, allocations: 1.913 MB / 0.6593 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008649/0.4977, allocations: 406.8 kB / 0.6597 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.4979, allocations: 16 kB / 0.6597 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007355/0.4987, allocations: 47.94 kB / 0.6598 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.98e-05/0.4988, allocations: 60.88 kB / 0.6598 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.396e-05/0.4989, allocations: 39.97 kB / 0.6599 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001576/0.5004, allocations: 1.234 MB / 0.6611 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5004, allocations: 0 / 0.6611 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002241/0.5027, allocations: 0.9163 MB / 0.662 GB, free: 7.859 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.0007986/0.5035, allocations: 371.5 kB / 0.6623 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003259/0.5068, allocations: 2.336 MB / 0.6646 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.5068, allocations: 4 kB / 0.6646 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006615/0.5075, allocations: 0.517 MB / 0.6651 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/0.511, allocations: 0.9182 MB / 0.666 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005067/0.5161, allocations: 3.659 MB / 0.6696 GB, free: 84 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/0.5173, allocations: 1.686 MB / 0.6712 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00237/0.5196, allocations: 0.9193 MB / 0.6721 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.52, allocations: 131.4 kB / 0.6723 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of SimCode: time 1.532e-06/0.52, allocations: 4 kB / 0.6723 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of Templates: time 0.05436/0.5744, allocations: 35.72 MB / 0.7071 GB, free: 9.918 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)