Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.0101/0.0101, allocations: 87.7 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001236/0.001236, allocations: 171.3 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.174/2.174, allocations: 205.5 MB / 222.2 MB, free: 13.74 MB / 186.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.559/2.559, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0006654/0.0006655, allocations: 17.98 kB / 0.6243 GB, free: 28.36 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2339, allocations: 106.2 MB / 0.7281 GB, free: 10.19 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.001797/0.2357, allocations: 1.008 MB / 0.729 GB, free: 9.168 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.2371, allocations: 0.5244 MB / 0.7296 GB, free: 8.645 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.2372, allocations: 0 / 0.7296 GB, free: 8.645 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.2372, allocations: 4 kB / 0.7296 GB, free: 8.641 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 5.98e-05/0.2373, allocations: 4 kB / 0.7296 GB, free: 8.637 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006905/0.238, allocations: 115.6 kB / 0.7297 GB, free: 8.523 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 7.093e-05/0.2381, allocations: 15.97 kB / 0.7297 GB, free: 8.508 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.2381, allocations: 0 / 0.7297 GB, free: 8.508 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 3.196e-05/0.2382, allocations: 19.92 kB / 0.7297 GB, free: 8.488 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.2382, allocations: 4 kB / 0.7297 GB, free: 8.484 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.2383, allocations: 0 / 0.7297 GB, free: 8.484 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008421/0.2391, allocations: 363.3 kB / 0.7301 GB, free: 8.129 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.2392, allocations: 8 kB / 0.7301 GB, free: 8.121 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 3.701e-05/0.2392, allocations: 25.7 kB / 0.7301 GB, free: 8.09 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0003361/0.2396, allocations: 96.11 kB / 0.7302 GB, free: 7.996 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2396, allocations: 0 / 0.7302 GB, free: 7.996 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.184e-06/0.2396, allocations: 0 / 0.7302 GB, free: 7.996 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2396, allocations: 4 kB / 0.7302 GB, free: 7.992 MB / 0.5574 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.0005545/0.2402, allocations: 363.2 kB / 0.7305 GB, free: 7.59 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/0.2402, allocations: 8.031 kB / 0.7305 GB, free: 7.582 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.666e-05/0.2403, allocations: 34.56 kB / 0.7306 GB, free: 7.539 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.006e-05/0.2404, allocations: 4 kB / 0.7306 GB, free: 7.535 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2405, allocations: 171 kB / 0.7307 GB, free: 7.328 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.2405, allocations: 0 / 0.7307 GB, free: 7.328 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.2406, allocations: 8 kB / 0.7308 GB, free: 7.32 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.2407, allocations: 41.69 kB / 0.7308 GB, free: 7.273 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2407, allocations: 0 / 0.7308 GB, free: 7.273 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2407, allocations: 4 kB / 0.7308 GB, free: 7.27 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.2408, allocations: 0 / 0.7308 GB, free: 7.27 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.01e-05/0.2408, allocations: 15.98 kB / 0.7308 GB, free: 7.254 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.2413, allocations: 256.8 kB / 0.7311 GB, free: 6.953 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.2416, allocations: 46.62 kB / 0.7311 GB, free: 6.898 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.2416, allocations: 0 / 0.7311 GB, free: 6.898 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.2417, allocations: 34.56 kB / 0.7311 GB, free: 6.855 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.2417, allocations: 0 / 0.7311 GB, free: 6.855 MB / 0.5574 GB Notification: Performance of matching and sorting (n=4): time 0.0002454/0.242, allocations: 65.66 kB / 0.7312 GB, free: 6.785 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.242, allocations: 55.39 kB / 0.7312 GB, free: 6.719 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.368e-05/0.2421, allocations: 97.81 kB / 0.7313 GB, free: 6.613 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.2422, allocations: 25.7 kB / 0.7314 GB, free: 6.582 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 6.36e-05/0.2422, allocations: 88.14 kB / 0.7314 GB, free: 6.492 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.2423, allocations: 19.73 kB / 0.7315 GB, free: 6.473 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.649e-06/0.2423, allocations: 4 kB / 0.7315 GB, free: 6.469 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.2424, allocations: 314.8 kB / 0.7318 GB, free: 6.152 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.2425, allocations: 4 kB / 0.7318 GB, free: 6.148 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/0.2425, allocations: 25.7 kB / 0.7318 GB, free: 6.117 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.461e-05/0.2426, allocations: 8 kB / 0.7318 GB, free: 6.109 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2426, allocations: 0 / 0.7318 GB, free: 6.109 MB / 0.5574 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001474/0.2428, allocations: 57.62 kB / 0.7319 GB, free: 6.047 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.2428, allocations: 8.031 kB / 0.7319 GB, free: 6.039 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.2428, allocations: 0 / 0.7319 GB, free: 6.039 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.2428, allocations: 3.938 kB / 0.7319 GB, free: 6.035 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.2429, allocations: 8 kB / 0.7319 GB, free: 6.027 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.243, allocations: 0 / 0.7319 GB, free: 6.027 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.243, allocations: 11.86 kB / 0.7319 GB, free: 6.016 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.243, allocations: 7.984 kB / 0.7319 GB, free: 6.008 MB / 0.5574 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 0.0001007/0.2431, allocations: 109.8 kB / 0.732 GB, free: 5.891 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.2432, allocations: 7.984 kB / 0.732 GB, free: 5.883 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.2434, allocations: 61.61 kB / 0.7321 GB, free: 5.812 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2434, allocations: 0 / 0.7321 GB, free: 5.812 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.2434, allocations: 0 / 0.7321 GB, free: 5.812 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2435, allocations: 48 / 0.7321 GB, free: 5.812 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.2437, allocations: 165.6 kB / 0.7322 GB, free: 5.602 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.2437, allocations: 0 / 0.7322 GB, free: 5.602 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/0.2438, allocations: 8 kB / 0.7322 GB, free: 5.594 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.053e-05/0.2438, allocations: 3.984 kB / 0.7322 GB, free: 5.59 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.2438, allocations: 4.125 kB / 0.7322 GB, free: 5.586 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.2438, allocations: 8 kB / 0.7323 GB, free: 5.578 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2438, allocations: 0 / 0.7323 GB, free: 5.578 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001751/0.244, allocations: 151.3 kB / 0.7324 GB, free: 5.414 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-05/0.2441, allocations: 85.11 kB / 0.7325 GB, free: 5.312 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.2441, allocations: 0 / 0.7325 GB, free: 5.312 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.2442, allocations: 0 / 0.7325 GB, free: 5.312 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.741e-05/0.2442, allocations: 0 / 0.7325 GB, free: 5.312 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.2442, allocations: 4 kB / 0.7325 GB, free: 5.309 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 7.292e-05/0.2443, allocations: 83.27 kB / 0.7326 GB, free: 5.227 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.52e-07/0.2443, allocations: 0 / 0.7326 GB, free: 5.227 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003624/0.2447, allocations: 27.94 kB / 0.7326 GB, free: 5.199 MB / 0.5574 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.000624/0.2454, allocations: 0.7006 MB / 0.7333 GB, free: 4.469 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001449/0.2455, allocations: 27.98 kB / 0.7333 GB, free: 4.441 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2455, allocations: 0 / 0.7333 GB, free: 4.441 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 4.038e-05/0.2456, allocations: 15.94 kB / 0.7333 GB, free: 4.426 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.2458, allocations: 0 / 0.7333 GB, free: 4.426 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006219/0.2464, allocations: 170.1 kB / 0.7335 GB, free: 4.215 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.2467, allocations: 0.6809 MB / 0.7341 GB, free: 3.508 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 6.792e-05/0.2468, allocations: 8.047 kB / 0.7341 GB, free: 3.5 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.2469, allocations: 15.44 kB / 0.7342 GB, free: 3.484 MB / 0.5574 GB Notification: Performance of SimCode: time 1.012e-06/0.2469, allocations: 0 / 0.7342 GB, free: 3.484 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02978/0.2767, allocations: 1.178 MB / 0.7353 GB, free: 2.418 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003348/0.2771, allocations: 205 kB / 0.7355 GB, free: 2.18 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/2.717, allocations: 0 / 0.7355 GB, free: 2.18 MB / 0.5574 GB