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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.027/4.027, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.223e-05, allocations: 8.641 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2204, allocations: 98.73 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/0.4973, allocations: 126.1 MB / 0.7579 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.4977, allocations: 91.88 kB / 0.758 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02783/0.5256, allocations: 5.303 MB / 0.7632 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.422e-06/0.5256, allocations: 0 / 0.7632 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.5256, allocations: 0 / 0.7632 GB, free: 14.21 MB / 0.6511 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.0004699/0.5261, allocations: 358.4 kB / 0.7635 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.5262, allocations: 8.031 kB / 0.7635 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.497e-05/0.5262, allocations: 30.56 kB / 0.7635 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.5263, allocations: 11.95 kB / 0.7635 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.5264, allocations: 174.9 kB / 0.7637 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.261e-05/0.5264, allocations: 4 kB / 0.7637 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.5265, allocations: 4 kB / 0.7637 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.5266, allocations: 37.7 kB / 0.7638 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.5266, allocations: 4 kB / 0.7638 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.5266, allocations: 0 / 0.7638 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5267, allocations: 3.953 kB / 0.7638 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.586e-05/0.5267, allocations: 15.98 kB / 0.7638 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.5271, allocations: 244.9 kB / 0.764 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002513/0.5274, allocations: 54.62 kB / 0.7641 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.687e-05/0.5275, allocations: 20.84 kB / 0.7641 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.5275, allocations: 4 kB / 0.7641 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.5275, allocations: 30.56 kB / 0.7641 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.5275, allocations: 0 / 0.7641 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4): time 0.0001852/0.5277, allocations: 57.58 kB / 0.7642 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5278, allocations: 59.41 kB / 0.7642 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.15e-05/0.5279, allocations: 93 kB / 0.7643 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.659e-05/0.5279, allocations: 25.7 kB / 0.7643 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.528, allocations: 80.14 kB / 0.7644 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.528, allocations: 15.8 kB / 0.7644 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.528, allocations: 0 / 0.7644 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5282, allocations: 314.8 kB / 0.7647 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.078e-05/0.5282, allocations: 8 kB / 0.7647 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.5283, allocations: 17.72 kB / 0.7648 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.767e-05/0.5283, allocations: 12 kB / 0.7648 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5283, allocations: 7.922 kB / 0.7648 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001317/0.5285, allocations: 49.64 kB / 0.7648 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5285, allocations: 11.98 kB / 0.7648 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.5285, allocations: 0 / 0.7648 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.5285, allocations: 3.953 kB / 0.7648 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.789e-05/0.5286, allocations: 8 kB / 0.7648 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5287, allocations: 4.031 kB / 0.7648 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.5287, allocations: 3.938 kB / 0.7649 GB, free: 12.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.5287, allocations: 4 kB / 0.7649 GB, free: 12.23 MB / 0.6511 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.949e-05/0.5288, allocations: 105 kB / 0.765 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.526e-05/0.5289, allocations: 7.906 kB / 0.765 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001927/0.5291, allocations: 69.05 kB / 0.765 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5291, allocations: 0 / 0.765 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.5291, allocations: 3.953 kB / 0.765 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5291, allocations: 4 kB / 0.765 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001936/0.5293, allocations: 157.7 kB / 0.7652 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.5293, allocations: 0 / 0.7652 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.416e-05/0.5294, allocations: 8 kB / 0.7652 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5294, allocations: 0 / 0.7652 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.884e-06/0.5294, allocations: 0 / 0.7652 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5294, allocations: 0 / 0.7652 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5294, allocations: 0 / 0.7652 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.5296, allocations: 159.8 kB / 0.7653 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.5297, allocations: 85.02 kB / 0.7654 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.5297, allocations: 0 / 0.7654 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.729e-05/0.5298, allocations: 176 / 0.7654 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.174e-05/0.5298, allocations: 3.984 kB / 0.7654 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.5298, allocations: 8 kB / 0.7654 GB, free: 11.54 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.5299, allocations: 83.23 kB / 0.7655 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.91e-07/0.5299, allocations: 0 / 0.7655 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003354/0.5303, allocations: 27.92 kB / 0.7655 GB, free: 11.43 MB / 0.6511 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.0005807/0.5309, allocations: 0.7046 MB / 0.7662 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.531, allocations: 23.98 kB / 0.7663 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.531, allocations: 0 / 0.7663 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.759e-05/0.531, allocations: 15.94 kB / 0.7663 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.5312, allocations: 7.938 kB / 0.7663 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.5316, allocations: 106.6 kB / 0.7664 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.532, allocations: 0.677 MB / 0.767 GB, free: 9.809 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.329e-05/0.532, allocations: 4 kB / 0.767 GB, free: 9.805 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.5321, allocations: 15.44 kB / 0.7671 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of SimCode: time 7.81e-07/0.5321, allocations: 0 / 0.7671 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/0.5509, allocations: 1.173 MB / 0.7682 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003215/0.5513, allocations: 183.8 kB / 0.7684 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.424/2.975, allocations: 3.938 kB / 0.7684 GB, free: 8.461 MB / 0.6511 GB