Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.406/1.406, allocations: 252 MB / 268 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 177.6 kB / 327.6 MB, free: 2.09 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.593/1.593, allocations: 205.4 MB / 0.5786 GB, free: 20.47 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007902/0.0007903, allocations: 94.78 kB / 0.6832 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.0003331, allocations: 12.41 kB / 0.7976 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.192/0.1924, allocations: 106.3 MB / 0.9015 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.00124/0.1937, allocations: 1.017 MB / 0.9024 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008945/0.1946, allocations: 0.6125 MB / 0.903 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.1946, allocations: 4 kB / 0.9031 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.725e-05/0.1947, allocations: 3.984 kB / 0.9031 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.1947, allocations: 3.938 kB / 0.9031 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005618/0.1953, allocations: 139.5 kB / 0.9032 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.461e-05/0.1953, allocations: 19.94 kB / 0.9032 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.809e-05/0.1954, allocations: 3.984 kB / 0.9032 GB, free: 62 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.358e-05/0.1954, allocations: 15.92 kB / 0.9032 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.1955, allocations: 15.92 kB / 0.9032 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1955, allocations: 4 kB / 0.9032 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004421/0.196, allocations: 347.3 kB / 0.9036 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.306e-05/0.196, allocations: 4 kB / 0.9036 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.262e-05/0.196, allocations: 41.62 kB / 0.9036 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.1962, allocations: 100.1 kB / 0.9037 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1962, allocations: 0 / 0.9037 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.1962, allocations: 0 / 0.9037 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.1962, allocations: 0 / 0.9037 GB, free: 61.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003466/0.1966, allocations: 369.5 kB / 0.9041 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1966, allocations: 8.031 kB / 0.9041 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.1967, allocations: 8.938 kB / 0.9041 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.573e-05/0.1968, allocations: 164.4 kB / 0.9042 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.1968, allocations: 384 / 0.9042 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1968, allocations: 12.28 kB / 0.9043 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.1969, allocations: 50.19 kB / 0.9043 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.197, allocations: 192 / 0.9043 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.197, allocations: 3.938 kB / 0.9043 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.197, allocations: 0 / 0.9043 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.541e-05/0.197, allocations: 19.98 kB / 0.9043 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/0.1972, allocations: 169.7 kB / 0.9045 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.988e-05/0.1973, allocations: 58.55 kB / 0.9045 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.1973, allocations: 28.86 kB / 0.9046 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1974, allocations: 0 / 0.9046 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.1974, allocations: 38.5 kB / 0.9046 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.1974, allocations: 0 / 0.9046 GB, free: 60.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0009917/0.1984, allocations: 0.5995 MB / 0.9052 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.15e-05/0.1984, allocations: 51.41 kB / 0.9052 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.249e-05/0.1985, allocations: 101.8 kB / 0.9053 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.638e-06/0.1985, allocations: 25.7 kB / 0.9054 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.64e-05/0.1985, allocations: 92.12 kB / 0.9055 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.1985, allocations: 35.45 kB / 0.9055 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.638e-06/0.1986, allocations: 0 / 0.9055 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.467e-05/0.1986, allocations: 318.8 kB / 0.9058 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.528e-05/0.1986, allocations: 19.98 kB / 0.9058 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.13e-05/0.1987, allocations: 23.98 kB / 0.9058 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.607e-05/0.1988, allocations: 55.98 kB / 0.9059 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.41e-07/0.1988, allocations: 0 / 0.9059 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001183/0.1989, allocations: 105.5 kB / 0.906 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1989, allocations: 11.98 kB / 0.906 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1989, allocations: 0 / 0.906 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1989, allocations: 3.984 kB / 0.906 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.997e-05/0.199, allocations: 24 kB / 0.906 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1991, allocations: 0 / 0.906 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.1991, allocations: 0 / 0.906 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.1991, allocations: 4 kB / 0.906 GB, free: 58.81 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.1992, allocations: 121.7 kB / 0.9061 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.421e-05/0.1992, allocations: 11.84 kB / 0.9062 GB, free: 58.67 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.1994, allocations: 105.6 kB / 0.9063 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.1994, allocations: 0 / 0.9063 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1994, allocations: 0 / 0.9063 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1994, allocations: 3.984 kB / 0.9063 GB, free: 58.55 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003037/0.1997, allocations: 358.4 kB / 0.9066 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1997, allocations: 0 / 0.9066 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/0.1998, allocations: 19.98 kB / 0.9066 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.1998, allocations: 0 / 0.9066 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.1998, allocations: 12 kB / 0.9066 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1998, allocations: 0 / 0.9066 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1999, allocations: 0 / 0.9066 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001852/0.2, allocations: 223.2 kB / 0.9068 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.89e-05/0.2001, allocations: 81.14 kB / 0.9069 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.2001, allocations: 0 / 0.9069 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.377e-05/0.2002, allocations: 4.094 kB / 0.9069 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.2002, allocations: 11.92 kB / 0.9069 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.2002, allocations: 8.062 kB / 0.9069 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.719e-05/0.2002, allocations: 79.28 kB / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2002, allocations: 0 / 0.907 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002478/0.2005, allocations: 39.92 kB / 0.9071 GB, free: 57.64 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001751/0.2007, allocations: 124.1 kB / 0.9072 GB, free: 57.51 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.2008, allocations: 71.84 kB / 0.9072 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2008, allocations: 0 / 0.9072 GB, free: 57.44 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.969e-05/0.2009, allocations: 36.03 kB / 0.9073 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.2011, allocations: 10.67 kB / 0.9073 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.2016, allocations: 369.5 kB / 0.9076 GB, free: 57 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.2017, allocations: 0.6848 MB / 0.9083 GB, free: 56.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.2017, allocations: 23.38 kB / 0.9083 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of SimCode: time 3.6e-07/0.2017, allocations: 0 / 0.9083 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.00233/0.2041, allocations: 1.12 MB / 0.9094 GB, free: 55.16 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2.pipe 2>&1)