Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") translateModel(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.265/2.265, allocations: 254.9 MB / 269.9 MB, free: 9.629 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001284/0.001283, allocations: 179.9 kB / 329.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.657/2.657, allocations: 225.6 MB / 0.6001 GB, free: 2.16 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001004/0.001004, allocations: 99.16 kB / 0.7074 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0005364/0.0005366, allocations: 15.16 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2145/0.2151, allocations: 109.1 MB / 0.9308 GB, free: 25.07 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.03202/0.2472, allocations: 26.27 MB / 0.9564 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01558/0.2628, allocations: 7.309 MB / 0.9636 GB, free: 7.391 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001396/0.2642, allocations: 27.81 kB / 0.9636 GB, free: 7.363 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.2656, allocations: 290.1 kB / 0.9639 GB, free: 7.078 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003402/0.2691, allocations: 0.8043 MB / 0.9646 GB, free: 6.266 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003574/0.2727, allocations: 0.7559 MB / 0.9654 GB, free: 5.508 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.008598/0.2813, allocations: 5.242 MB / 0.9705 GB, free: 256 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003503/0.2848, allocations: 1.71 MB / 0.9722 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00358/0.2885, allocations: 1.299 MB / 0.9734 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003034/0.2916, allocations: 1.233 MB / 0.9746 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0003984/0.292, allocations: 79.94 kB / 0.9747 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003566/0.2956, allocations: 0.9788 MB / 0.9757 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007072/0.2963, allocations: 354.5 kB / 0.976 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0008753/0.2972, allocations: 420.7 kB / 0.9764 GB, free: 10.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.005091/0.3023, allocations: 2.783 MB / 0.9791 GB, free: 7.355 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.3024, allocations: 4 kB / 0.9791 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of FrontEnd: time 5.199e-06/0.3024, allocations: 0 / 0.9791 GB, free: 7.352 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.623e-05/0.3025, allocations: 11.88 kB / 0.9791 GB, free: 7.34 MB / 0.6198 GB 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.007578/0.3101, allocations: 2.144 MB / 0.9812 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.3102, allocations: 8.031 kB / 0.9813 GB, free: 5.133 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.3116, allocations: 226.5 kB / 0.9815 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005149/0.3168, allocations: 1.692 MB / 0.9831 GB, free: 3.164 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/0.3169, allocations: 118.7 kB / 0.9832 GB, free: 3.047 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004462/0.3174, allocations: 151.9 kB / 0.9834 GB, free: 2.898 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005224/0.3226, allocations: 1.97 MB / 0.9853 GB, free: 0.8633 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.61e-05/0.3228, allocations: 7.938 kB / 0.9853 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002377/0.323, allocations: 56 kB / 0.9854 GB, free: 0.8008 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.771e-05/0.3231, allocations: 36 kB / 0.9854 GB, free: 0.7656 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004875/0.328, allocations: 1.786 MB / 0.9871 GB, free: 14.97 MB / 0.6355 GB 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.01917/0.3472, allocations: 7.601 MB / 0.9946 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.3505, allocations: 1.445 MB / 0.996 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001528/0.3521, allocations: 0.6603 MB / 0.9966 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01082/0.3629, allocations: 3.824 MB / 1 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.363, allocations: 47.5 kB / 1 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=88): time 4.288e-06/0.363, allocations: 0 / 1 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88): time 0.004236/0.3673, allocations: 1.498 MB / 1.002 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.3674, allocations: 60.41 kB / 1.002 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003338/0.3707, allocations: 1.578 MB / 1.003 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000256/0.371, allocations: 53.7 kB / 1.004 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009362/0.3719, allocations: 0.7417 MB / 1.004 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004947/0.3725, allocations: 319.5 kB / 1.005 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001542/0.3726, allocations: 24 kB / 1.005 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002065/0.3728, allocations: 361.9 kB / 1.005 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.3747, allocations: 0.6869 MB / 1.006 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.3768, allocations: 1.02 MB / 1.007 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/0.3789, allocations: 0.8689 MB / 1.007 GB, free: 9.352 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.379, allocations: 3.938 kB / 1.007 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005147/0.3841, allocations: 1.936 MB / 1.009 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002812/0.3844, allocations: 353 kB / 1.01 GB, free: 6.934 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.612e-05/0.3845, allocations: 8 kB / 1.01 GB, free: 6.926 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.232e-05/0.3846, allocations: 20 kB / 1.01 GB, free: 6.906 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002573/0.3871, allocations: 335.5 kB / 1.01 GB, free: 6.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.114e-05/0.3872, allocations: 27.92 kB / 1.01 GB, free: 6.551 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002244/0.3895, allocations: 218.1 kB / 1.01 GB, free: 6.336 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.3897, allocations: 59.98 kB / 1.01 GB, free: 6.277 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.3897, allocations: 11.88 kB / 1.01 GB, free: 6.266 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004555/0.3943, allocations: 1.776 MB / 1.012 GB, free: 4.488 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.3943, allocations: 15.97 kB / 1.012 GB, free: 4.473 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/0.3944, allocations: 16 kB / 1.012 GB, free: 4.457 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002524/0.3969, allocations: 335.5 kB / 1.012 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-05/0.397, allocations: 23.92 kB / 1.012 GB, free: 4.105 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/0.3991, allocations: 190.5 kB / 1.013 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/0.3993, allocations: 55.98 kB / 1.013 GB, free: 3.863 MB / 0.6511 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001592/0.4009, allocations: 0.7502 MB / 1.013 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005215/0.4014, allocations: 154.1 kB / 1.014 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003327/0.4047, allocations: 1.267 MB / 1.015 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.4048, allocations: 11.94 kB / 1.015 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.4048, allocations: 3.984 kB / 1.015 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002439/0.4073, allocations: 1.284 MB / 1.016 GB, free: 284 kB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007236/0.4145, allocations: 2.912 MB / 1.019 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.227e-05/0.4146, allocations: 4 kB / 1.019 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/0.4162, allocations: 183.8 kB / 1.019 GB, free: 13.11 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.415e-05/0.4163, allocations: 4 kB / 1.019 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.341e-05/0.4164, allocations: 23.98 kB / 1.019 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.224e-05/0.4164, allocations: 7.938 kB / 1.019 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.4164, allocations: 4 kB / 1.019 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004354/0.4208, allocations: 1.905 MB / 1.021 GB, free: 11.13 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.4221, allocations: 414.8 kB / 1.021 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003783/0.4225, allocations: 23.98 kB / 1.021 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001605/0.4241, allocations: 79.7 kB / 1.021 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.4242, allocations: 64.81 kB / 1.022 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.4244, allocations: 31.97 kB / 1.022 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002765/0.4271, allocations: 1.175 MB / 1.023 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.41e-07/0.4272, allocations: 4 kB / 1.023 GB, free: 9.332 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004089/0.4313, allocations: 0.9045 MB / 1.024 GB, free: 8.426 MB / 0.6667 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 (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.001223/0.4326, allocations: 359.6 kB / 1.024 GB, free: 8.074 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00615/0.4387, allocations: 2.306 MB / 1.026 GB, free: 5.773 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/0.4388, allocations: 4.188 kB / 1.026 GB, free: 5.77 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.4401, allocations: 0.5209 MB / 1.027 GB, free: 5.246 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00744/0.4476, allocations: 0.8557 MB / 1.028 GB, free: 4.395 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009965/0.4576, allocations: 4.341 MB / 1.032 GB, free: 8 kB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5726/1.03, allocations: 1.66 MB / 1.033 GB, free: 96.95 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.005277/1.036, allocations: 0.9128 MB / 1.034 GB, free: 96.92 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009157/1.037, allocations: 131.4 kB / 1.034 GB, free: 96.91 MB / 0.6667 GB Notification: Performance of SimCode: time 2.355e-06/1.037, allocations: 0 / 1.034 GB, free: 96.91 MB / 0.6667 GB Notification: Performance of Templates: time 0.09012/1.127, allocations: 32.74 MB / 1.066 GB, free: 86.06 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & ./Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1)