Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.153/2.153, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001253/0.001253, allocations: 181.4 kB / 326.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.344/2.344, allocations: 205.4 MB / 0.5772 GB, free: 20.77 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.000901/0.0009009, allocations: 96.25 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004663, allocations: 15 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1897, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck): time 0.001387/0.1912, allocations: 0.9971 MB / 0.9005 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1923, allocations: 0.5661 MB / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.1923, allocations: 0 / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.498e-05/0.1923, allocations: 0 / 0.901 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.22e-05/0.1924, allocations: 4 kB / 0.901 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.193, allocations: 120.5 kB / 0.9012 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.317e-05/0.1931, allocations: 19.92 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.1932, allocations: 7.938 kB / 0.9012 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/0.1932, allocations: 7.984 kB / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.921e-05/0.1933, allocations: 3.938 kB / 0.9012 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.352e-05/0.1933, allocations: 4 kB / 0.9012 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006212/0.1939, allocations: 339.3 kB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.051e-05/0.194, allocations: 4 kB / 0.9015 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.194, allocations: 29.7 kB / 0.9016 GB, free: 63.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1942, allocations: 100.1 kB / 0.9016 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1942, allocations: 0 / 0.9016 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.695e-06/0.1943, allocations: 0 / 0.9016 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.1943, allocations: 3.938 kB / 0.9016 GB, free: 63.31 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.0003596/0.1946, allocations: 351.4 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.1947, allocations: 8.031 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.342e-05/0.1947, allocations: 0.9375 kB / 0.902 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.843e-05/0.1948, allocations: 176.3 kB / 0.9022 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.1948, allocations: 4.375 kB / 0.9022 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.1949, allocations: 384 / 0.9022 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.195, allocations: 50.17 kB / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.018e-06/0.195, allocations: 192 / 0.9022 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.195, allocations: 3.938 kB / 0.9022 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.1951, allocations: 0 / 0.9022 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.436e-05/0.1951, allocations: 8 kB / 0.9022 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.1953, allocations: 161.6 kB / 0.9024 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002051/0.1955, allocations: 42.61 kB / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.1955, allocations: 24.88 kB / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1956, allocations: 0 / 0.9024 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.1956, allocations: 34.56 kB / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.1956, allocations: 0 / 0.9025 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0006617/0.1963, allocations: 310.2 kB / 0.9028 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.706e-05/0.1963, allocations: 51.41 kB / 0.9028 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.529e-05/0.1964, allocations: 101.8 kB / 0.9029 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.1964, allocations: 25.7 kB / 0.9029 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.86e-05/0.1964, allocations: 80.14 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.912e-05/0.1965, allocations: 31.62 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1965, allocations: 0 / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.319e-05/0.1965, allocations: 318.8 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.242e-05/0.1966, allocations: 4 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.245e-05/0.1966, allocations: 19.98 kB / 0.9034 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/0.1967, allocations: 12 kB / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1967, allocations: 0 / 0.9034 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001232/0.1968, allocations: 73.66 kB / 0.9035 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1968, allocations: 13.5 kB / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1969, allocations: 80 / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1969, allocations: 0 / 0.9035 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.197, allocations: 8 kB / 0.9035 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.197, allocations: 3.984 kB / 0.9035 GB, free: 61.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.753e-05/0.197, allocations: 4 kB / 0.9035 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.197, allocations: 4 kB / 0.9035 GB, free: 61.16 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 5.946e-05/0.1971, allocations: 109.8 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.1971, allocations: 11.92 kB / 0.9036 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.1973, allocations: 69.59 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.1973, allocations: 0.5156 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1973, allocations: 0 / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.1974, allocations: 89 kB / 0.9038 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.692e-05/0.1974, allocations: 4 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.876e-05/0.1975, allocations: 4 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.811e-05/0.1975, allocations: 4 kB / 0.9038 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001849/0.1977, allocations: 148.9 kB / 0.9039 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002118/0.198, allocations: 247 kB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.341e-05/0.198, allocations: 20.02 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.328e-05/0.198, allocations: 83.34 kB / 0.9042 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of Backend: time 7.01e-07/0.1981, allocations: 4 kB / 0.9042 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006359/0.1987, allocations: 154.3 kB / 0.9044 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004975/0.1992, allocations: 0.6579 MB / 0.905 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of Templates: time 0.004495/0.2037, allocations: 1.196 MB / 0.9062 GB, free: 58.29 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.sim & ./Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck.pipe 2>&1)