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_m_flow.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_m_flow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.31/4.31, allocations: 433.2 MB / 440.7 MB, free: 4.516 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.431e-05/2.482e-05, allocations: 4.281 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.214, allocations: 98.73 MB / 0.6289 GB, free: 9.051 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2532/0.4672, allocations: 124.2 MB / 0.7502 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003041/0.4676, allocations: 75.95 kB / 0.7503 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01121/0.4788, allocations: 2.267 MB / 0.7525 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4789, allocations: 0 / 0.7525 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.4789, allocations: 0 / 0.7525 GB, free: 10.33 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.0003746/0.4793, allocations: 334.5 kB / 0.7528 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.4793, allocations: 8.031 kB / 0.7528 GB, free: 9.949 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.109e-05/0.4794, allocations: 3.953 kB / 0.7528 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.4795, allocations: 167 kB / 0.753 GB, free: 9.742 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.4796, allocations: 4 kB / 0.753 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.4796, allocations: 0 / 0.753 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.994e-05/0.4796, allocations: 0 / 0.753 GB, free: 9.738 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.054e-05/0.4797, allocations: 37.7 kB / 0.753 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4798, allocations: 0 / 0.753 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.4798, allocations: 3.938 kB / 0.753 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.4798, allocations: 7.938 kB / 0.753 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00016/0.48, allocations: 130.2 kB / 0.7531 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.506e-05/0.48, allocations: 22.61 kB / 0.7532 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.4801, allocations: 12.86 kB / 0.7532 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.4801, allocations: 4 kB / 0.7532 GB, free: 9.469 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.4801, allocations: 30.56 kB / 0.7532 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/0.4802, allocations: 0 / 0.7532 GB, free: 9.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.4803, allocations: 37.69 kB / 0.7532 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.4803, allocations: 51.41 kB / 0.7533 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.4804, allocations: 93.61 kB / 0.7534 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.4805, allocations: 25.7 kB / 0.7534 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.4805, allocations: 84.3 kB / 0.7535 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.529e-05/0.4805, allocations: 3.906 kB / 0.7535 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.326e-06/0.4806, allocations: 0 / 0.7535 GB, free: 9.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4807, allocations: 314.8 kB / 0.7538 GB, free: 8.789 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.908e-05/0.4807, allocations: 8 kB / 0.7538 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.379e-05/0.4807, allocations: 3.984 kB / 0.7538 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.181e-05/0.4808, allocations: 7.938 kB / 0.7538 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4808, allocations: 3.938 kB / 0.7538 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.818e-05/0.4809, allocations: 37.77 kB / 0.7539 GB, free: 8.723 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4809, allocations: 4 kB / 0.7539 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.4809, allocations: 0 / 0.7539 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.4809, allocations: 0 / 0.7539 GB, free: 8.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002089/0.4812, allocations: 11.98 kB / 0.7539 GB, free: 8.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004337/0.4816, allocations: 0.5898 MB / 0.7544 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.45e-05/0.4817, allocations: 0 / 0.7544 GB, free: 8.094 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.4817, allocations: 4.125 kB / 0.7544 GB, free: 8.09 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.85e-05/0.4818, allocations: 101 kB / 0.7545 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.749e-05/0.4818, allocations: 45.66 kB / 0.7546 GB, free: 7.934 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.143e-05/0.4819, allocations: 4 kB / 0.7546 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.482, allocations: 41.44 kB / 0.7546 GB, free: 7.887 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.482, allocations: 3.953 kB / 0.7546 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.482, allocations: 0 / 0.7546 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.482, allocations: 0 / 0.7546 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.4822, allocations: 130.3 kB / 0.7548 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4822, allocations: 7.938 kB / 0.7548 GB, free: 7.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.4823, allocations: 7.984 kB / 0.7548 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4824, allocations: 7.938 kB / 0.7548 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.993e-06/0.4824, allocations: 0 / 0.7548 GB, free: 7.695 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003725/0.4827, allocations: 0.5834 MB / 0.7553 GB, free: 7.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4828, allocations: 3.984 kB / 0.7554 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.53e-05/0.4829, allocations: 69.16 kB / 0.7554 GB, free: 7 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.32e-05/0.4829, allocations: 81.11 kB / 0.7555 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.483, allocations: 3.953 kB / 0.7555 GB, free: 6.898 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.211e-05/0.483, allocations: 4 kB / 0.7555 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.991e-05/0.483, allocations: 0 / 0.7555 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-06/0.483, allocations: 0 / 0.7555 GB, free: 6.895 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.958e-05/0.4831, allocations: 91.23 kB / 0.7556 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4831, allocations: 0 / 0.7556 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002577/0.4834, allocations: 8 kB / 0.7556 GB, free: 6.797 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.0005136/0.4839, allocations: 0.6085 MB / 0.7562 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.4841, allocations: 16.11 kB / 0.7562 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4841, allocations: 4 kB / 0.7562 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4843, allocations: 11.94 kB / 0.7562 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.4844, allocations: 13.58 kB / 0.7562 GB, free: 6.113 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000306/0.4847, allocations: 81.7 kB / 0.7563 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.485, allocations: 0.6768 MB / 0.757 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.05e-05/0.4851, allocations: 0 / 0.757 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.741e-05/0.4851, allocations: 11.56 kB / 0.757 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/0.4851, allocations: 3.938 kB / 0.757 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03578/0.5209, allocations: 0.7454 MB / 0.7577 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/0.5213, allocations: 177.7 kB / 0.7579 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.428/2.949, allocations: 1.203 kB / 0.7579 GB, free: 4.352 MB / 0.6355 GB