Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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.InvertingBasicFlowFunction_dp,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_dp",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.228/2.228, allocations: 251 MB / 265.9 MB, free: 11.68 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.001581/0.001581, allocations: 183.1 kB / 325.5 MB, free: 2.895 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.441/2.441, allocations: 205.4 MB / 0.5764 GB, free: 20.78 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.001092/0.001092, allocations: 99.59 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000645/0.0006449, allocations: 14.94 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2276/0.2283, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/0.4578, allocations: 132 MB / 1.028 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004868/0.4584, allocations: 83.94 kB / 1.028 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01844/0.4768, allocations: 3.447 MB / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4769, allocations: 0 / 1.031 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.4769, allocations: 0 / 1.031 GB, free: 9.754 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000399/0.4773, allocations: 357 kB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.4774, allocations: 8.031 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.933e-05/0.4774, allocations: 30.56 kB / 1.032 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.51e-05/0.4775, allocations: 7.953 kB / 1.032 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.4776, allocations: 167.1 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.4776, allocations: 0 / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.4777, allocations: 0 / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.719e-05/0.4778, allocations: 29.7 kB / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.4778, allocations: 0 / 1.032 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4778, allocations: 3.984 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4778, allocations: 0 / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.921e-05/0.4779, allocations: 11.94 kB / 1.032 GB, free: 9.051 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.4781, allocations: 157.7 kB / 1.032 GB, free: 8.848 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.025e-05/0.4781, allocations: 26.58 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.4782, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.4782, allocations: 30.56 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.4782, allocations: 0 / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.4784, allocations: 49.69 kB / 1.032 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4784, allocations: 51.41 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.816e-05/0.4785, allocations: 93.12 kB / 1.032 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.4785, allocations: 25.7 kB / 1.032 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.764e-05/0.4786, allocations: 80.14 kB / 1.032 GB, free: 8.445 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.4786, allocations: 7.891 kB / 1.032 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.4786, allocations: 4 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.4788, allocations: 314.8 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.794e-05/0.4788, allocations: 4 kB / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.4788, allocations: 0 / 1.033 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.4788, allocations: 8.188 kB / 1.033 GB, free: 8.105 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4789, allocations: 3.938 kB / 1.033 GB, free: 8.102 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.323e-05/0.479, allocations: 41.64 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.479, allocations: 9.859 kB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.479, allocations: 0 / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.479, allocations: 4 kB / 1.033 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.4792, allocations: 7.938 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004555/0.4797, allocations: 0.5899 MB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.114e-05/0.4798, allocations: 7.891 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.4798, allocations: 0 / 1.033 GB, free: 7.414 MB / 0.6823 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 () * Number of clocked 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 9.87e-05/0.4799, allocations: 105.8 kB / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.114e-05/0.4799, allocations: 8.031 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.4801, allocations: 48.75 kB / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.4801, allocations: 0 / 1.033 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.4801, allocations: 4.125 kB / 1.033 GB, free: 7.234 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4801, allocations: 3.953 kB / 1.033 GB, free: 7.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.4803, allocations: 149.7 kB / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4803, allocations: 0 / 1.034 GB, free: 7.035 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.4804, allocations: 11.98 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.4804, allocations: 0 / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.4805, allocations: 0 / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00038/0.4808, allocations: 0.5821 MB / 1.034 GB, free: 6.418 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4809, allocations: 8.031 kB / 1.034 GB, free: 6.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.481, allocations: 65.16 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.481, allocations: 81.05 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.496e-05/0.4811, allocations: 4 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.223e-05/0.4811, allocations: 3.953 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.29e-05/0.4811, allocations: 7.984 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.4811, allocations: 0 / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.337e-05/0.4812, allocations: 79.31 kB / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4812, allocations: 0 / 1.034 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002725/0.4815, allocations: 12 kB / 1.034 GB, free: 6.125 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 (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.0005231/0.482, allocations: 0.6203 MB / 1.035 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002088/0.4822, allocations: 16 kB / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.4823, allocations: 0 / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.4824, allocations: 19.92 kB / 1.035 GB, free: 5.441 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001233/0.4825, allocations: 7.891 kB / 1.035 GB, free: 5.434 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.483, allocations: 152.8 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.4833, allocations: 0.677 MB / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.835e-05/0.4834, allocations: 0 / 1.036 GB, free: 4.539 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.846e-05/0.4834, allocations: 7.438 kB / 1.036 GB, free: 4.531 MB / 0.6823 GB Notification: Performance of SimCode: time 8.92e-07/0.4834, allocations: 4 kB / 1.036 GB, free: 4.527 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02153/0.505, allocations: 1.129 MB / 1.037 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002574/0.5053, allocations: 255.2 kB / 1.037 GB, free: 3.375 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.357/2.862, allocations: 0 / 1.037 GB, free: 3.375 MB / 0.6823 GB