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.345/1.345, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009669/0.0009668, allocations: 174.4 kB / 326.5 MB, free: 2.676 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.536/1.536, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007222/0.0007223, allocations: 89.72 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003224, allocations: 10.31 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1912, allocations: 105.4 MB / 0.8967 GB, free: 68.16 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2): time 0.001248/0.1925, allocations: 1.014 MB / 0.8977 GB, free: 67.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008961/0.1935, allocations: 0.6361 MB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.1935, allocations: 0 / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.874e-05/0.1935, allocations: 3.938 kB / 0.8984 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.286e-05/0.1936, allocations: 4 kB / 0.8984 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.194, allocations: 139.5 kB / 0.8985 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.032e-05/0.1941, allocations: 23.92 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.466e-05/0.1941, allocations: 4 kB / 0.8985 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.121e-05/0.1941, allocations: 11.92 kB / 0.8985 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.1942, allocations: 15.92 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1942, allocations: 4 kB / 0.8985 GB, free: 66.3 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003783/0.1946, allocations: 339.3 kB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.1946, allocations: 15.97 kB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.278e-05/0.1947, allocations: 11.94 kB / 0.8989 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1948, allocations: 108 kB / 0.899 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1948, allocations: 0 / 0.899 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1948, allocations: 0 / 0.899 GB, free: 65.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.1948, allocations: 0 / 0.899 GB, free: 65.83 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.0003132/0.1952, allocations: 363.4 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.1952, allocations: 8.031 kB / 0.8994 GB, free: 65.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.206e-05/0.1952, allocations: 4.938 kB / 0.8994 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.877e-05/0.1953, allocations: 160.4 kB / 0.8995 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.1953, allocations: 8.375 kB / 0.8995 GB, free: 65.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.362e-05/0.1954, allocations: 8.281 kB / 0.8995 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001057/0.1955, allocations: 54.12 kB / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.1955, allocations: 4.172 kB / 0.8996 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.1955, allocations: 7.938 kB / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1955, allocations: 0 / 0.8996 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.1956, allocations: 15.98 kB / 0.8996 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001265/0.1957, allocations: 165.7 kB / 0.8998 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.573e-05/0.1958, allocations: 66.61 kB / 0.8998 GB, free: 64.83 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.467e-05/0.1958, allocations: 28.84 kB / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.1959, allocations: 0 / 0.8999 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.782e-05/0.1959, allocations: 38.5 kB / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.102e-06/0.1959, allocations: 0 / 0.8999 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11): time 0.0009153/0.1968, allocations: 0.5994 MB / 0.9005 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.343e-05/0.1969, allocations: 51.41 kB / 0.9005 GB, free: 64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.476e-05/0.1969, allocations: 97.86 kB / 0.9006 GB, free: 63.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.1969, allocations: 25.7 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.546e-05/0.1969, allocations: 84 kB / 0.9007 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-05/0.197, allocations: 39.45 kB / 0.9008 GB, free: 63.74 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.197, allocations: 25.83 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.153e-05/0.1971, allocations: 314.8 kB / 0.9011 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.365e-05/0.1971, allocations: 23.98 kB / 0.9011 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.008e-05/0.1972, allocations: 22.36 kB / 0.9011 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.353e-05/0.1973, allocations: 52.86 kB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1973, allocations: 0 / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001109/0.1974, allocations: 105.5 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/0.1974, allocations: 8 kB / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1974, allocations: 0 / 0.9013 GB, free: 63.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1974, allocations: 7.984 kB / 0.9013 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.292e-05/0.1975, allocations: 24 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1975, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.1976, allocations: 0 / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.1976, allocations: 4 kB / 0.9013 GB, free: 63.14 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.112e-05/0.1976, allocations: 117.8 kB / 0.9014 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.392e-05/0.1976, allocations: 11.84 kB / 0.9014 GB, free: 63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001558/0.1978, allocations: 101.6 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1978, allocations: 11.98 kB / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/0.1978, allocations: 0 / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1978, allocations: 0 / 0.9016 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.1981, allocations: 354.4 kB / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1981, allocations: 0 / 0.9019 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.682e-05/0.1982, allocations: 19.98 kB / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1983, allocations: 0 / 0.9019 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1983, allocations: 8 kB / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1983, allocations: 0 / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.1983, allocations: 0 / 0.9019 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.1985, allocations: 225.9 kB / 0.9021 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.1985, allocations: 81.14 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1985, allocations: 96 / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.323e-05/0.1986, allocations: 11.94 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/0.1986, allocations: 3.984 kB / 0.9022 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.1986, allocations: 7.938 kB / 0.9022 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.747e-05/0.1987, allocations: 83.34 kB / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1987, allocations: 0 / 0.9023 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002407/0.1989, allocations: 35.94 kB / 0.9024 GB, free: 61.98 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.0001792/0.1991, allocations: 135.2 kB / 0.9025 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001164/0.1992, allocations: 67.84 kB / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1992, allocations: 0 / 0.9025 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.867e-05/0.1993, allocations: 35.94 kB / 0.9026 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.1995, allocations: 0.6562 kB / 0.9026 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004455/0.1999, allocations: 328.9 kB / 0.9029 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.2001, allocations: 0.6926 MB / 0.9036 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.2001, allocations: 15.44 kB / 0.9036 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2001, allocations: 0 / 0.9036 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of Templates: time 0.002205/0.2023, allocations: 1.124 MB / 0.9047 GB, free: 59.54 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)