Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009257/0.009257, allocations: 109.1 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001101/0.001101, allocations: 181 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.017/2.017, allocations: 194.6 MB / 211.3 MB, free: 11 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.186/2.186, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004725, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5405, allocations: 98.71 MB / 0.6833 GB, free: 16.69 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.07565/0.6162, allocations: 55.67 MB / 0.7377 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03302/0.6493, allocations: 16.96 MB / 0.7543 GB, free: 5.656 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003538/0.6529, allocations: 71.5 kB / 0.7543 GB, free: 5.586 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004192/0.6571, allocations: 1.011 MB / 0.7553 GB, free: 4.57 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01026/0.6674, allocations: 2.645 MB / 0.7579 GB, free: 1.918 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01135/0.6788, allocations: 3.012 MB / 0.7608 GB, free: 14.91 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.007194/0.686, allocations: 3.151 MB / 0.7639 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/0.6888, allocations: 1.36 MB / 0.7652 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003769/0.6926, allocations: 1.44 MB / 0.7667 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.6947, allocations: 0.9758 MB / 0.7676 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003436/0.695, allocations: 72 kB / 0.7677 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004346/0.6994, allocations: 1.435 MB / 0.7691 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0008077/0.7002, allocations: 414.3 kB / 0.7695 GB, free: 6.027 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0009011/0.7011, allocations: 440.6 kB / 0.7699 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004963/0.7061, allocations: 2.65 MB / 0.7725 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.7062, allocations: 0 / 0.7725 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.528e-06/0.7062, allocations: 0 / 0.7725 GB, free: 2.934 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.725e-05/0.7062, allocations: 0 / 0.7725 GB, free: 2.934 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.005185/0.7114, allocations: 2.329 MB / 0.7748 GB, free: 0.5312 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7115, allocations: 12.03 kB / 0.7748 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001821/0.7133, allocations: 392.9 kB / 0.7751 GB, free: 136 kB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004319/0.7177, allocations: 1.653 MB / 0.7768 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004665/0.7182, allocations: 162.4 kB / 0.7769 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002867/0.7185, allocations: 136 kB / 0.777 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003573/0.722, allocations: 1.442 MB / 0.7784 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.337e-05/0.7221, allocations: 7.891 kB / 0.7785 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001621/0.7223, allocations: 52 kB / 0.7785 GB, free: 12.54 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.087e-05/0.7224, allocations: 32 kB / 0.7785 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.7258, allocations: 1.122 MB / 0.7796 GB, free: 11.38 MB / 0.6042 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.01258/0.7384, allocations: 7.426 MB / 0.7869 GB, free: 3.367 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003283/0.7417, allocations: 1.352 MB / 0.7882 GB, free: 1.902 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005825/0.7476, allocations: 2.596 MB / 0.7907 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001355/0.749, allocations: 450.9 kB / 0.7912 GB, free: 14.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007438/0.7498, allocations: 99.08 kB / 0.7913 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=64): time 4.463e-06/0.7498, allocations: 0 / 0.7913 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=64): time 0.004129/0.7539, allocations: 1.272 MB / 0.7925 GB, free: 13.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.7541, allocations: 145 kB / 0.7926 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003/0.7571, allocations: 1.557 MB / 0.7942 GB, free: 11.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.7573, allocations: 45.7 kB / 0.7942 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.7587, allocations: 0.9075 MB / 0.7951 GB, free: 10.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.7591, allocations: 220.8 kB / 0.7953 GB, free: 10.31 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.7592, allocations: 20 kB / 0.7953 GB, free: 10.29 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001961/0.7594, allocations: 345.9 kB / 0.7957 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001245/0.7606, allocations: 390 kB / 0.796 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00159/0.7622, allocations: 0.7503 MB / 0.7968 GB, free: 8.648 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.7637, allocations: 0.4922 MB / 0.7972 GB, free: 8.152 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/0.7637, allocations: 4 kB / 0.7972 GB, free: 8.148 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003794/0.7675, allocations: 1.315 MB / 0.7985 GB, free: 6.82 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.002008/0.7696, allocations: 3.827 MB / 0.8023 GB, free: 2.664 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-05/0.7696, allocations: 12 kB / 0.8023 GB, free: 2.652 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.755e-05/0.7697, allocations: 16 kB / 0.8023 GB, free: 2.637 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001422/0.7711, allocations: 267.5 kB / 0.8025 GB, free: 2.375 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.315e-05/0.7712, allocations: 23.92 kB / 0.8026 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.7731, allocations: 146.7 kB / 0.8027 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.7733, allocations: 51.98 kB / 0.8028 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.7733, allocations: 4 kB / 0.8028 GB, free: 2.156 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003253/0.7766, allocations: 1.136 MB / 0.8039 GB, free: 1.016 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/0.7766, allocations: 8 kB / 0.8039 GB, free: 1.008 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/0.7767, allocations: 16 kB / 0.8039 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.778, allocations: 260.2 kB / 0.8041 GB, free: 0.7383 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-05/0.778, allocations: 19.94 kB / 0.8042 GB, free: 0.7188 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.7799, allocations: 148.4 kB / 0.8043 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.78, allocations: 51.98 kB / 0.8044 GB, free: 0.5234 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.00114/0.7812, allocations: 496.7 kB / 0.8048 GB, free: 28 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003987/0.7816, allocations: 173.8 kB / 0.805 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003396/0.785, allocations: 1.112 MB / 0.8061 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.7851, allocations: 15.95 kB / 0.8061 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.7851, allocations: 0 / 0.8061 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002459/0.7876, allocations: 0.8199 MB / 0.8069 GB, free: 13.88 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 postOpt removeSimpleEquations (simulation): time 0.006545/0.7941, allocations: 2.596 MB / 0.8094 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.7942, allocations: 4 kB / 0.8094 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.7952, allocations: 160 kB / 0.8096 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002644/0.7955, allocations: 36.83 kB / 0.8096 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.948e-05/0.7956, allocations: 27.98 kB / 0.8096 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.7972, allocations: 1.386 MB / 0.811 GB, free: 9.438 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.94e-06/0.7972, allocations: 4 kB / 0.811 GB, free: 9.434 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004573/0.8018, allocations: 1.735 MB / 0.8127 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.8029, allocations: 378.6 kB / 0.8131 GB, free: 7.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/0.8032, allocations: 20 kB / 0.8131 GB, free: 7.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.8047, allocations: 123.9 kB / 0.8132 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.8049, allocations: 60.42 kB / 0.8133 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.8051, allocations: 35.97 kB / 0.8133 GB, free: 6.973 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002391/0.8075, allocations: 1.133 MB / 0.8144 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.86e-07/0.8075, allocations: 0 / 0.8144 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003773/0.8113, allocations: 0.994 MB / 0.8154 GB, free: 4.82 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00157/0.8129, allocations: 0.5808 MB / 0.8159 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004817/0.8177, allocations: 1.682 MB / 0.8176 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.919e-06/0.8178, allocations: 1.312 kB / 0.8176 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.8194, allocations: 0.5685 MB / 0.8181 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004544/0.824, allocations: 0.8403 MB / 0.819 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007946/0.832, allocations: 3.89 MB / 0.8228 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001491/0.8335, allocations: 1.448 MB / 0.8242 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002515/0.8361, allocations: 434.7 kB / 0.8246 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005502/0.8366, allocations: 147.4 kB / 0.8247 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of SimCode: time 1.723e-06/0.8367, allocations: 0 / 0.8247 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of Templates: time 0.08409/0.9208, allocations: 34.62 MB / 0.8585 GB, free: 8.973 MB / 0.6823 GB