Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.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_m_flow,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.339/2.339, allocations: 248.7 MB / 256.2 MB, free: 7.074 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.0015/0.0015, allocations: 178.2 kB / 315.4 MB, free: 4.008 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.09/2.09, allocations: 205.3 MB / 0.5662 GB, free: 0.6094 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.001169/0.001168, allocations: 84.14 kB / 0.6704 GB, free: 5.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.37e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2212, allocations: 106.3 MB / 0.8841 GB, free: 12.99 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8879/1.109, allocations: 132.1 MB / 1.013 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003259/1.11, allocations: 82.44 kB / 1.013 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01187/1.121, allocations: 2.264 MB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.703e-06/1.122, allocations: 0 / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.215e-06/1.122, allocations: 0 / 1.015 GB, free: 5.055 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.0003945/1.122, allocations: 337.6 kB / 1.016 GB, free: 4.684 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/1.122, allocations: 8.031 kB / 1.016 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/1.122, allocations: 11.95 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/1.122, allocations: 159.1 kB / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/1.122, allocations: 0 / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-06/1.122, allocations: 0 / 1.016 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.234e-05/1.122, allocations: 11.92 kB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.976e-05/1.122, allocations: 29.7 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/1.122, allocations: 0 / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/1.122, allocations: 0 / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.122, allocations: 0 / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001888/1.123, allocations: 141.4 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/1.123, allocations: 22.56 kB / 1.016 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.633e-05/1.123, allocations: 9.234 kB / 1.016 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/1.123, allocations: 8.047 kB / 1.016 GB, free: 4.203 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/1.123, allocations: 38.19 kB / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.533e-06/1.123, allocations: 0 / 1.016 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001565/1.123, allocations: 29.7 kB / 1.016 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/1.123, allocations: 59.44 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.636e-05/1.123, allocations: 88 kB / 1.016 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/1.123, allocations: 25.7 kB / 1.016 GB, free: 3.934 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.373e-05/1.123, allocations: 80.14 kB / 1.016 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/1.123, allocations: 11.89 kB / 1.016 GB, free: 3.84 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/1.123, allocations: 7.875 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.124, allocations: 313.8 kB / 1.017 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/1.124, allocations: 4.125 kB / 1.017 GB, free: 3.516 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/1.124, allocations: 4 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.286e-05/1.124, allocations: 3.953 kB / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/1.124, allocations: 0 / 1.017 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.543e-05/1.124, allocations: 37.64 kB / 1.017 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.268e-05/1.124, allocations: 11.98 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.124, allocations: 0 / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/1.124, allocations: 0 / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/1.124, allocations: 10.75 kB / 1.017 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004817/1.125, allocations: 0.5816 MB / 1.017 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.468e-05/1.125, allocations: 11.84 kB / 1.017 GB, free: 2.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-06/1.125, allocations: 4.031 kB / 1.017 GB, free: 2.828 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 0.0001153/1.125, allocations: 103.6 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.748e-05/1.125, allocations: 41.14 kB / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-06/1.125, allocations: 0 / 1.018 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/1.125, allocations: 49.52 kB / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/1.125, allocations: 0 / 1.018 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/1.125, allocations: 3.953 kB / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.125, allocations: 0 / 1.018 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001327/1.125, allocations: 133.6 kB / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.125, allocations: 0 / 1.018 GB, free: 2.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001497/1.125, allocations: 8 kB / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/1.125, allocations: 0 / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/1.125, allocations: 0 / 1.018 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004475/1.126, allocations: 0.597 MB / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.126, allocations: 0 / 1.018 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.637e-05/1.126, allocations: 60.27 kB / 1.018 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.382e-05/1.126, allocations: 81.09 kB / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/1.126, allocations: 0 / 1.018 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.62e-05/1.126, allocations: 12.08 kB / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.041e-05/1.126, allocations: 0 / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-06/1.126, allocations: 0 / 1.018 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.22e-05/1.126, allocations: 79.16 kB / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.495e-06/1.126, allocations: 0 / 1.019 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002743/1.126, allocations: 15.94 kB / 1.019 GB, free: 1.555 MB / 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.0005607/1.127, allocations: 0.6193 MB / 1.019 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002431/1.127, allocations: 8 kB / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.127, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/1.127, allocations: 11.98 kB / 1.019 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001486/1.128, allocations: 15.27 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/1.128, allocations: 93.73 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/1.128, allocations: 0.6768 MB / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.327e-05/1.128, allocations: 0 / 1.02 GB, free: 52 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/1.128, allocations: 7.438 kB / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of SimCode: time 1.172e-06/1.128, allocations: 0 / 1.02 GB, free: 44 kB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03557/1.164, allocations: 0.7384 MB / 1.021 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003698/1.164, allocations: 183.9 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.319/3.483, allocations: 4.375 kB / 1.021 GB, free: 15.14 MB / 0.6511 GB