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 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.InverseFlowFunctions,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InverseFlowFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.159/4.159, allocations: 433.2 MB / 440.7 MB, free: 10.55 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.23e-05, allocations: 4 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6582/0.6582, allocations: 98.71 MB / 0.6289 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2676/0.9259, allocations: 125.5 MB / 0.7514 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003316/0.9263, allocations: 83.94 kB / 0.7515 GB, free: 2.082 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02752/0.9538, allocations: 5.289 MB / 0.7567 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9539, allocations: 0 / 0.7567 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.9539, allocations: 0 / 0.7567 GB, free: 12.79 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.0004474/0.9544, allocations: 358.4 kB / 0.757 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.9544, allocations: 16.03 kB / 0.757 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.817e-05/0.9545, allocations: 3.953 kB / 0.757 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.9546, allocations: 163.1 kB / 0.7572 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.9546, allocations: 4 kB / 0.7572 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.421e-05/0.9547, allocations: 0 / 0.7572 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.885e-05/0.9548, allocations: 8 kB / 0.7572 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.963e-05/0.9549, allocations: 41.69 kB / 0.7572 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.9549, allocations: 0 / 0.7572 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.9549, allocations: 0 / 0.7572 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.9549, allocations: 3.953 kB / 0.7572 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.9553, allocations: 237.4 kB / 0.7575 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.9556, allocations: 38.7 kB / 0.7575 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.9556, allocations: 20.94 kB / 0.7575 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.774e-05/0.9557, allocations: 0 / 0.7575 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.9557, allocations: 34.56 kB / 0.7575 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.402e-06/0.9557, allocations: 4 kB / 0.7575 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001807/0.9559, allocations: 57.48 kB / 0.7576 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.956, allocations: 51.41 kB / 0.7577 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.562e-05/0.956, allocations: 89 kB / 0.7577 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.9561, allocations: 25.7 kB / 0.7578 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.9561, allocations: 80.14 kB / 0.7578 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.879e-05/0.9562, allocations: 15.81 kB / 0.7579 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.9562, allocations: 0 / 0.7579 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.9563, allocations: 318.8 kB / 0.7582 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.82e-05/0.9563, allocations: 8 kB / 0.7582 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.716e-05/0.9564, allocations: 17.66 kB / 0.7582 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.651e-05/0.9564, allocations: 8 kB / 0.7582 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.9565, allocations: 0 / 0.7582 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001202/0.9566, allocations: 57.86 kB / 0.7582 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.9566, allocations: 4 kB / 0.7582 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.9566, allocations: 0 / 0.7582 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.9567, allocations: 11.95 kB / 0.7583 GB, free: 10.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.9567, allocations: 8.047 kB / 0.7583 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.9568, allocations: 0 / 0.7583 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.606e-05/0.9568, allocations: 11.94 kB / 0.7583 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.9568, allocations: 0 / 0.7583 GB, free: 10.92 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 7.582e-05/0.9569, allocations: 101 kB / 0.7584 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001202/0.957, allocations: 61.66 kB / 0.7584 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.9571, allocations: 0 / 0.7584 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001781/0.9573, allocations: 61.81 kB / 0.7585 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.9573, allocations: 7.938 kB / 0.7585 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.9573, allocations: 0 / 0.7585 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.9573, allocations: 0 / 0.7585 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.9575, allocations: 130.2 kB / 0.7586 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.9575, allocations: 0 / 0.7586 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.471e-05/0.9576, allocations: 11.98 kB / 0.7586 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.9576, allocations: 0 / 0.7586 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.9576, allocations: 0 / 0.7586 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.9576, allocations: 0 / 0.7586 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.9577, allocations: 0 / 0.7586 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.9578, allocations: 159.3 kB / 0.7588 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.9579, allocations: 77.11 kB / 0.7589 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.9579, allocations: 0 / 0.7589 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.958, allocations: 0 / 0.7589 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.958, allocations: 7.984 kB / 0.7589 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.9581, allocations: 0 / 0.7589 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.202e-05/0.9581, allocations: 79.28 kB / 0.7589 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9581, allocations: 4 kB / 0.7589 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000364/0.9585, allocations: 23.95 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.000582/0.9591, allocations: 0.7126 MB / 0.7597 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001046/0.9592, allocations: 16 kB / 0.7597 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.9592, allocations: 0 / 0.7597 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.811e-05/0.9593, allocations: 16.06 kB / 0.7597 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.9594, allocations: 6.438 kB / 0.7597 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004203/0.9599, allocations: 105.5 kB / 0.7598 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.9602, allocations: 0.6768 MB / 0.7605 GB, free: 8.5 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.537e-05/0.9602, allocations: 7.938 kB / 0.7605 GB, free: 8.492 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.305e-05/0.9603, allocations: 11.44 kB / 0.7605 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of SimCode: time 6.81e-07/0.9603, allocations: 0 / 0.7605 GB, free: 8.48 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03923/0.9995, allocations: 0.8821 MB / 0.7613 GB, free: 7.609 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002883/0.9999, allocations: 174.6 kB / 0.7615 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.409/3.409, allocations: 0 / 0.7615 GB, free: 7.41 MB / 0.6355 GB