Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.392/2.392, allocations: 253.2 MB / 260.6 MB, free: 7.488 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001395/0.001395, allocations: 189.5 kB / 319.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.6 MB / 0.5708 GB, free: 15.27 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 92.91 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.075e-05/2.085e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1927/0.1927, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8439/1.037, allocations: 132.1 MB / 1.018 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/1.037, allocations: 85.78 kB / 1.018 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01097/1.048, allocations: 2.263 MB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.382e-06/1.048, allocations: 0 / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.974e-06/1.048, allocations: 0 / 1.02 GB, free: 3.266 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.0003603/1.049, allocations: 333.8 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.049, allocations: 16.02 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/1.049, allocations: 7.953 kB / 1.02 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/1.049, allocations: 159.1 kB / 1.02 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/1.049, allocations: 0 / 1.02 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/1.049, allocations: 0 / 1.02 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.836e-05/1.049, allocations: 7.938 kB / 1.02 GB, free: 2.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.521e-05/1.049, allocations: 32.23 kB / 1.02 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/1.049, allocations: 0 / 1.02 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/1.049, allocations: 3.984 kB / 1.02 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/1.049, allocations: 3.984 kB / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001685/1.049, allocations: 141.7 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.491e-05/1.049, allocations: 18.61 kB / 1.021 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.142e-05/1.049, allocations: 4.859 kB / 1.021 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/1.049, allocations: 4.062 kB / 1.021 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/1.049, allocations: 37.5 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.522e-06/1.049, allocations: 0 / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001429/1.05, allocations: 41.69 kB / 1.021 GB, free: 2.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/1.05, allocations: 51.41 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.888e-05/1.05, allocations: 88.75 kB / 1.021 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/1.05, allocations: 25.7 kB / 1.021 GB, free: 2.145 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/1.05, allocations: 84.14 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/1.05, allocations: 3.906 kB / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/1.05, allocations: 3.938 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.05, allocations: 310.8 kB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/1.05, allocations: 4.156 kB / 1.021 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/1.05, allocations: 11.3 kB / 1.021 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.216e-05/1.05, allocations: 7.953 kB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.05, allocations: 0 / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.905e-05/1.05, allocations: 37.64 kB / 1.021 GB, free: 1.676 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/1.05, allocations: 4 kB / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/1.05, allocations: 0 / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/1.05, allocations: 0 / 1.021 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/1.05, allocations: 11.98 kB / 1.021 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004148/1.051, allocations: 0.5815 MB / 1.022 GB, free: 1.059 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.812e-05/1.051, allocations: 3.984 kB / 1.022 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/1.051, allocations: 7.438 kB / 1.022 GB, free: 1.051 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 7.836e-05/1.051, allocations: 101 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.234e-05/1.051, allocations: 3.906 kB / 1.022 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/1.051, allocations: 57.36 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.051, allocations: 0 / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.051, allocations: 0 / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/1.051, allocations: 4 kB / 1.022 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/1.051, allocations: 133.5 kB / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/1.051, allocations: 0 / 1.022 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001219/1.051, allocations: 8 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.051, allocations: 3.984 kB / 1.022 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/1.051, allocations: 0 / 1.022 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003507/1.052, allocations: 0.585 MB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.052, allocations: 3.953 kB / 1.023 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.477e-05/1.052, allocations: 60.17 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/1.052, allocations: 84.59 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/1.052, allocations: 0 / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.08e-05/1.052, allocations: 4 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.785e-05/1.052, allocations: 4.125 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/1.052, allocations: 7.953 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.948e-05/1.052, allocations: 75.28 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.052, allocations: 4 kB / 1.023 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002862/1.052, allocations: 11.94 kB / 1.023 GB, free: 15.81 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.0001959/1.053, allocations: 111.2 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001938/1.053, allocations: 23.14 kB / 1.023 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.053, allocations: 0 / 1.023 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/1.053, allocations: 11.94 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001253/1.053, allocations: 4 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/1.053, allocations: 51.98 kB / 1.023 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/1.054, allocations: 0.6768 MB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.192e-05/1.054, allocations: 3.906 kB / 1.024 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.411e-05/1.054, allocations: 11.56 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of SimCode: time 7.11e-07/1.054, allocations: 0 / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of Templates: time 0.002983/1.057, allocations: 420.1 kB / 1.024 GB, free: 14.5 MB / 0.6511 GB