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.284/2.284, allocations: 248.5 MB / 261.1 MB, free: 5.953 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.001521/0.001521, allocations: 190.6 kB / 320.4 MB, free: 15.35 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.2 MB / 0.571 GB, free: 11.75 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.001121/0.001121, allocations: 90.44 kB / 0.6754 GB, free: 0.8438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.123e-05/4.14e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.222, allocations: 106.2 MB / 0.8907 GB, free: 7.465 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8264/1.048, allocations: 132 MB / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/1.049, allocations: 82.59 kB / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01744/1.066, allocations: 3.451 MB / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.066, allocations: 0 / 1.023 GB, free: 288 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.066, allocations: 4 kB / 1.023 GB, free: 284 kB / 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.0004143/1.067, allocations: 338.3 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.567e-05/1.067, allocations: 12.03 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.279e-05/1.067, allocations: 30.56 kB / 1.023 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/1.067, allocations: 11.14 kB / 1.023 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/1.067, allocations: 159.1 kB / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/1.067, allocations: 0 / 1.024 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.938e-05/1.067, allocations: 7.984 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/1.067, allocations: 29.7 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/1.067, allocations: 4 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/1.067, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/1.067, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.591e-05/1.067, allocations: 7.75 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/1.067, allocations: 149.6 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/1.068, allocations: 29.48 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/1.068, allocations: 8.859 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.189e-05/1.068, allocations: 4.062 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/1.068, allocations: 33.69 kB / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.954e-06/1.068, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001477/1.068, allocations: 33.7 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/1.068, allocations: 51.41 kB / 1.024 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.957e-05/1.068, allocations: 92.11 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/1.068, allocations: 37.8 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 3.54e-05/1.068, allocations: 80.14 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/1.068, allocations: 7.844 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.317e-06/1.068, allocations: 0 / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001228/1.068, allocations: 317.9 kB / 1.024 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/1.068, allocations: 4 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.33e-05/1.068, allocations: 3.938 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.414e-05/1.068, allocations: 4 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/1.068, allocations: 4.062 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.302e-05/1.068, allocations: 40.88 kB / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/1.068, allocations: 4 kB / 1.024 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.068, allocations: 4 kB / 1.024 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/1.069, allocations: 0 / 1.024 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/1.069, allocations: 11.98 kB / 1.024 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004529/1.069, allocations: 0.5888 MB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/1.069, allocations: 8.031 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-06/1.069, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.6511 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.608e-05/1.069, allocations: 108.6 kB / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.078e-05/1.069, allocations: 0 / 1.025 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/1.07, allocations: 48.08 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.07, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/1.07, allocations: 7.891 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/1.07, allocations: 0 / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/1.07, allocations: 153.7 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.07, allocations: 0 / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001574/1.07, allocations: 8 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/1.07, allocations: 0 / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/1.07, allocations: 4 kB / 1.025 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004191/1.07, allocations: 0.5896 MB / 1.026 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/1.07, allocations: 3.984 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/1.071, allocations: 64.67 kB / 1.026 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/1.071, allocations: 77.11 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.665e-05/1.071, allocations: 3.953 kB / 1.026 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.906e-05/1.071, allocations: 7.984 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/1.071, allocations: 3.984 kB / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/1.071, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.528e-05/1.071, allocations: 83.31 kB / 1.026 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.5e-07/1.071, allocations: 0 / 1.026 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002699/1.071, allocations: 15.56 kB / 1.026 GB, free: 12.7 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 (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.0005245/1.072, allocations: 0.6119 MB / 1.027 GB, free: 12.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002511/1.072, allocations: 24 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/1.072, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/1.072, allocations: 19.92 kB / 1.027 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/1.072, allocations: 8.641 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/1.073, allocations: 83.7 kB / 1.027 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/1.073, allocations: 0.6809 MB / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.305e-05/1.073, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.084e-05/1.073, allocations: 19.5 kB / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of SimCode: time 8.12e-07/1.073, allocations: 0 / 1.028 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/1.098, allocations: 1.129 MB / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002571/1.098, allocations: 215.1 kB / 1.029 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.249/3.347, allocations: 0 / 1.029 GB, free: 10.02 MB / 0.6511 GB