Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.619/2.619, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00165/0.00165, allocations: 174 kB / 325.5 MB, free: 2.926 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.462/2.462, allocations: 205.4 MB / 0.5764 GB, free: 20.82 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 91.86 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004959/0.0004959, allocations: 13.44 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2208, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2331/0.454, allocations: 133.2 MB / 1.029 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003982/0.4545, allocations: 79.95 kB / 1.029 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02966/0.4842, allocations: 5.326 MB / 1.034 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.046e-06/0.4842, allocations: 3.938 kB / 1.034 GB, free: 6.707 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.386e-06/0.4842, allocations: 4 kB / 1.034 GB, free: 6.703 MB / 0.6823 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.0005574/0.4848, allocations: 363.2 kB / 1.035 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/0.4849, allocations: 12.03 kB / 1.035 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.398e-05/0.4849, allocations: 34.56 kB / 1.035 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.485, allocations: 3.953 kB / 1.035 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.4851, allocations: 163.1 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.4852, allocations: 4 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.4852, allocations: 0 / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.4853, allocations: 45.69 kB / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4854, allocations: 0 / 1.035 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4854, allocations: 3.938 kB / 1.035 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.4854, allocations: 3.953 kB / 1.035 GB, free: 5.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.4855, allocations: 15.94 kB / 1.035 GB, free: 5.965 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.4859, allocations: 252.9 kB / 1.035 GB, free: 5.668 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.4862, allocations: 46.62 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.4863, allocations: 8.078 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.4863, allocations: 34.56 kB / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 2.966e-06/0.4864, allocations: 0 / 1.035 GB, free: 5.562 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0002375/0.4866, allocations: 61.48 kB / 1.035 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.4867, allocations: 51.41 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.857e-05/0.4868, allocations: 93 kB / 1.035 GB, free: 5.336 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.4868, allocations: 25.7 kB / 1.035 GB, free: 5.305 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.4869, allocations: 92.08 kB / 1.035 GB, free: 5.211 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.4869, allocations: 15.8 kB / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.4869, allocations: 0 / 1.035 GB, free: 5.195 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4871, allocations: 310.8 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.106e-05/0.4871, allocations: 8 kB / 1.036 GB, free: 4.875 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.565e-05/0.4872, allocations: 21.7 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.822e-05/0.4872, allocations: 12.38 kB / 1.036 GB, free: 4.836 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.4872, allocations: 4 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001498/0.4874, allocations: 65.61 kB / 1.036 GB, free: 4.762 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.4874, allocations: 4 kB / 1.036 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.4874, allocations: 128 / 1.036 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4875, allocations: 0 / 1.036 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.684e-05/0.4876, allocations: 15.95 kB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.4876, allocations: 3.938 kB / 1.036 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.4876, allocations: 4 kB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.4877, allocations: 0 / 1.036 GB, free: 4.734 MB / 0.6823 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.0001187/0.4878, allocations: 123.8 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.147e-05/0.4878, allocations: 3.906 kB / 1.036 GB, free: 4.602 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.488, allocations: 61.12 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4881, allocations: 0 / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4881, allocations: 3.953 kB / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4881, allocations: 0 / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.4883, allocations: 157.7 kB / 1.036 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.4883, allocations: 0 / 1.036 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.766e-05/0.4884, allocations: 15.86 kB / 1.036 GB, free: 4.309 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.177e-06/0.4885, allocations: 4 kB / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.4885, allocations: 0 / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.4885, allocations: 0 / 1.036 GB, free: 4.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4885, allocations: 4 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.4887, allocations: 143.5 kB / 1.036 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.4888, allocations: 85.02 kB / 1.036 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.4888, allocations: 0 / 1.036 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.63e-05/0.4889, allocations: 0 / 1.036 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.4889, allocations: 11.98 kB / 1.036 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.4889, allocations: 4 kB / 1.036 GB, free: 4.027 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.673e-05/0.489, allocations: 75.28 kB / 1.037 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.489, allocations: 0 / 1.037 GB, free: 3.953 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003477/0.4893, allocations: 27.89 kB / 1.037 GB, free: 3.926 MB / 0.6823 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.0007271/0.4901, allocations: 0.7163 MB / 1.037 GB, free: 3.184 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001374/0.4902, allocations: 20 kB / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4903, allocations: 0 / 1.037 GB, free: 3.164 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 4.172e-05/0.4903, allocations: 15.92 kB / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001699/0.4905, allocations: 0 / 1.037 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006136/0.4911, allocations: 177.3 kB / 1.037 GB, free: 2.934 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.4915, allocations: 0.6849 MB / 1.038 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.121e-05/0.4915, allocations: 4 kB / 1.038 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.4916, allocations: 7.438 kB / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/0.4916, allocations: 0 / 1.038 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.5117, allocations: 1.179 MB / 1.039 GB, free: 1.199 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003592/0.5122, allocations: 203.5 kB / 1.039 GB, free: 0.9609 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/2.778, allocations: 0 / 1.039 GB, free: 0.9609 MB / 0.6823 GB