Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.041/4.041, allocations: 433.4 MB / 440.9 MB, free: 10.46 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.127e-05, allocations: 7.984 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5027/0.5028, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.6987, allocations: 125.5 MB / 0.7514 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/0.6989, allocations: 87.89 kB / 0.7515 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03387/0.7328, allocations: 5.281 MB / 0.7567 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.984e-06/0.7329, allocations: 0 / 0.7567 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.7329, allocations: 4 kB / 0.7567 GB, free: 12.74 MB / 0.6355 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.0007386/0.7337, allocations: 350.3 kB / 0.757 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.273e-05/0.7338, allocations: 16.03 kB / 0.757 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.738e-05/0.7339, allocations: 7.891 kB / 0.757 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.7341, allocations: 159.1 kB / 0.7572 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.296e-05/0.7342, allocations: 4 kB / 0.7572 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.7342, allocations: 0 / 0.7572 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001447/0.7344, allocations: 15.94 kB / 0.7572 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.7346, allocations: 45.67 kB / 0.7572 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.7346, allocations: 0 / 0.7572 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.896e-05/0.7346, allocations: 3.953 kB / 0.7573 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.308e-06/0.7347, allocations: 0 / 0.7573 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.7353, allocations: 229.6 kB / 0.7575 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003973/0.7357, allocations: 38.56 kB / 0.7575 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.7358, allocations: 20.86 kB / 0.7575 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.7359, allocations: 7.938 kB / 0.7575 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.736, allocations: 34.56 kB / 0.7576 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 4.077e-06/0.736, allocations: 0 / 0.7576 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0003302/0.7364, allocations: 53.64 kB / 0.7576 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.7364, allocations: 51.41 kB / 0.7577 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.7366, allocations: 96.94 kB / 0.7578 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.7367, allocations: 25.7 kB / 0.7578 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.7368, allocations: 80.14 kB / 0.7579 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.693e-05/0.7368, allocations: 19.8 kB / 0.7579 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.7369, allocations: 0 / 0.7579 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002487/0.7371, allocations: 314.8 kB / 0.7582 GB, free: 11 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.086e-05/0.7372, allocations: 4 kB / 0.7582 GB, free: 11 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.611e-05/0.7373, allocations: 21.72 kB / 0.7582 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.956e-05/0.7374, allocations: 15.92 kB / 0.7582 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.934e-06/0.7374, allocations: 0 / 0.7582 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002575/0.7377, allocations: 49.69 kB / 0.7583 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/0.7378, allocations: 4 kB / 0.7583 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.912e-06/0.7378, allocations: 32 / 0.7583 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.7378, allocations: 4 kB / 0.7583 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.738, allocations: 12 kB / 0.7583 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.738, allocations: 3.953 kB / 0.7583 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.7381, allocations: 4 kB / 0.7583 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.7381, allocations: 3.938 kB / 0.7583 GB, free: 10.87 MB / 0.6355 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 () * 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 0.0001404/0.7383, allocations: 101 kB / 0.7584 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.029e-05/0.7384, allocations: 7.906 kB / 0.7584 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003032/0.7387, allocations: 61.73 kB / 0.7585 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.7388, allocations: 4 kB / 0.7585 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.7388, allocations: 0 / 0.7585 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/0.7388, allocations: 4.281 kB / 0.7585 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003861/0.7392, allocations: 138.2 kB / 0.7586 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-06/0.7393, allocations: 0 / 0.7586 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.796e-05/0.7394, allocations: 4 kB / 0.7586 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-05/0.7394, allocations: 4 kB / 0.7586 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.7394, allocations: 0 / 0.7586 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.176e-05/0.7395, allocations: 0 / 0.7586 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.059e-06/0.7395, allocations: 11.86 kB / 0.7586 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.7398, allocations: 151.5 kB / 0.7588 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.415e-05/0.74, allocations: 85 kB / 0.7588 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.74, allocations: 0 / 0.7588 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.7402, allocations: 0 / 0.7588 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.7402, allocations: 4 kB / 0.7589 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.7403, allocations: 0 / 0.7589 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.037e-05/0.7404, allocations: 75.28 kB / 0.7589 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.78e-07/0.7404, allocations: 4 kB / 0.7589 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006281/0.741, allocations: 27.98 kB / 0.759 GB, free: 10.12 MB / 0.6355 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 () * 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.0002268/0.7413, allocations: 127.2 kB / 0.7591 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.7414, allocations: 19.94 kB / 0.7591 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.71e-06/0.7414, allocations: 0 / 0.7591 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-05/0.7415, allocations: 12 kB / 0.7591 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.7416, allocations: 7.953 kB / 0.7591 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.7419, allocations: 60.06 kB / 0.7592 GB, free: 9.859 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.7422, allocations: 0.6845 MB / 0.7598 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.465e-05/0.7423, allocations: 4 kB / 0.7598 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.7423, allocations: 11.42 kB / 0.7599 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of SimCode: time 1.466e-06/0.7423, allocations: 0 / 0.7599 GB, free: 9.133 MB / 0.6355 GB Notification: Performance of Templates: time 0.002749/0.7451, allocations: 488 kB / 0.7603 GB, free: 8.66 MB / 0.6355 GB