Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01028/0.01029, allocations: 222.5 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001054/0.001054, allocations: 181.3 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.612/3.612, allocations: 389.1 MB / 405.9 MB, free: 11.75 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.774/3.774, allocations: 472.3 MB / 0.9018 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005113/0.0005116, allocations: 13.36 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1269, allocations: 98.73 MB / 1.104 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001012/0.128, allocations: 0.965 MB / 1.105 GB, free: 41.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004575/0.1284, allocations: 288.2 kB / 1.105 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.984e-05/0.1285, allocations: 0 / 1.105 GB, free: 40.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.1285, allocations: 3.938 kB / 1.105 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.108e-05/0.1285, allocations: 3.938 kB / 1.105 GB, free: 40.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002781/0.1288, allocations: 51.8 kB / 1.105 GB, free: 40.75 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.451e-05/0.1289, allocations: 15.22 kB / 1.105 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.1289, allocations: 7.984 kB / 1.105 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.129, allocations: 0 / 1.105 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.387e-05/0.129, allocations: 4 kB / 1.105 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 9.079e-06/0.129, allocations: 0 / 1.105 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002587/0.1293, allocations: 167.6 kB / 1.105 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.869e-06/0.1293, allocations: 0 / 1.105 GB, free: 40.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.696e-05/0.1293, allocations: 33.64 kB / 1.106 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001055/0.1294, allocations: 47.45 kB / 1.106 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.803e-06/0.1295, allocations: 0 / 1.106 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.742e-06/0.1295, allocations: 0 / 1.106 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.265e-06/0.1295, allocations: 0 / 1.106 GB, free: 40.48 MB / 0.6042 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.0002444/0.1297, allocations: 331.3 kB / 1.106 GB, free: 40.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.244e-05/0.1298, allocations: 8.031 kB / 1.106 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.451e-05/0.1298, allocations: 3.953 kB / 1.106 GB, free: 40.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.909e-05/0.1299, allocations: 179 kB / 1.106 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1299, allocations: 2.344 kB / 1.106 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.1299, allocations: 0 / 1.106 GB, free: 39.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.372e-05/0.13, allocations: 29.7 kB / 1.106 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.319e-06/0.13, allocations: 0 / 1.106 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.941e-06/0.13, allocations: 0 / 1.106 GB, free: 39.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.591e-06/0.1301, allocations: 11.2 kB / 1.106 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.505e-05/0.1301, allocations: 7.938 kB / 1.106 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.1302, allocations: 156.6 kB / 1.106 GB, free: 39.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.374e-05/0.1303, allocations: 18.58 kB / 1.106 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/0.1303, allocations: 12.92 kB / 1.106 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.1304, allocations: 0 / 1.106 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.1304, allocations: 37.92 kB / 1.106 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.516e-06/0.1304, allocations: 0 / 1.106 GB, free: 39.55 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0001147/0.1305, allocations: 41.64 kB / 1.106 GB, free: 39.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.1305, allocations: 51.41 kB / 1.106 GB, free: 39.44 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.164e-05/0.1306, allocations: 97.81 kB / 1.107 GB, free: 39.33 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.823e-06/0.1306, allocations: 25.7 kB / 1.107 GB, free: 39.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.746e-05/0.1306, allocations: 86.62 kB / 1.107 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.999e-05/0.1307, allocations: 11.91 kB / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-06/0.1307, allocations: 0 / 1.107 GB, free: 39.2 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.52e-05/0.1307, allocations: 310.8 kB / 1.107 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.1308, allocations: 0 / 1.107 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.1308, allocations: 7.219 kB / 1.107 GB, free: 38.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.855e-05/0.1308, allocations: 4 kB / 1.107 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1308, allocations: 3.938 kB / 1.107 GB, free: 38.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.411e-05/0.1309, allocations: 45.62 kB / 1.107 GB, free: 38.83 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.1309, allocations: 4 kB / 1.107 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.24e-06/0.1309, allocations: 0 / 1.107 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.131, allocations: 0 / 1.107 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1311, allocations: 14.19 kB / 1.107 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002606/0.1314, allocations: 0.586 MB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.1315, allocations: 6 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.1315, allocations: 0 / 1.108 GB, free: 38.2 MB / 0.6042 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 5.291e-05/0.1315, allocations: 109.8 kB / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.1316, allocations: 3.906 kB / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.1317, allocations: 56.2 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-06/0.1317, allocations: 4 kB / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.438e-06/0.1317, allocations: 0 / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1317, allocations: 0 / 1.108 GB, free: 38.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.664e-05/0.1318, allocations: 149.7 kB / 1.108 GB, free: 37.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.216e-06/0.1318, allocations: 4 kB / 1.108 GB, free: 37.81 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.851e-05/0.1319, allocations: 7.938 kB / 1.108 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.349e-06/0.1319, allocations: 4 kB / 1.108 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.1319, allocations: 2.531 kB / 1.108 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002129/0.1322, allocations: 0.5898 MB / 1.108 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.73e-06/0.1322, allocations: 0 / 1.108 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.63e-05/0.1322, allocations: 60.58 kB / 1.109 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.994e-05/0.1323, allocations: 89.06 kB / 1.109 GB, free: 37.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.1323, allocations: 3.984 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.058e-05/0.1323, allocations: 1.922 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.1324, allocations: 0 / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-06/0.1324, allocations: 6.656 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.316e-05/0.1324, allocations: 79.28 kB / 1.109 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.36e-07/0.1324, allocations: 0 / 1.109 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002472/0.1327, allocations: 8 kB / 1.109 GB, free: 36.91 MB / 0.6042 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.0001296/0.1328, allocations: 118.4 kB / 1.109 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.133, allocations: 28.7 kB / 1.109 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.857e-06/0.133, allocations: 0 / 1.109 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1331, allocations: 11.98 kB / 1.109 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001669/0.1333, allocations: 4 kB / 1.109 GB, free: 36.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002603/0.1336, allocations: 110.3 kB / 1.109 GB, free: 36.61 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001035/0.1337, allocations: 0.677 MB / 1.11 GB, free: 35.91 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.1337, allocations: 7.938 kB / 1.11 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.156e-05/0.1337, allocations: 7.438 kB / 1.11 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of SimCode: time 1.272e-06/0.1337, allocations: 0 / 1.11 GB, free: 35.89 MB / 0.6042 GB Notification: Performance of Templates: time 0.002542/0.1363, allocations: 428.5 kB / 1.11 GB, free: 35.5 MB / 0.6042 GB