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.InvertingBasicFlowFunction_dp.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.167/4.167, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.128e-05, allocations: 5.094 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2191, allocations: 98.72 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2351/0.4543, allocations: 124.3 MB / 0.7503 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003164/0.4547, allocations: 79.95 kB / 0.7504 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01712/0.4718, allocations: 3.41 MB / 0.7537 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.4719, allocations: 0 / 0.7537 GB, free: 9.129 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.4719, allocations: 0 / 0.7537 GB, free: 9.129 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003703/0.4723, allocations: 347.1 kB / 0.754 GB, free: 8.746 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.128e-05/0.4724, allocations: 8.031 kB / 0.754 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.4724, allocations: 11.89 kB / 0.7541 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001285/0.4725, allocations: 167 kB / 0.7542 GB, free: 8.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.4726, allocations: 4 kB / 0.7542 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/0.4726, allocations: 0 / 0.7542 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.312e-05/0.4727, allocations: 0 / 0.7542 GB, free: 8.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.03e-05/0.4727, allocations: 31.08 kB / 0.7543 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4727, allocations: 0 / 0.7543 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.4728, allocations: 0 / 0.7543 GB, free: 8.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.4728, allocations: 3.953 kB / 0.7543 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.473, allocations: 138.2 kB / 0.7544 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.473, allocations: 22.55 kB / 0.7544 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.4731, allocations: 8.922 kB / 0.7544 GB, free: 8.266 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.4731, allocations: 3.938 kB / 0.7544 GB, free: 8.262 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4731, allocations: 34.56 kB / 0.7545 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.4732, allocations: 0 / 0.7545 GB, free: 8.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001531/0.4733, allocations: 37.7 kB / 0.7545 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.181e-05/0.4734, allocations: 51.41 kB / 0.7545 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.4734, allocations: 92.98 kB / 0.7546 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.4735, allocations: 25.7 kB / 0.7547 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.4735, allocations: 80.14 kB / 0.7547 GB, free: 7.902 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.4735, allocations: 7.906 kB / 0.7547 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/0.4736, allocations: 0 / 0.7547 GB, free: 7.895 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4737, allocations: 314.8 kB / 0.755 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.374e-05/0.4737, allocations: 8.156 kB / 0.755 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.318e-05/0.4737, allocations: 0 / 0.755 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.151e-05/0.4738, allocations: 7.938 kB / 0.7551 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4738, allocations: 0 / 0.7551 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.403e-05/0.4739, allocations: 41.69 kB / 0.7551 GB, free: 7.516 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.4739, allocations: 4 kB / 0.7551 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.4739, allocations: 3.984 kB / 0.7551 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.4739, allocations: 0 / 0.7551 GB, free: 7.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.4742, allocations: 8 kB / 0.7551 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000426/0.4746, allocations: 0.5977 MB / 0.7557 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.4747, allocations: 0 / 0.7557 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.4747, allocations: 7.938 kB / 0.7557 GB, free: 6.871 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 8.079e-05/0.4748, allocations: 104.9 kB / 0.7558 GB, free: 6.762 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.761e-05/0.4748, allocations: 33.73 kB / 0.7558 GB, free: 6.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.105e-05/0.4749, allocations: 4.125 kB / 0.7558 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.475, allocations: 49.44 kB / 0.7559 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.475, allocations: 3.953 kB / 0.7559 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.475, allocations: 0 / 0.7559 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4751, allocations: 0 / 0.7559 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.4752, allocations: 130.2 kB / 0.756 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.4752, allocations: 0 / 0.756 GB, free: 6.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.4753, allocations: 15.92 kB / 0.756 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.4754, allocations: 0 / 0.756 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.605e-06/0.4754, allocations: 0 / 0.756 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003795/0.4758, allocations: 0.586 MB / 0.7566 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4758, allocations: 0 / 0.7566 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001127/0.4759, allocations: 69.06 kB / 0.7567 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.476, allocations: 77.11 kB / 0.7567 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.476, allocations: 4.078 kB / 0.7567 GB, free: 5.691 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.4761, allocations: 4 kB / 0.7567 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.4761, allocations: 0 / 0.7567 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.4761, allocations: 7.875 kB / 0.7568 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.004e-05/0.4762, allocations: 83.28 kB / 0.7568 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4762, allocations: 0 / 0.7568 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000279/0.4765, allocations: 15.94 kB / 0.7568 GB, free: 5.582 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 (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004909/0.477, allocations: 0.6126 MB / 0.7574 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.4772, allocations: 15.98 kB / 0.7575 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.4772, allocations: 0 / 0.7575 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.4774, allocations: 15.94 kB / 0.7575 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001366/0.4775, allocations: 6.328 kB / 0.7575 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003418/0.4779, allocations: 97.73 kB / 0.7576 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.4782, allocations: 0.6768 MB / 0.7582 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.179e-05/0.4782, allocations: 4 kB / 0.7582 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.4783, allocations: 7.438 kB / 0.7582 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of SimCode: time 8.51e-07/0.4783, allocations: 0 / 0.7582 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0368/0.5151, allocations: 0.7434 MB / 0.759 GB, free: 3.316 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003299/0.5155, allocations: 179.5 kB / 0.7591 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.878, allocations: 0 / 0.7591 GB, free: 3.121 MB / 0.6355 GB