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.348/2.348, allocations: 248.7 MB / 256.2 MB, free: 7.031 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 183.7 kB / 315.4 MB, free: 3.984 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.089/2.089, allocations: 205.3 MB / 0.5662 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001134, allocations: 101.2 kB / 0.6704 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.621e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2456, allocations: 106.3 MB / 0.8841 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.894/1.14, allocations: 132.2 MB / 1.013 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002636/1.14, allocations: 75.14 kB / 1.013 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01696/1.157, allocations: 3.435 MB / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.353e-06/1.157, allocations: 0 / 1.017 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.396e-06/1.157, allocations: 7.562 kB / 1.017 GB, free: 3.621 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.0004228/1.157, allocations: 342.3 kB / 1.017 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/1.157, allocations: 8.031 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/1.158, allocations: 3.953 kB / 1.017 GB, free: 3.23 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/1.158, allocations: 167.1 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/1.158, allocations: 0 / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/1.158, allocations: 3.938 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.946e-05/1.158, allocations: 4 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.873e-05/1.158, allocations: 32.77 kB / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/1.158, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/1.158, allocations: 0 / 1.017 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/1.158, allocations: 5.031 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001665/1.158, allocations: 130.2 kB / 1.017 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.61e-05/1.158, allocations: 21.17 kB / 1.017 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/1.158, allocations: 8.922 kB / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/1.158, allocations: 0 / 1.017 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/1.158, allocations: 40.75 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.683e-06/1.158, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001461/1.158, allocations: 37.69 kB / 1.017 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.158, allocations: 51.41 kB / 1.017 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.584e-05/1.159, allocations: 92.06 kB / 1.018 GB, free: 2.531 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/1.159, allocations: 25.7 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/1.159, allocations: 84.08 kB / 1.018 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/1.159, allocations: 8.062 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/1.159, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.159, allocations: 317.5 kB / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.253e-05/1.159, allocations: 0 / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.3e-05/1.159, allocations: 0 / 1.018 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.348e-05/1.159, allocations: 11.89 kB / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.159, allocations: 0 / 1.018 GB, free: 2.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.084e-05/1.159, allocations: 44.38 kB / 1.018 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/1.159, allocations: 5.969 kB / 1.018 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/1.159, allocations: 4.703 kB / 1.018 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/1.159, allocations: 4 kB / 1.018 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002238/1.159, allocations: 7.984 kB / 1.018 GB, free: 2.012 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004413/1.16, allocations: 0.5816 MB / 1.019 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.448e-05/1.16, allocations: 7.859 kB / 1.019 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/1.16, allocations: 0 / 1.019 GB, free: 1.402 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.844e-05/1.16, allocations: 111.5 kB / 1.019 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.497e-05/1.16, allocations: 45.06 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-06/1.16, allocations: 0 / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/1.16, allocations: 45.39 kB / 1.019 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.16, allocations: 3.984 kB / 1.019 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/1.16, allocations: 3.953 kB / 1.019 GB, free: 1.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.16, allocations: 3.984 kB / 1.019 GB, free: 1.176 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/1.16, allocations: 129.6 kB / 1.019 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/1.16, allocations: 4.062 kB / 1.019 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/1.161, allocations: 11.98 kB / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/1.161, allocations: 0 / 1.019 GB, free: 1 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/1.161, allocations: 4 kB / 1.019 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003762/1.161, allocations: 0.5851 MB / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.161, allocations: 0 / 1.02 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/1.161, allocations: 72.59 kB / 1.02 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.326e-05/1.161, allocations: 77.11 kB / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/1.161, allocations: 0 / 1.02 GB, free: 216 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.434e-05/1.161, allocations: 3.953 kB / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/1.161, allocations: 0 / 1.02 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/1.161, allocations: 4 kB / 1.02 GB, free: 208 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.036e-05/1.161, allocations: 78.59 kB / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/1.161, allocations: 0 / 1.02 GB, free: 132 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002802/1.162, allocations: 20.05 kB / 1.02 GB, free: 112 kB / 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.0005177/1.162, allocations: 0.6079 MB / 1.02 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002096/1.162, allocations: 15.92 kB / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.162, allocations: 2.969 kB / 1.02 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/1.163, allocations: 15.94 kB / 1.02 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/1.163, allocations: 15.88 kB / 1.02 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/1.163, allocations: 81.66 kB / 1.021 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/1.163, allocations: 0.6768 MB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.131e-05/1.163, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.957e-05/1.163, allocations: 10.31 kB / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of SimCode: time 9.92e-07/1.163, allocations: 0 / 1.021 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03446/1.198, allocations: 0.7339 MB / 1.022 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002784/1.198, allocations: 178.7 kB / 1.022 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.462/3.661, allocations: 0 / 1.022 GB, free: 13.68 MB / 0.6511 GB