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_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.298/2.298, allocations: 252.6 MB / 265.2 MB, free: 5.715 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.001498/0.001497, allocations: 192.5 kB / 324.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.039/2.039, allocations: 205.4 MB / 0.5753 GB, free: 10.44 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.001093/0.001093, allocations: 86.69 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.417e-05, allocations: 4 kB / 0.7911 GB, free: 96.57 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1864/0.1864, allocations: 106.2 MB / 0.8949 GB, free: 6.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.862/1.049, allocations: 132 MB / 1.024 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/1.049, allocations: 87.86 kB / 1.024 GB, free: 2.508 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01751/1.066, allocations: 3.448 MB / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.963e-06/1.066, allocations: 0 / 1.027 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.304e-06/1.067, allocations: 0 / 1.027 GB, free: 15.59 MB / 0.6511 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.0003723/1.067, allocations: 334.3 kB / 1.028 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/1.067, allocations: 8.031 kB / 1.028 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/1.067, allocations: 3.953 kB / 1.028 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/1.067, allocations: 171 kB / 1.028 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/1.067, allocations: 4 kB / 1.028 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/1.067, allocations: 3.125 kB / 1.028 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.913e-05/1.067, allocations: 33.69 kB / 1.028 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/1.067, allocations: 0 / 1.028 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/1.067, allocations: 0 / 1.028 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.067, allocations: 0 / 1.028 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.337e-05/1.067, allocations: 4 kB / 1.028 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001836/1.068, allocations: 161.1 kB / 1.028 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.686e-05/1.068, allocations: 29.92 kB / 1.028 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/1.068, allocations: 8.922 kB / 1.028 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/1.068, allocations: 0 / 1.028 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.47e-05/1.068, allocations: 30.56 kB / 1.028 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/1.068, allocations: 0 / 1.028 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2): time 0.0001303/1.068, allocations: 36.89 kB / 1.028 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/1.068, allocations: 51.41 kB / 1.028 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.614e-05/1.068, allocations: 97.02 kB / 1.028 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/1.068, allocations: 25.7 kB / 1.028 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.335e-05/1.068, allocations: 83.83 kB / 1.028 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/1.068, allocations: 3.906 kB / 1.028 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-06/1.068, allocations: 4 kB / 1.028 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.068, allocations: 314.8 kB / 1.029 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.114e-05/1.068, allocations: 7.875 kB / 1.029 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.487e-05/1.068, allocations: 4.125 kB / 1.029 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.13e-05/1.068, allocations: 7.062 kB / 1.029 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/1.068, allocations: 4 kB / 1.029 GB, free: 14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.536e-05/1.069, allocations: 37.69 kB / 1.029 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/1.069, allocations: 4 kB / 1.029 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/1.069, allocations: 0 / 1.029 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/1.069, allocations: 0 / 1.029 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/1.069, allocations: 8 kB / 1.029 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004647/1.069, allocations: 0.5961 MB / 1.029 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/1.069, allocations: 7.969 kB / 1.029 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/1.069, allocations: 0 / 1.029 GB, free: 13.33 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 7.873e-05/1.069, allocations: 103.4 kB / 1.029 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/1.069, allocations: 3.906 kB / 1.029 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/1.07, allocations: 48.52 kB / 1.029 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.07, allocations: 4.125 kB / 1.029 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.07, allocations: 4 kB / 1.029 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/1.07, allocations: 3.953 kB / 1.029 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/1.07, allocations: 144.6 kB / 1.03 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.07, allocations: 7.984 kB / 1.03 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001336/1.07, allocations: 7.938 kB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/1.07, allocations: 4 kB / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/1.07, allocations: 0 / 1.03 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003969/1.07, allocations: 0.5862 MB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.07, allocations: 0 / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000103/1.071, allocations: 64.72 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/1.071, allocations: 81.05 kB / 1.03 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.351e-05/1.071, allocations: 0 / 1.03 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.421e-05/1.071, allocations: 3.953 kB / 1.03 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.231e-05/1.071, allocations: 6.734 kB / 1.03 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.833e-06/1.071, allocations: 8.125 kB / 1.03 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.664e-05/1.071, allocations: 75.28 kB / 1.03 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.071, allocations: 0 / 1.03 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002642/1.071, allocations: 15.94 kB / 1.03 GB, free: 12.06 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.0002397/1.071, allocations: 115.2 kB / 1.03 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002217/1.072, allocations: 18.67 kB / 1.03 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.072, allocations: 160 / 1.03 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/1.072, allocations: 23.94 kB / 1.03 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001202/1.072, allocations: 4 kB / 1.03 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/1.072, allocations: 54.05 kB / 1.031 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/1.072, allocations: 0.677 MB / 1.031 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.06e-05/1.072, allocations: 0 / 1.031 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.65e-05/1.072, allocations: 7.438 kB / 1.031 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of SimCode: time 9.21e-07/1.072, allocations: 64 / 1.031 GB, free: 11.12 MB / 0.6511 GB Notification: Performance of Templates: time 0.003121/1.076, allocations: 423 kB / 1.032 GB, free: 10.72 MB / 0.6511 GB