Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01079/0.01079, allocations: 221.2 kB / 15.17 MB, free: 5.93 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.001121/0.001121, allocations: 179.4 kB / 16.06 MB, free: 5.828 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 3.53/3.53, allocations: 389.1 MB / 405.9 MB, free: 11.8 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.599/3.599, allocations: 472.3 MB / 0.9018 GB, free: 18.79 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.0005108, allocations: 12 kB / 1.008 GB, free: 13.45 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1692, allocations: 98.72 MB / 1.104 GB, free: 10.77 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001412/0.1707, allocations: 1.001 MB / 1.105 GB, free: 9.762 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0009863/0.1717, allocations: 0.5273 MB / 1.106 GB, free: 9.238 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.132e-05/0.1717, allocations: 0 / 1.106 GB, free: 9.238 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.311e-05/0.1718, allocations: 1.062 kB / 1.106 GB, free: 9.238 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 3.653e-05/0.1718, allocations: 3.938 kB / 1.106 GB, free: 9.234 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005034/0.1723, allocations: 116.4 kB / 1.106 GB, free: 9.121 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.502e-05/0.1724, allocations: 12.75 kB / 1.106 GB, free: 9.109 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.025e-05/0.1724, allocations: 7.984 kB / 1.106 GB, free: 9.102 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.363e-05/0.1725, allocations: 9 kB / 1.106 GB, free: 9.094 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.412e-05/0.1725, allocations: 11.92 kB / 1.106 GB, free: 9.082 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.1726, allocations: 0.5625 kB / 1.106 GB, free: 9.082 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006057/0.1732, allocations: 331.3 kB / 1.106 GB, free: 8.758 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.1732, allocations: 8.484 kB / 1.106 GB, free: 8.75 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.955e-05/0.1732, allocations: 30.73 kB / 1.106 GB, free: 8.715 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.1734, allocations: 88.11 kB / 1.106 GB, free: 8.629 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.169e-06/0.1735, allocations: 0 / 1.106 GB, free: 8.629 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.678e-06/0.1735, allocations: 1.312 kB / 1.106 GB, free: 8.629 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.311e-06/0.1735, allocations: 0 / 1.106 GB, free: 8.629 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000422/0.1739, allocations: 360.4 kB / 1.106 GB, free: 8.23 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.174, allocations: 8.75 kB / 1.106 GB, free: 8.223 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.74e-05/0.174, allocations: 3.953 kB / 1.106 GB, free: 8.219 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.1741, allocations: 172.2 kB / 1.107 GB, free: 8.012 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1742, allocations: 0 / 1.107 GB, free: 8.012 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.1742, allocations: 0 / 1.107 GB, free: 8.012 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.1743, allocations: 42.72 kB / 1.107 GB, free: 7.965 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.011e-06/0.1743, allocations: 0 / 1.107 GB, free: 7.965 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.1743, allocations: 4.75 kB / 1.107 GB, free: 7.961 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.1743, allocations: 7.938 kB / 1.107 GB, free: 7.953 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.468e-05/0.1744, allocations: 12.78 kB / 1.107 GB, free: 7.941 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003565/0.1748, allocations: 254.3 kB / 1.107 GB, free: 7.645 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.175, allocations: 47.06 kB / 1.107 GB, free: 7.59 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.924e-05/0.1751, allocations: 22.52 kB / 1.107 GB, free: 7.566 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.1751, allocations: 4 kB / 1.107 GB, free: 7.562 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.1751, allocations: 31.19 kB / 1.107 GB, free: 7.523 MB / 0.573 GB Notification: Performance of pre-optimization done (n=4): time 2.033e-06/0.1751, allocations: 3.938 kB / 1.107 GB, free: 7.52 MB / 0.573 GB Notification: Performance of matching and sorting (n=4): time 0.0001961/0.1754, allocations: 66.33 kB / 1.107 GB, free: 7.449 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.1754, allocations: 56.19 kB / 1.107 GB, free: 7.383 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.904e-05/0.1755, allocations: 93.84 kB / 1.107 GB, free: 7.281 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1755, allocations: 30.2 kB / 1.107 GB, free: 7.246 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.1756, allocations: 85.8 kB / 1.107 GB, free: 7.16 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.1756, allocations: 15.73 kB / 1.107 GB, free: 7.145 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-06/0.1756, allocations: 0 / 1.107 GB, free: 7.145 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1758, allocations: 319.5 kB / 1.108 GB, free: 6.824 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.8e-05/0.1758, allocations: 8 kB / 1.108 GB, free: 6.816 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.7e-05/0.1759, allocations: 20.19 kB / 1.108 GB, free: 6.793 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.622e-05/0.1759, allocations: 8 kB / 1.108 GB, free: 6.785 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-06/0.1759, allocations: 0 / 1.108 GB, free: 6.785 MB / 0.573 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001282/0.1761, allocations: 57.62 kB / 1.108 GB, free: 6.723 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1761, allocations: 9.922 kB / 1.108 GB, free: 6.715 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.532e-06/0.1761, allocations: 4 kB / 1.108 GB, free: 6.711 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1761, allocations: 3.953 kB / 1.108 GB, free: 6.707 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.953e-05/0.1762, allocations: 8.125 kB / 1.108 GB, free: 6.699 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.938e-06/0.1762, allocations: 0 / 1.108 GB, free: 6.699 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.229e-05/0.1763, allocations: 5.312 kB / 1.108 GB, free: 6.695 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.144e-06/0.1763, allocations: 4 kB / 1.108 GB, free: 6.691 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * 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 9.213e-05/0.1764, allocations: 114.6 kB / 1.108 GB, free: 6.574 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.1764, allocations: 7.844 kB / 1.108 GB, free: 6.566 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001653/0.1766, allocations: 65.2 kB / 1.108 GB, free: 6.488 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.466e-06/0.1766, allocations: 3.953 kB / 1.108 GB, free: 6.484 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.814e-06/0.1766, allocations: 0 / 1.108 GB, free: 6.484 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-06/0.1766, allocations: 0 / 1.108 GB, free: 6.484 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001974/0.1769, allocations: 158.1 kB / 1.108 GB, free: 6.281 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1769, allocations: 0 / 1.108 GB, free: 6.281 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.1769, allocations: 4 kB / 1.108 GB, free: 6.277 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.032e-06/0.1769, allocations: 0 / 1.108 GB, free: 6.277 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.834e-06/0.177, allocations: 4 kB / 1.108 GB, free: 6.273 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.116e-06/0.177, allocations: 0 / 1.108 GB, free: 6.273 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.95e-06/0.177, allocations: 3.953 kB / 1.108 GB, free: 6.27 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001569/0.1771, allocations: 159.5 kB / 1.108 GB, free: 6.098 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.021e-05/0.1772, allocations: 77.11 kB / 1.108 GB, free: 6.004 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1772, allocations: 3.938 kB / 1.108 GB, free: 6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.148e-05/0.1773, allocations: 4 kB / 1.108 GB, free: 5.996 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.1773, allocations: 7.938 kB / 1.108 GB, free: 5.988 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.986e-06/0.1773, allocations: 3.953 kB / 1.108 GB, free: 5.984 MB / 0.573 GB Notification: Performance of sorting global known variables: time 4.9e-05/0.1774, allocations: 83.27 kB / 1.108 GB, free: 5.902 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.51e-07/0.1774, allocations: 4 kB / 1.108 GB, free: 5.898 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003175/0.1777, allocations: 19.94 kB / 1.108 GB, free: 5.879 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 0.0001873/0.1779, allocations: 123.2 kB / 1.109 GB, free: 5.75 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.1781, allocations: 23.92 kB / 1.109 GB, free: 5.727 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.642e-06/0.1781, allocations: 0 / 1.109 GB, free: 5.727 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 2.988e-05/0.1781, allocations: 8 kB / 1.109 GB, free: 5.719 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.1784, allocations: 8 kB / 1.109 GB, free: 5.711 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002976/0.1787, allocations: 132.6 kB / 1.109 GB, free: 5.551 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.179, allocations: 0.6848 MB / 1.109 GB, free: 4.84 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 4.177e-05/0.1791, allocations: 4 kB / 1.109 GB, free: 4.836 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.207e-05/0.1791, allocations: 7.438 kB / 1.109 GB, free: 4.828 MB / 0.573 GB Notification: Performance of SimCode: time 1.254e-06/0.1791, allocations: 0 / 1.109 GB, free: 4.828 MB / 0.573 GB Notification: Performance of Templates: time 0.002769/0.1819, allocations: 0.4985 MB / 1.11 GB, free: 4.332 MB / 0.573 GB