Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.692/4.692, allocations: 0.5623 GB / 0.5776 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002468/0.002468, allocations: 359.4 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.089/4.089, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001793/0.001793, allocations: 179.8 kB / 1.226 GB, free: 36.01 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006294, allocations: 8 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1948, allocations: 115.3 MB / 1.461 GB, free: 6.641 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck): time 0.001385/0.1962, allocations: 1.002 MB / 1.462 GB, free: 5.625 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006739/0.197, allocations: 332.2 kB / 1.463 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.013e-05/0.197, allocations: 0 / 1.463 GB, free: 5.301 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.197, allocations: 3.984 kB / 1.463 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.752e-05/0.1971, allocations: 3.938 kB / 1.463 GB, free: 5.293 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004064/0.1975, allocations: 59.73 kB / 1.463 GB, free: 5.234 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.128e-05/0.1976, allocations: 19.92 kB / 1.463 GB, free: 5.215 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.361e-05/0.1976, allocations: 12 kB / 1.463 GB, free: 5.203 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.1977, allocations: 4 kB / 1.463 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.1977, allocations: 15.92 kB / 1.463 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.278e-05/0.1978, allocations: 0 / 1.463 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.1981, allocations: 159.7 kB / 1.463 GB, free: 5.027 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.1982, allocations: 11.97 kB / 1.463 GB, free: 5.016 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.1982, allocations: 25.7 kB / 1.463 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1983, allocations: 60.09 kB / 1.463 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.1984, allocations: 0 / 1.463 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.1984, allocations: 0 / 1.463 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.1984, allocations: 4 kB / 1.463 GB, free: 4.922 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003636/0.1988, allocations: 343.2 kB / 1.463 GB, free: 4.539 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1988, allocations: 11.97 kB / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.702e-05/0.1989, allocations: 0 / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.964e-05/0.199, allocations: 163 kB / 1.463 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.199, allocations: 4 kB / 1.463 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.199, allocations: 0 / 1.463 GB, free: 4.324 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001148/0.1991, allocations: 41.69 kB / 1.464 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.1992, allocations: 0 / 1.464 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1992, allocations: 4 kB / 1.464 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1992, allocations: 0 / 1.464 GB, free: 4.273 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.897e-05/0.1993, allocations: 15.98 kB / 1.464 GB, free: 4.258 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.1994, allocations: 157.7 kB / 1.464 GB, free: 4.055 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.1997, allocations: 46.5 kB / 1.464 GB, free: 4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.1997, allocations: 16.86 kB / 1.464 GB, free: 3.98 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1998, allocations: 0 / 1.464 GB, free: 3.98 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.1998, allocations: 38.55 kB / 1.464 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.1998, allocations: 0 / 1.464 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006957/0.2005, allocations: 306.3 kB / 1.464 GB, free: 3.582 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.006e-05/0.2006, allocations: 51.41 kB / 1.464 GB, free: 3.52 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.906e-05/0.2006, allocations: 101.8 kB / 1.464 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.188e-05/0.2006, allocations: 25.7 kB / 1.464 GB, free: 3.379 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.278e-05/0.2007, allocations: 88.08 kB / 1.464 GB, free: 3.289 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.2007, allocations: 23.7 kB / 1.464 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2007, allocations: 0 / 1.464 GB, free: 3.266 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.266e-05/0.2008, allocations: 318.8 kB / 1.465 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.546e-05/0.2008, allocations: 15.98 kB / 1.465 GB, free: 2.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.2009, allocations: 4 kB / 1.465 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.505e-05/0.2009, allocations: 16 kB / 1.465 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2009, allocations: 3.938 kB / 1.465 GB, free: 2.906 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001322/0.2011, allocations: 69.73 kB / 1.465 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.2011, allocations: 4 kB / 1.465 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2011, allocations: 4 kB / 1.465 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.2011, allocations: 0 / 1.465 GB, free: 2.824 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.559e-05/0.2012, allocations: 15.98 kB / 1.465 GB, free: 2.809 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.2013, allocations: 8 kB / 1.465 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.2013, allocations: 4.062 kB / 1.465 GB, free: 2.797 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2013, allocations: 4 kB / 1.465 GB, free: 2.793 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.517e-05/0.2014, allocations: 113.8 kB / 1.465 GB, free: 2.672 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.2014, allocations: 4 kB / 1.465 GB, free: 2.668 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001665/0.2016, allocations: 69.66 kB / 1.465 GB, free: 2.598 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2016, allocations: 3.984 kB / 1.465 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2016, allocations: 0 / 1.465 GB, free: 2.594 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.441e-05/0.2017, allocations: 85.11 kB / 1.465 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.2017, allocations: 0 / 1.465 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.163e-05/0.2018, allocations: 0 / 1.465 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.913e-05/0.2018, allocations: 7.984 kB / 1.465 GB, free: 2.484 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001863/0.202, allocations: 148.8 kB / 1.465 GB, free: 2.332 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002084/0.2022, allocations: 246.8 kB / 1.465 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.399e-05/0.2023, allocations: 20.02 kB / 1.465 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.632e-05/0.2023, allocations: 83.22 kB / 1.466 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of Backend: time 7.42e-07/0.2023, allocations: 0 / 1.466 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005344/0.2029, allocations: 127.7 kB / 1.466 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005579/0.2034, allocations: 0.6551 MB / 1.466 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of Templates: time 0.004326/0.2078, allocations: 0.8311 MB / 1.467 GB, free: 348 kB / 0.6042 GB