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.004185/0.004185, allocations: 234.9 kB / 15.81 MB, free: 6.316 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.001104/0.001104, allocations: 179.4 kB / 16.68 MB, free: 5.473 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.942/3.942, allocations: 389.1 MB / 406.5 MB, free: 11.86 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.652/3.652, allocations: 472.3 MB / 0.9024 GB, free: 18.8 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004829, allocations: 16 kB / 1.008 GB, free: 13.37 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.199, allocations: 98.71 MB / 1.105 GB, free: 10.7 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.00161/0.2007, allocations: 0.965 MB / 1.106 GB, free: 9.723 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0007165/0.2014, allocations: 294.6 kB / 1.106 GB, free: 9.438 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.603e-05/0.2014, allocations: 0.8125 kB / 1.106 GB, free: 9.438 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.2015, allocations: 3.938 kB / 1.106 GB, free: 9.434 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 4.261e-05/0.2015, allocations: 0.5312 kB / 1.106 GB, free: 9.434 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003666/0.2019, allocations: 60.47 kB / 1.106 GB, free: 9.375 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 4.534e-05/0.202, allocations: 8.844 kB / 1.106 GB, free: 9.367 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.202, allocations: 3.984 kB / 1.106 GB, free: 9.363 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.253e-05/0.202, allocations: 4 kB / 1.106 GB, free: 9.359 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 4.455e-05/0.2021, allocations: 8.594 kB / 1.106 GB, free: 9.352 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.2021, allocations: 0 / 1.106 GB, free: 9.352 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003951/0.2025, allocations: 169.1 kB / 1.106 GB, free: 9.188 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-06/0.2025, allocations: 0 / 1.106 GB, free: 9.188 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.48e-05/0.2026, allocations: 25.7 kB / 1.106 GB, free: 9.156 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001545/0.2027, allocations: 48.72 kB / 1.106 GB, free: 9.109 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.2028, allocations: 0 / 1.106 GB, free: 9.109 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2028, allocations: 0.7812 kB / 1.106 GB, free: 9.109 MB / 0.573 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.2028, allocations: 0 / 1.106 GB, free: 9.109 MB / 0.573 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.0003695/0.2032, allocations: 332.3 kB / 1.106 GB, free: 8.738 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.2032, allocations: 8.75 kB / 1.106 GB, free: 8.73 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.392e-05/0.2033, allocations: 12.73 kB / 1.106 GB, free: 8.719 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2034, allocations: 163 kB / 1.107 GB, free: 8.52 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2034, allocations: 1.156 kB / 1.107 GB, free: 8.52 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.2035, allocations: 0 / 1.107 GB, free: 8.52 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.754e-05/0.2036, allocations: 42.59 kB / 1.107 GB, free: 8.473 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2036, allocations: 4 kB / 1.107 GB, free: 8.469 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.2036, allocations: 0.9062 kB / 1.107 GB, free: 8.469 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2036, allocations: 3.953 kB / 1.107 GB, free: 8.465 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.453e-05/0.2037, allocations: 5.125 kB / 1.107 GB, free: 8.461 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.2038, allocations: 149.7 kB / 1.107 GB, free: 8.266 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.775e-05/0.2039, allocations: 27.31 kB / 1.107 GB, free: 8.23 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/0.2039, allocations: 17.73 kB / 1.107 GB, free: 8.211 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.204, allocations: 1 kB / 1.107 GB, free: 8.211 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.204, allocations: 30.56 kB / 1.107 GB, free: 8.172 MB / 0.573 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.204, allocations: 2.625 kB / 1.107 GB, free: 8.172 MB / 0.573 GB Notification: Performance of matching and sorting (n=2): time 0.0001566/0.2042, allocations: 41.64 kB / 1.107 GB, free: 8.125 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.2042, allocations: 55.41 kB / 1.107 GB, free: 8.059 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.854e-05/0.2043, allocations: 97.8 kB / 1.107 GB, free: 7.953 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.2044, allocations: 26.33 kB / 1.107 GB, free: 7.922 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.565e-05/0.2044, allocations: 84.95 kB / 1.107 GB, free: 7.836 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.2044, allocations: 7.844 kB / 1.107 GB, free: 7.828 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-06/0.2044, allocations: 1.406 kB / 1.107 GB, free: 7.828 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.2046, allocations: 314.8 kB / 1.108 GB, free: 7.512 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.711e-05/0.2046, allocations: 4 kB / 1.108 GB, free: 7.508 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.501e-05/0.2046, allocations: 5.078 kB / 1.108 GB, free: 7.504 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.263e-05/0.2047, allocations: 4 kB / 1.108 GB, free: 7.5 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2047, allocations: 0.7812 kB / 1.108 GB, free: 7.5 MB / 0.573 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.537e-05/0.2048, allocations: 38.39 kB / 1.108 GB, free: 7.457 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.2048, allocations: 4 kB / 1.108 GB, free: 7.453 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2048, allocations: 0.7812 kB / 1.108 GB, free: 7.453 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.2048, allocations: 0 / 1.108 GB, free: 7.453 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.2051, allocations: 16.7 kB / 1.108 GB, free: 7.438 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004134/0.2055, allocations: 0.5878 MB / 1.108 GB, free: 6.828 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.44e-05/0.2055, allocations: 0 / 1.108 GB, free: 6.828 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.2056, allocations: 1.406 kB / 1.108 GB, free: 6.828 MB / 0.573 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.045e-05/0.2056, allocations: 109.1 kB / 1.108 GB, free: 6.715 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.366e-05/0.2057, allocations: 8.438 kB / 1.108 GB, free: 6.707 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.2058, allocations: 49.53 kB / 1.108 GB, free: 6.648 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2058, allocations: 3.953 kB / 1.108 GB, free: 6.645 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.2058, allocations: 0.625 kB / 1.108 GB, free: 6.645 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.042e-05/0.2059, allocations: 82.8 kB / 1.108 GB, free: 6.547 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.2059, allocations: 3.984 kB / 1.108 GB, free: 6.543 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.251e-05/0.2059, allocations: 4 kB / 1.108 GB, free: 6.539 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.756e-05/0.206, allocations: 4 kB / 1.108 GB, free: 6.535 MB / 0.573 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002377/0.2062, allocations: 131 kB / 1.109 GB, free: 6.398 MB / 0.573 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001666/0.2064, allocations: 220.3 kB / 1.109 GB, free: 6.168 MB / 0.573 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.594e-05/0.2064, allocations: 5.031 kB / 1.109 GB, free: 6.164 MB / 0.573 GB Notification: Performance of sorting global known variables: time 3.826e-05/0.2065, allocations: 84.78 kB / 1.109 GB, free: 6.082 MB / 0.573 GB Notification: Performance of Backend: time 6.51e-07/0.2065, allocations: 0 / 1.109 GB, free: 6.082 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006586/0.2072, allocations: 123 kB / 1.109 GB, free: 5.957 MB / 0.573 GB Notification: Performance of SimCode: time 0.0005091/0.2077, allocations: 0.5643 MB / 1.109 GB, free: 5.34 MB / 0.573 GB Notification: Performance of Templates: time 0.003596/0.2113, allocations: 0.7054 MB / 1.11 GB, free: 4.641 MB / 0.573 GB