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.228/2.228, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002316/0.002315, allocations: 186.5 kB / 325.6 MB, free: 2.828 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.463/2.463, allocations: 205.4 MB / 0.5766 GB, free: 21.05 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.001149/0.001148, allocations: 104.4 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006209/0.000621, allocations: 15.78 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.1996, allocations: 106.3 MB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2215/0.4212, allocations: 131.9 MB / 1.028 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.4215, allocations: 79.95 kB / 1.028 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01161/0.4332, allocations: 2.287 MB / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4332, allocations: 0 / 1.03 GB, free: 11.47 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.4332, allocations: 0 / 1.03 GB, free: 11.47 MB / 0.6823 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.0003597/0.4336, allocations: 340.3 kB / 1.03 GB, free: 11.09 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.4337, allocations: 8.031 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.316e-05/0.4337, allocations: 7.953 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.4338, allocations: 159.1 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.4339, allocations: 3.938 kB / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-06/0.4339, allocations: 0 / 1.031 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.665e-05/0.434, allocations: 33.7 kB / 1.031 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.434, allocations: 3.938 kB / 1.031 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.434, allocations: 3.984 kB / 1.031 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.434, allocations: 4 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.198e-05/0.4341, allocations: 4 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001799/0.4343, allocations: 157.6 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.924e-05/0.4343, allocations: 26.53 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.4344, allocations: 0 / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4344, allocations: 34.62 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/0.4344, allocations: 4 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001485/0.4346, allocations: 41.64 kB / 1.031 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.4346, allocations: 51.41 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.4347, allocations: 92.98 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.05e-05/0.4347, allocations: 29.7 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.447e-05/0.4348, allocations: 80.14 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.4348, allocations: 3.906 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.4348, allocations: 0 / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.435, allocations: 323 kB / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.435, allocations: 0 / 1.031 GB, free: 9.883 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.59e-05/0.435, allocations: 8 kB / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.124e-05/0.435, allocations: 0 / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4351, allocations: 0 / 1.031 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.701e-05/0.4352, allocations: 41.62 kB / 1.031 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.4352, allocations: 8 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.4352, allocations: 0 / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4352, allocations: 0 / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002025/0.4354, allocations: 16.08 kB / 1.031 GB, free: 9.805 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004318/0.4359, allocations: 0.5821 MB / 1.032 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.772e-05/0.4359, allocations: 4 kB / 1.032 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.4359, allocations: 0 / 1.032 GB, free: 9.195 MB / 0.6823 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 () * Number of clocked 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.57e-05/0.436, allocations: 109.9 kB / 1.032 GB, free: 9.078 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.4361, allocations: 8 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001323/0.4362, allocations: 48.75 kB / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4362, allocations: 0 / 1.032 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.4362, allocations: 3.938 kB / 1.032 GB, free: 9.012 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4362, allocations: 3.953 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001187/0.4364, allocations: 153.7 kB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4364, allocations: 0 / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.4365, allocations: 8 kB / 1.032 GB, free: 8.801 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.4365, allocations: 3.984 kB / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.4366, allocations: 0 / 1.032 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003681/0.4369, allocations: 0.5977 MB / 1.033 GB, free: 8.176 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.437, allocations: 4 kB / 1.033 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.855e-05/0.437, allocations: 61.08 kB / 1.033 GB, free: 8.094 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.048e-05/0.4371, allocations: 81.09 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.4371, allocations: 4.125 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.816e-05/0.4372, allocations: 7.953 kB / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.241e-05/0.4372, allocations: 0 / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.496e-06/0.4372, allocations: 0 / 1.033 GB, free: 7.984 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.862e-05/0.4372, allocations: 75.28 kB / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4373, allocations: 0 / 1.033 GB, free: 7.91 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002429/0.4375, allocations: 12 kB / 1.033 GB, free: 7.898 MB / 0.6823 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 () * Number of clocked 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.0001899/0.4377, allocations: 123.3 kB / 1.033 GB, free: 7.77 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.4379, allocations: 21.23 kB / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.4379, allocations: 0 / 1.033 GB, free: 7.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.4381, allocations: 15.98 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00011/0.4382, allocations: 2.031 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.4385, allocations: 111.3 kB / 1.033 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.4388, allocations: 0.677 MB / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.809e-05/0.4388, allocations: 0 / 1.034 GB, free: 6.895 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.4389, allocations: 7.438 kB / 1.034 GB, free: 6.887 MB / 0.6823 GB Notification: Performance of SimCode: time 6.32e-07/0.4389, allocations: 3.938 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of Templates: time 0.002922/0.4418, allocations: 412.6 kB / 1.034 GB, free: 6.512 MB / 0.6823 GB